--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+u...@googlegroups.com.
To post to this group, send email to redi...@googlegroups.com.
Visit this group at http://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+u...@googlegroups.com.
To post to this group, send email to redi...@googlegroups.com.
Visit this group at http://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.
Itamar Haber | Chief Developers Advocate
Redis Watch Newsletter - Editor and Janitor
Redis Labs - Enterprise-Class Redis for Developers
Mobile: +1 (415) 688 2443
Mobile (IL): +972 (54) 567 9692
Email: ita...@redislabs.com
Skype: itamar.haber
Hi Josiah, thanks for the response !
Like I wrote in the "Motivation" section of the github page, its is definitely possible to do histograms over Redis today by a variety of means with LUA scripts being one of them, however I believe it would benefit the user base to have something like this standardized and added to the core feature set of Redis which can then in turn be relied upon by the client libraries to provide a high-level histogram API to applications and services.
I also think that having these commands implemented natively is optimal from performance, memory usage and complexity standpoints - no LUA overhead, one key per histogram, the entire histogram is of fixed size once created and contiguous in memory, multiple samples can be added with one command.
Regarding having this in 2.x, I don't see why this would be a problem as adding the proposed commands will leave the API fully backward-compatible and the histograms are implemented over string values so no data compatibility issues are to be expected either, I will add a 2.6/2.8 based branch to the repo if there is interest in this.
On Wednesday, January 28, 2015 at 8:00:44 PM UTC+2, Yevgeny Kurliandchick wrote: