Conversation
Added json extenstion to etags for json pages
Contributor
Author
|
Superseded by #1213 |
danbri
added a commit
that referenced
this pull request
Jun 17, 2016
Ndbpagestore into Makemake Copying notes from #1173 In response to issue (#1171) Overview: Previously created pages are held in a within instance memory cache that is shared between threads. This means that each page is recreated for each application instance. We previously noted that the live site spawned off dozens of instances to support the load, This version uses the Cloud Datastore to hold cached pages. The single NDB store is shared between all threads of all instances. Should result in a lot less page creations, and more importantly you having to wait for a new instance to create you a page. The NDB store is persistent so will keep the page store even when you reload/deploy a new version of the code/data. Implemented code that detects this condition and deletes all pages in the store as it starts. For early supporting there is a way to manually call this caheFlush function.
Contributor
Author
|
Reopening to enable applying to master |
Contributor
|
Ok, 2nd time was successful. I had to hunt for the settings to enable datastore writes in schema.org version of the site. For reference that is found via https://cloud.google.com/appengine/docs/python/console/managing-datastore |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In response to issue (#1171)
Overview:
If successful a similar approach should be considered for the underlying RDF data.