Popularity
1.0
Stable
Activity
0.0
Stable
2
3
0

Monthly Downloads: 8
Programming language: Elixir
License: MIT License

count_buffer alternatives and similar packages

Based on the "Algorithms and Data structures" category.
Alternatively, view count_buffer alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of count_buffer or a related project?

Add another 'Algorithms and Data structures' Package

README

count_buffer

buffer a large set of counters and flush periodically.

api

name = :my_counters
size = 128
flush = fn(bucket, key, count) ->
  ## persist your counts here
end
CountBuffer.start(name, size, flush)

bucket = "page_views"
key = "index.html"

CountBuffer.increment(name, bucket, key)
CountBuffer.increment(name, bucket, key, 10)