NXWEB - ultra-fast web server based on libev

Zabrane Mickael zabrane3 at gmail.com
Fri Dec 2 11:56:33 CET 2011


Hi Yaroslav,

My first try to compile NxWeb (OSX 10.6.8 + libev4):

nxweb $  make
mkdir -p bin/Release
mkdir -p obj/Release/nxweb
gcc -c -o obj/Release/nxweb/main.o nxweb/main.c -pthread -Wno-strict-aliasing -O2 -s
nxweb/main.c:29:18: error: argp.h: No such file or directory
In file included from nxweb/nxweb_internal.h:30,
                 from nxweb/main.c:35:
nxweb/nxweb.h:30:21: error: obstack.h: No such file or directory
In file included from nxweb/nxweb_internal.h:30,
                 from nxweb/main.c:35:
nxweb/nxweb.h:121: error: field ‘data’ has incomplete type
nxweb/nxweb.h:122: error: field ‘user_data’ has incomplete type
nxweb/main.c:123: error: array type has incomplete element type
nxweb/main.c:140: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘parse_opt’
nxweb/main.c:165: error: variable ‘argp’ has initializer but incomplete type
nxweb/main.c:165: warning: excess elements in struct initializer
nxweb/main.c:165: warning: (near initialization for ‘argp’)
nxweb/main.c:165: error: ‘parse_opt’ undeclared here (not in a function)
nxweb/main.c:165: warning: excess elements in struct initializer
nxweb/main.c:165: warning: (near initialization for ‘argp’)
nxweb/main.c:165: warning: excess elements in struct initializer
nxweb/main.c:165: warning: (near initialization for ‘argp’)
nxweb/main.c:165: warning: excess elements in struct initializer
nxweb/main.c:165: warning: (near initialization for ‘argp’)
make: *** [obj/Release/nxweb/main.o] Error 1


I think you should update your benchmark to use weighttp:
http://redmine.lighttpd.net/projects/weighttp/wiki
As pointed by G-WAN's author, ab performs badly on multi-cores.

Regards,
Zabrane

On Dec 2, 2011, at 9:58 AM, Yaroslav wrote:

> What a shame. Sorry about that. It is my first public repo at Bitbucket, I turned 'private' flag off, but did not check that I have to make wiki and issue tracker public as well.
> 
> It should be all OK now.
> 
> Sorry for the inconvenience.
> 
> On Fri, Dec 2, 2011 at 12:13 PM, Chris Brody <chris.brody at gmail.com> wrote:
> Yeah I created an account with Bitbucket and still could not get access to the Wiki.
> 
> Can you please make this project public if you want to announce it?
> 
> 
> On Fri, Dec 2, 2011 at 3:04 AM, Rodrigo Campos <rodrigo at sdfg.com.ar> wrote:
> On Fri, Dec 02, 2011 at 03:55:27AM +0400, Yaroslav wrote:
> > Hi,
> >
> > I'd like to thank the authors of libev for very good product. Based on it I
> > have developed NXWEB web server, which I'd like to present to community. Here
> > are the highlights:
> >
> > NXWEB project page: https://bitbucket.org/yarosla/nxweb/
> 
> Sounds interesting, but the project page asks for a login. It seems I can not
> see anything without an account :(
> 
> 
> 
> 
> 
> Thanks,
> Rodrigo
> 
> _______________________________________________
> libev mailing list
> libev at lists.schmorp.de
> http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev
> 
> 
> _______________________________________________
> libev mailing list
> libev at lists.schmorp.de
> http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev
> 
> _______________________________________________
> libev mailing list
> libev at lists.schmorp.de
> http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schmorp.de/pipermail/libev/attachments/20111202/e32a66d7/attachment-0001.html>


More information about the libev mailing list