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

Implement cache invalidation on the front-end #22

Open
jkoshy opened this issue Jun 2, 2011 · 0 comments
Open

Implement cache invalidation on the front-end #22

jkoshy opened this issue Jun 2, 2011 · 0 comments
Assignees
Labels
Milestone

Comments

@jkoshy
Copy link
Contributor

jkoshy commented Jun 2, 2011

Once support for adding incremental changes to the data store is added (see #14, osmChange support to the dbmgr tool), we would need a way to invalidate 'stale' entries from the caches maintained inside the front-end servers.

A (too simple) solution could be to have the front-ends periodically reset their caches, for example by reading a 'generation count' of some kind from the data store at regular intervals and resetting their caches if this count has changed. Such an approach would however be wasteful because updates to the data store are likely to be frequent (once a minute with the Minutely Mapnik process), but with each update only touching a very small number of elements.

@ghost ghost assigned jkoshy Jun 2, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant