fsync()-in webdav PUT

Reinis Rozitis r at roze.lv
Sun Mar 4 11:45:02 UTC 2018


> That's what really kills performance, because of the async nature of
> nginx. That's why I'm proposing an option to do the fsync at the end of
> the PUT (or maybe even the whole operation) in a thread(pool).

Then again this way you make it again "asynchronous" (since it is/could be waiting in some thread/pool (forever)).

In general this whole thing reminds me of Linus rant about how ".. the only reason O_DIRECT exists is because database people are too used to it" ..

rr



More information about the nginx mailing list