Open psc0606 opened 6 years ago
@manolama
Depends on you write. If it's via the HTTP API make sure to set the sync flag and it will let you know what results have succeeded or failed. If you're using the JAVA API make sure to attach a callback and it will let you know when it's been committed to storage.
backgroud: About 3.5w points per seconds have to be written to opentsdb, so I aggregates those points in memory and write aggregated results(may still have same points though I have aggregated) to opentsdb by multi clients. How to ensure the same points to be written correctly?
In order to do that, query the point to decide exits whether or not, then accumulate, write at last?