Did not have a look yet at how works libuv and eio, I'm more from the
JavaScript side, it's years I haven't look seriously at some C/C++.

Any help to do it as a module, any track to start, is very welcome :)

Cheers,
Florian

2012/3/1 Brandon Philips <brandon.phil...@rackspace.com>

> 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 nodejs@googlegroups.com
> > To unsubscribe from this group, send email to
> > nodejs+unsubscr...@googlegroups.com
> > 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 nodejs@googlegroups.com
> To unsubscribe from this group, send email to
> nodejs+unsubscr...@googlegroups.com
> 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 nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to