Erlang/OTP Forums

Author Message

<  Yaws mailing list  ~  Yaws, Apache, sendfile

Guest
Posted: Thu Nov 23, 2006 3:28 pm Reply with quote
Guest
We all know about the wonderful benchmark called Apache vs. Yaws, http://www.sics.se/~joe/apachevsyaws.html

However, there are some sceptics who say that Apache will outperform Yaws when sending files/large files because Apache uses sendfile which runs in kernel space. So my question is: How will Yaws perform in the above benchmark if each process needs to send a 10 MB file?

Post recived from mailinglist
Guest
Posted: Thu Nov 23, 2006 3:30 pm Reply with quote
Guest
Dmitrii Dimandt wrote:
> We all know about the wonderful benchmark called Apache vs. Yaws,
> http://www.sics.se/~joe/apachevsyaws.html
>
> However, there are some sceptics who say that Apache will outperform Yaws
> when sending files/large files because Apache uses sendfile which runs in
> kernel space. So my question is: How will Yaws perform in the above
> benchmark if each process needs to send a 10 MB file?

How much outgoing bandwidth does your web server have? That seems kind
of relevant in deciding whether the question needs answering in the
first place.

/Fredrik

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist
Guest
Posted: Thu Nov 23, 2006 10:39 pm Reply with quote
Guest
Dmitrii Dimandt wrote:
> We all know about the wonderful benchmark called Apache vs. Yaws,
> http://www.sics.se/~joe/apachevsyaws.html
>
> However, there are some sceptics who say that Apache will outperform
> Yaws when sending files/large files because Apache uses sendfile which
> runs in kernel space. So my question is: How will Yaws perform in the
> above benchmark if each process needs to send a 10 MB file?
>

I'm pretty sure that apache would outperform yaws here - unless
the number of concurrent clients requesting these 10M files
is large - in which case I think yaws would do fine.

Anyway, the test is mostly uninteresting, also building a sendfile
driver and use that for large files in Yaws is a p.o.c - it would probably
take several hours to do ....


/klacke


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum