Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The bit about being hosted on SSDs is silly. I could host that site in unused registers of my CPU.


Oh, I think he just added that one so he could sneak in his affiliate link.


What? No you couldn't. The site html is 11092 bytes, so you'd need to have 1,387 unused 64-bit registers to host the site.


was thinking exactly this, keep loaded in mem for the duration of the server's lifetime. Not too familiar with HTTP2 but could you cache the compressed packet and reuse with minor modification to the headers when needed to speed up the communication?


Preformatted payload can be a big win for page speed, especially if your payload cannot vary based on request headers, or has only a few variants.

A special case of preformatted response used to be baked into microsoft IIS. If you connected to an address that could only redirect to another address, IIS wouldn't even wait for the request, it would just send the 302 response and hang up. This, it turns out, was not really compatible with Mozilla at the time, and may have violated some RFCs, but I kind of liked it as a hack.


Not familiar either, but that's an amazing idea




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: