Skip to content

deepmarker/ocaml-kx

Repository files navigation

ocaml-kx

Introduction

This library interfaces OCaml to kdb+/q from Kx Systems, the world’s fastest time-series database.

Kdb+ mostly is an interpreter for the q language, with an associated runtime able to seamlessly store data in memory or on disk.

The interface is done through Kdb+ IPC protocol. OCaml <-> Kdb+ type conversion is done through encodings, which are OCaml values representing q's datatypes.

Functions are then provided to, through so-called encoders and decoders, convert OCaml values to corresponding q values, enabling exchanging data between Kdb+ and an OCaml program.

Dependencies

  • The parsing and printing of q IPC is done with Angstrom and Faraday.

  • Jane Street's Async is used (in a separate module) to handle connectivity to a Kdb+ database.

About

OCaml client for kdb+

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published