Pay is currently sufficiently high that you could, with a sufficiently frugal lifestyle and prudent investment habits, go from zero to millionaire in that time period. Being a millionaire isn't what it used to be, but that would provide one hell of a buffer should you find yourself laid off after 15 years.
Think of it like this. If your total compensation over that period averages $150k, that's about $7.7k/month net in CA, $8.8k in WA. If you can invest $4k of that per month at a conservative 4% annual return, you'll have $1M in 15 years; about $1.2M if your return is 6%; and about $1.4M if your return is 8%.
This is all assuming that you have don't marry a spouse during that period who is also earning an income and helping boost those savings.
This is just a back of the envelope calculation, but my main point is that if you're dedicated to the task and you work hard, you can create for yourself a very strong safety buffer over the course of a 15 year career in the technology industry. $1M is almost enough to retire off of if you were to move to a rural area of the country and continued to live frugally--health insurance would be your most costly concern.