Hey Florian-
I am a maintainer of attr/acl utils[1] and I think it would just be a
matter of linking libattr into the eio stuff in libuv. Should be pretty
straightforward.
I will look at it later if you don't get to it :)
Brandon
[1] http://savannah.nongnu.org/git/?group=attr
On 20:08 Thu 01 Mar 2012, Florian Traverse wrote:
> 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
--
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