News for hackers. Stuff that matters.
Re:Healthcare.gov technology stack (infographic) by patrickg_zill on Wednesday October 30, 2013 @02:41PM (#6642302)
A friend analyzed the page and noted that they didn't minify or combine anything.

"One obvious reason is that they're serving unminified and unconcatenated Javascript and CSS files. A single page load causes 92 requests to the server, and they're not using a CDN for any of that.

They're also not setting the Cache-Control and Expires headers, so the browser isn't caching many of those files, including on 80k file full of response strings.

For the non-technical, this means the site is essentially killing itself. An optimized and properly tuned production website would load one (1) HTML document, one (1) CSS document, and one (1!) JS document, they're loading 92. "

Re:Healthcare.gov technology stack (infographic) by thejerz on Wednesday October 30, 2013 @02:49PM (#6642362)
While that is an egregious amount of requests, it's not the reason the site is broken. Based on my experience as a user and poking around quickly in Firebug, the issues are largely server-side.
Re:Healthcare.gov technology stack (infographic) by danielweber on Wednesday October 30, 2013 @03:32PM (#6642710)
Yeah, people bitch about client-side because it's what they can see. But they are mostly just dumb inefficiencies that are easily fixed. (And if you were doing a sane rollout, you wouldn't be worrying about this stuff because you only have 10K users at once. Save the minifying for later.)
Re:Healthcare.gov technology stack (infographic) by patrickg_zill on Wednesday October 30, 2013 @02:56PM (#6642415)
True, it is just an additional data point. You have to wonder, if they can't minify their JS or even run the pages through the Yahoo YSlow tool, what is the quality of the backend?
Re:Healthcare.gov technology stack (infographic) by outside1234 on Wednesday October 30, 2013 @03:00PM (#6642462)
I think we really don't have to wonder at this point.
Re:Healthcare.gov technology stack (infographic) by ssmoot on Wednesday October 30, 2013 @03:04PM (#6642490)
I seriously doubt that the static content performance of NGinx (or whatever) has anything to do with performance issues. They're probably spending more money on bandwidth than they need to, and offer a slightly degraded user experience, especially for people on slower connections, but otherwise...

Things may have changed since October 1st, but on second page load of the home-page, I'm seeing the majority of content as either cached or served by CDN, a relatively small functional payload compared to a lot of HN darlings, and an 79ms latency for the main request.

None of that is really alarming IMO.

Even so, half these assets are trackers and 3rd party resources that would probably be CDNed externally. If storage IO and bandwidth isn't your limit (and internally the URLs could easily be routed to different servers entirely as well as caching proxies), then it's pretty plausible that there's practically nil overall performance impact as far as service availability goes.

Also, I think the whole "you should only use one of each type of asset" philosophy is debatable at least.

Re:Healthcare.gov technology stack (infographic) by ngcazz on Wednesday October 30, 2013 @02:52PM (#6642383)
Although I do agree with your final point, serving static files is no issue for modern web servers.
[deleted]
Re:Healthcare.gov technology stack (infographic) by WalterSear on Wednesday October 30, 2013 @02:54PM (#6642401)
It is, however more than just a smell: a front end of such an egregious turditude doesn't just uninspire confidence in any of the system - these poor practices demonstrate that whoever is in charge of the checks and balances hasn't done their job.
Re:Healthcare.gov technology stack (infographic) by evan_ on Wednesday October 30, 2013 @02:51PM (#6642374)
True, but it's not like minifying and serving from a CDN will make anything worse, and it could improve things quite a bit.