Rename Fluxter.Batch
lexmag opened this issue · comments
Aleksei Magusev commented
I think it conveys incorrect meaning: collect several writes, not aggregate them into one.
@whatyouhide do you have any naming ideas? Fluxter.Total
could work.
Andrea Leopardi commented
I don't like Fluxter.Total
personally as it doesn't say much on "total" of what, or how this "total" is calculated. Maybe something like Fluxter.LocalCounter
? I'd like to try to convey the idea that 1. it's only for integers 2. it sums them and 3. it doesn't talk to InfluxDB until "flushed".
Andrea Leopardi commented
Let's go with Fluxter.Counter
and MyApp.Fluxter.start_counter
, MyApp.Fluxter.increment_counter
, MyApp.Fluxter.flush_counter
.
Aleksei Magusev commented
Closing in favor of the PR #10.