Oddbean new post about | logout
 @ddc3da8f 

thats why you run redis in a high availibility cluster itself... To create high availibility servers all your services need to be capable and running in high availiblity mode as well (usually means multiple servers all staying in sync somehow)

@90991173 
â–² â–¼
 @b05df304 @ddc3da8f and we are back to Erlang/OTP and distributed Mnesia, never understood how someone can name data storage system like this :-) 
â–² â–¼
 @90991173 @b05df304

PHP session cookie is the worst shit concept I have ever seen in my life 😎 
â–² â–¼
 @90991173 @b05df304

I have seen PHP session problem solutions like MySQL storage, Redis, NFS, rsync and Syncthing.... 😂 all the worst nightmares possible 🙆 
â–² â–¼
 @90991173 @b05df304

authentication should be baked into Auth cookie, encrypted, protected

session data should be in local storage and sent when needed as an encrypted object 
â–² â–¼
 @b05df304 @90991173

high availability hell 😂

then you migrate everything to Cloudflare and pay $200 a month from Bali 
â–² â–¼
 @b05df304 @90991173

There are only 3 important hard problems to solve in IT.

1. Correct addition and subtraction of 1.
2. Cache management.