Hi everyone :) I'd like to know the best way to get and store filesystem extended attributes ( http://linux.die.net/man/2/getxattr ) from a nodejs webserver which only retrieves and stores files with a high throughput according to a rest api, so I/O is very important here, and handling the biggest number of request (and as quick as possible, of course, but it's yet a bit less important) is the main goal to achieve.
I haven't seen anything for this in "fs" module, and I did not find after a quick search a relevant module on npm. I guess running "getfattr" (http://linux.die.net/man/1/getfattr) and parse output will not scale and will be pretty slow. I think that making a nodejs addon would work pretty well, but I have never written any, and it seems to be a synchronous call... So, I just don't know if I should set a synchronous api on top of it, or try to write an asynchronous one, and if so, how I should write it, in order to achieve the best performance ? Cheers, Florian -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
