3 ms·
They don't seem to have anticipated that people would want to simply browse the plans, rather than immediately sign up. The only variables that go into a quote
by DennisP 13y ago
They don't seem to have anticipated that people would want to simply browse the plans, rather than immediately sign up.
The only variables that go into a quote are location, smoking status, and age. My state is divided into a little over a dozen distinct locations.
Given the limited variables, plans and rates could have been put into static files on nginx servers, and served huge traffic with ease, especially if you add a CDN so most requests don't even hit the servers.
Add a little javascript at the front to determine which files to pull, plus a bit to calculate subsidies based on income, and you're done. You don't have to hit databases until someone's actually signing up.