TE
TechEcho
Home
24h Top
Newest
Best
Ask
Show
Jobs
English
GitHub
Twitter
Home
Ask HN: How do I automatically write to DB when App Engine memcached is about to expire?
2 points
by
noaharc
about 16 years ago
I think the only way to do it may be through periodic updates, but that strikes me as inelegant and, depending on the situation, error-prone.
1 comment
wmf
about 16 years ago
Collapse
I think treating the memcache as a writeback cache is the wrong model since the memcache could lose data at any time due to failure. You should probably write to the database at the same time you write to the memcache.
评论 #582074 未加载