2 ms·
It's never "impossible" to avoid disk writes. I'm assuming it's running on Linux, and in that case you could simply log to a shm mount. Since Linux is file-base
by nso 13y ago
It's never "impossible" to avoid disk writes. I'm assuming it's running on Linux, and in that case you could simply log to a shm mount. Since Linux is file-based, it really doesn't care what medium it stores the file on.
Ofc. you'll have to handle a couple of potential pitfalls, like running out of shm, but I think this should be much easier than ditching nginx altogether. Linux was made for hacking, so hack away.