4 ms·
Another good reason to have your blog be static pages compiled and served from FS. Worse is better.
by hkjgkjy 10y ago
Another good reason to have your blog be static pages compiled and served from FS. Worse is better.
- __s 10y agoIf by FS you mean File System then the truth is that keeping static files in RAM to never touch hard drive beyond first load is much better
- em3rgent0rdr 10y agoI would think OS would keep the static files in RAM after first load. Saying "FS" would imply "use RAM if available" even if not stated.
- CuriousSkeptic 10y agoI might be wrong here, but I think you need your data in kernel memory (fs cache f.ex) to leverage zero copy I/O. Putting things in your process heap would then be counter productive. Beside there are things doing just that for you. Like varnish.
- hkjgkjy 10y agoSkipping the whole operating system would indeed be an optimization in a way