Open Ali-Mousa-CK opened 6 years ago
Any idea how to make it more real time ?
How much time does it take between writing and reading for your data?
will seconds ?
I'm not sure what the write to read latency in Bigtable is but by default, the TSD will batch data for up to 1 second before flushing it to storage. Is that what you're seeing?
I've just experienced (on an otherwise unused test instance) OpenTSDB buffering a handful of writes over the weekend, only pushing to Bigtable once I restarted OpenTSDB two days later. This is a minimal configuration, and starting from truncated tables, which were still empty prior to the restart.
I see there's a config setting tsd.storage.flush_interval
with a default of 1000, but AFAICT, it's not actually used?
@mjb512 You're right, that setting doesn't seem to be used in the AsyncBigtable client. It looks like there have been a few good patches to the client lately so I'll try to get a patch in to use the latest client.
I'm trying to use OpenTSDB against big table, but it it takes time show the last emitted point.
Here is my config