44This library makes it easy to insert data into [ QuestDB] ( https://questdb.io/ ) .
55
66This client library implements the [ InfluxDB Line Protocol] (
7- https://questdb.io/docs/reference/api/ilp/overview/ ) (ILP) over TCP.
7+ https://questdb.io/docs/reference/api/ilp/overview/ ) (ILP) over TCP or HTTP .
88
99* Implementation is in Rust, with no additional
1010 [ run-time or link-time dependencies] ( doc/BUILD.md#pre-requisites-and-dependencies )
@@ -16,21 +16,21 @@ https://questdb.io/docs/reference/api/ilp/overview/) (ILP) over TCP.
1616
1717## Insertion Protocols Overview
1818
19- Inserting data into QuestDB can be done via one of three protocols.
19+ Inserting data into QuestDB can be done in several ways.
20+
21+ This library supports ILP/HTTP (default-recommended) and ILP/TCP (specific
22+ streaming use cases).
2023
2124| Protocol | Record Insertion Reporting | Data Insertion Performance |
2225| -------- | -------------------------- | -------------------------- |
23- | [ ILP] ( https://questdb.io/docs/reference/api/ilp/overview/ ) | Errors in logs; Disconnect on error | ** Best** |
26+ | ** [ ILP/HTTP] ( https://questdb.io/docs/reference/api/ilp/overview/ ) ** | Transaction-level (on flush) | ** Excellent** |
27+ | [ ILP/TCP] ( https://questdb.io/docs/reference/api/ilp/overview/ ) | Errors in logs; Disconnect on error | ** Best** (tolerates higher latency networks) |
2428| [ CSV Upload via HTTP] ( https://questdb.io/docs/reference/api/rest/#imp---import-data ) | Configurable | Very Good |
2529| [ PostgreSQL] ( https://questdb.io/docs/reference/api/postgres/ ) | Transaction-level | Good |
2630
27- This library implements the ** ILP protocol** and mitigates the lack of confirmation
28- and error reporting by validating data ahead of time before any data is sent
29- to the database instance.
30-
31- For example, the client library will report that a supplied string isn't encoded
32- in UTF-8. Some issues unfortunately can't be caught by the library and require
33- some [ care and diligence to avoid data problems] ( doc/CONSIDERATIONS.md ) .
31+ Server errors are only reported back to the client for ILP/HTTP.
32+ See the [ flush troubleshooting] ( doc/CONSIDERATIONS.md ) docs for more details on
33+ how to debug ILP/TCP.
3434
3535For an overview and code examples, see the
3636[ ILP page of the developer docs] ( https://questdb.io/docs/develop/insert-data/#influxdb-line-protocol ) .
0 commit comments