{"repo":"mfreeman451/proton-ocaml-driver","free":true,"listed":false,"github":"https://github.com/mfreeman451/proton-ocaml-driver","clone":"git clone https://github.com/mfreeman451/proton-ocaml-driver.git","description":"🐪 An OCaml driver for Timeplus Proton timeseries streaming database","language":"OCaml","stars":13,"topics":["ocaml-library","timeplus","clickhouse-client","clickhouse","ocaml"],"license":"MIT","category":"databases-storage","readme_excerpt":"🐪 Timeplus Proton OCaml Driver A high-performance, feature-rich OCaml driver for Timeplus Proton - the streaming database built on ClickHouse. Features - Streaming Queries - Process large datasets with constant memory usage - Async Inserts - High-throughput data ingestion with automatic batching - Compression - LZ4 and ZSTD support for reduced network overhead - TLS Security - Secure connections with certificate validation - Connection Pooling - Efficient resource management for high-concurrency applications - Rich Data Types - Full support for ClickHouse types including Arrays, Maps, Enums, DateTime64 - Idiomatic OCaml - Functional API leveraging OCaml's strengths Table of Contents - Quick Start - Parameterized Queries - Streaming Queries - Async Inserts - Data Types - Configuration Options - Real-World Examples - Development Setup - Testing - Docker Environment - TLS Configuration - Contributing - License - Support Quick Start Installation Basic Usage Parameterized Queries Avoid string interpolation by binding values through named placeholders. Placeholders use the syntax {{name}} and are supplied as (string Proton.Column.value) pairs. One-off execution Reusable prepared statements All streaming helpers have with params and prepared variants so you can bind values while folding or iterating over large result sets. Streaming Queries Process arbitrarily large result sets with constant memory usage using OCaml's functional patterns: Fold Pattern - Aggregate Data Iter Pattern ","default_branch":null,"files":null,"tree":[],"storefront":"/r/mfreeman451","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mfreeman451/proton-ocaml-driver/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}