time-seriesreal-time-dataquestdb

Reducing ILP Ingestion Delay in QuestDB


I'm experiencing an issue with ILP ingestion delay. It seems there's a delay of 1-1.5 seconds between when data is supposed to appear in the database and when it actually does. I believe this might be related to some sort of buffering mechanism.

After some research, I found a parameter that seems relevant: cairo.o3.min.lag. Could this be the correct parameter to adjust to reduce the delay? Our workload typically ranges from 1 to 50 events per second, with an average of about 10 events per second.


Solution

  • To address the ingestion delay you're experiencing, adjusting the cairo.o3.min.lag parameter is indeed a step in the right direction. This parameter controls the minimum lag before committing data to the database, with its default set to 1 second. If your goal is to make data appear in the database more quickly, reducing this value can help.

    However, there are a few considerations to keep in mind:

    Testing and monitoring the impact of such changes on your specific environment and workload is highly recommended.