is there any way of being notified asynchronously when data written to
a file (using the fs.write posix system call) is actually flushed from
the kernel buffers and persisted to the disk? the only way i can see
of doing this is by using writeSync or opening the file with the
O_SYNC flag and using write. if i was writing a database system on
node.js i would need to know when the data has actually hit the disk
but don't want to use the sync methods as they block the whole process
until they return...
Thanks
Regards,
Kapil
> --
> You received this message because you are subscribed to the Google Groups "nodejs" group.
> To post to this group, send email to nod...@googlegroups.com.
> To unsubscribe from this group, send email to nodejs+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/nodejs?hl=en.
>
>
my scenario is basically to have multiple files being written
concurrently at very high transaction rates with as little latency as
possible and am trying to figure out best way to do so...
Regards,
Kapil