News for hackers. Stuff that matters.
Re:JWT should not be your default for sessions by stickfigure on Thursday May 13, 2021 @01:07AM (#27138620)
I generally agree with most of what you've said about JWT, but I think it's better retrofitted after you have performance issues.

First pass, just do a database query! Most startups never hit the limits of this approach. It's hard to get simpler.

Second pass, cache the state in memcache. If you're on app engine or heroku or some other paas, you already have it available. Even fewer startups hit this limit.

Third pass, it's time to break out JWT. Congratulations, this is a great problem to have.

There are no comments on this comment yet.