3 ms·
Hmmm, using a database (eg PG) for the authoritative information, with memcached in front sounds like it would be practical for most uses.
by justinclift 10y ago
Hmmm, using a database (eg PG) for the authoritative information, with memcached in front sounds like it would be practical for most uses.
- falcolas 10y agoAt which point you should probably ask yourself: "What value is keeping all of my state inside this token providing me?"
- mwpmaybe 10y agoProbably not. If the Pg instance is replicated, as indicated above, it'll be challenging to keep the Memcached copy in sync. In other words, you can't just use the caching feature of your ORM, you'll need another piece.
- justinclift 10y agoThanks, that does need further thinking about. :)
- deleted 10y ago[deleted]
- cygned 10y agoPostgres is not a good solution for this kind of data. I'd use Redis, but maybe there are even better products.