> 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
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx