Hello:
I am new to Nginx NJS, and I want to write a website with NJS.
I want to write a simple JSON database with NJS fs.writeFileSync ,just like
Node.js LowDB.
but I have no idea . Does NJS fs.writeFileSync is atomic writing and race
condition prevention ?
If NJS fs.writeFileSync is NOT atomic writing, it can NOT be treate as a
normal database file write.
Thank you !
--
--------------------------------------------------------------------
Heng
---------------------------------------------------------------------
--
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel