Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add API for querying the age of an ets_buffer #30

Open
jaynel opened this issue May 19, 2014 · 0 comments
Open

Add API for querying the age of an ets_buffer #30

jaynel opened this issue May 19, 2014 · 0 comments

Comments

@jaynel
Copy link
Member

jaynel commented May 19, 2014

Currently to get the oldest entry you must list the whole table using history_timestamped. When the buffer is large, this will crash the VM running out of memory. The following functions should be added:

  1. oldest entry (returns entry with timestamp)
  2. newest entry (returns entry with timestamp)
  3. oldest N entries
  4. some sort of histogram of date ranges?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant