TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How do I automatically write to DB when App Engine memcached is about to expire?

2 pointsby noaharcabout 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

wmfabout 16 years ago
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 未加载