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 caching support to Gateway #15

Open
trajano opened this issue Oct 18, 2017 · 1 comment
Open

Add caching support to Gateway #15

trajano opened this issue Oct 18, 2017 · 1 comment

Comments

@trajano
Copy link
Owner

trajano commented Oct 18, 2017

If an ETag and Expires was provided by the backend service, store it in the gateway's local cache, the cache does not need to be in a Hazelcast as an in-memory cache will suffice.

@trajano
Copy link
Owner Author

trajano commented Oct 18, 2017

There would need to be caching buckets based on TTL and requests need to check whether the entry had expired or not when it is expired it will call evict to remove it from the cache.

The scanning has to be done on each bucket.

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