"...unless you are operating at the size of Reddit, you will not need 'stateless sessions'." So for the rest of 99% of the technology world, you don't need stateless session because TFA says so.
True dat. What's worse is that I've seen some companies have a strict HR policy of not allowing out-of-band raises unless a physical letter of resignation was received. So some folks would try to negotiate with their front-line managers only to get rebuffed unless they actually resigned. Then they would pour out the counteroffers. None would ever take it in that scenario.
1) Company knows they are going to eliminate a team within XX months. I'd take a huge counter (3x salary) to stay on to help shutdown a project or sell the company. 2-3x salary in these cases are fairly normal when a company gets sold and they just need help transitioning to the new parent company.
2) Company offers a severance package along with it. E.g., we'll give you a salary bump and a 12-month severance if we let you go without cause, within one year.
However, I've been on both sides, and I've offered a counteroffer to anyone who is leaving and I wanted to keep. Any company who doesn't do that probably doesn't have good developers who are constantly getting recruited on LinkedIn.
Here's an actual quote from the article:
"...unless you are operating at the size of Reddit, you will not need 'stateless sessions'." So for the rest of 99% of the technology world, you don't need stateless session because TFA says so.