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

Does a 26MB message actually cause noticeable strain on the server much beyond loading the page? I would think serving a contiguous 26MB chunk would be relatively similar to say 20 normal sized messages.


Way off. I went to an arbitrary message on lore.kernel.org. Firefox's network inspector says 7.37kB was transferred, including stylesheets. 26MB is roughly 3500x 7.37kB.


Data transferred is not what generates load. sendfile() is about the lowest-overhead thing a web server does.




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

Search: