Re:JSON Web Tokens should be avoided
by justinclift on Tuesday March 14, 2017 @09:17AM
(#13867228)
Hmmm, using a database (eg PG) for the authoritative information, with memcached in front sounds like it would be practical for most uses.
[ Parent
| on HN ]
At which point you should probably ask yourself: "What value is keeping all of my state inside this token providing me?"
Probably 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.
Re:JSON Web Tokens should be avoided
by justinclift on Tuesday March 14, 2017 @01:44PM
(#13869716)
Thanks, that does need further thinking about. :)