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

Refactor streaming to allow for match queries #171

Merged
merged 2 commits into from
Feb 19, 2018
Merged

Refactor streaming to allow for match queries #171

merged 2 commits into from
Feb 19, 2018

Conversation

whitfin
Copy link
Owner

@whitfin whitfin commented Feb 19, 2018

This fixes #137 and fixes #152.

This will refactor the streaming API into a more appropriate ETS matching style in order to allow for filtering to be handled by ETS rather than in the Elixir layer. It also now respects the expiration times of entries by default (and thus does not return them).

This is also the final piece in removing Cachex.Util as all query matching has been moved to Cachex.Query.

@whitfin whitfin added this to the v3.0.0 milestone Feb 19, 2018
@whitfin whitfin self-assigned this Feb 19, 2018
@whitfin whitfin merged commit 9b2a81f into master Feb 19, 2018
@whitfin whitfin deleted the issue-137 branch February 19, 2018 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reconsider the cache streaming API Revisit ETS matches to ensure we're being optimal
1 participant