pyr / cyanite

cyanite stores your metrics
http://cyanite.io
Other
446 stars 79 forks source link

Improvement/tickless engine #271

Closed ifesdjeen closed 7 years ago

ifesdjeen commented 7 years ago

This adds a tickless engine, as discussed. This means that metrics are ingested (and inserted into the database) as they come. It's still not a 100% ready branch, I still wanted to improve several things and run some performance benchmarks while I'm at it, but this would be a good point to get the feedback.

Major differences with previous version:

Tests now got much simpler. Also, integrating compression stores might become a bit simpler now, since we keep logic coupled in engine, without any "writer" that ticks once every N seconds.

I would appreciate your thoughts on the patch!