But what happens when the user logs out? The token is still valid 😅
2026-04-25 18:33:58
32
Dylan :
You can store session data in distributed cache like redis then each container reads from cache
2026-04-25 22:45:00
12
zaakir :
Sounds like it’s gna be a security problem then🫡
2026-04-25 20:59:19
3
phackhead :
you mean the thing you can copy paste to any computer and it work... as if a plugin cant take it and stay signed in. not a secure solution
2026-04-28 13:04:12
2
Ousseynou Diagne :
You’re gonna have to store the jwt one way or the other. Otherwise how would logout users properly ?
2026-04-28 06:42:22
1
Eli Orellana :
I was hmm. Oh yes yes sticky sessions.
2026-04-26 18:42:23
0
Benj👽soft :
use sticky sessions
2026-04-26 12:30:52
1
flatcrab :
That was my first thought
2026-04-30 09:12:58
0
That Bókun Guy :
Really learning a lot from your videos in my web development app
2026-05-23 08:29:55
1
orges :
with 1 million users, can't you use a shared redis server?
2026-04-25 22:19:14
3
A :
wait, the load balancer wont route already logged user to different server
2026-05-04 20:16:54
0
Galou Galak :
* really appreciate this format ! Really formative 👍🙏😎
2026-05-17 20:05:48
0
Captain Kirk :
so what does system pen says about that brilliant idea
2026-04-30 14:54:15
0
Frikkie van Biljon :
cache it.
2026-05-11 22:42:13
0
bilal :
this isn't that big of an issue - load balancer break stateful sessions and that's basic knowledge imo for a system design interview. use hello interview!!
2026-04-25 22:41:20
0
guruvpn :
Include in jtw client ip and secret. Bad user cant reuse it. And ttl to make sure it expires automatically
2026-04-26 23:03:13
0
To see more videos from user @sayed.developer, please go to the Tikwm
homepage.