Slashdot Mirror


An Overview of the Boa Web Server

Gentu writes "There is a pretty new and little known, lite web server in town, named Boa. The server can run very fast on older machines, even on embedded devices, but it is only CGI-based. OSNews introduces Boa (running under Linux) and it includes some preliminary benchmarks against Apache and thttpd."

40 of 185 comments (clear)

  1. Boa vs. Apache? by Anonymous Coward · · Score: 4, Funny


    If Boa is too constricting, you might want to switch back to good ol' Apache

    Bah dum bah!

    1. Re:Boa vs. Apache? by billybob2001 · · Score: 5, Funny

      Does it suppport Python?

      And how's the scale-ability?

    2. Re:Boa vs. Apache? by twoslice · · Score: 3, Funny

      If Boa is too constricting, you might want to switch back to good ol' Apache

      I believe that the Tag line switch was coined by Apple...

      Ellen Feiss talking about switching from Boa to OSX Server:

      I was like using this web server...

      and like it was really fast....

      and it was showing my website when...

      Boop Beep Buh Deep Bip Bop...

      It went poof! Gone! It was like... ...
      ...
      ...
      ...

      Bummer

      --

      From excellent karma to terible karma with a single +5 funny post...
  2. performance info is useless by WPIDalamar · · Score: 4, Insightful

    The test performance against apache using a different test program for each server. Furthermore, it looks like Boa is designed for one thing... speed. Apache is designed to be feature complete. It's like comparing apples and pumpkins.

    1. Re:performance info is useless by Anonymous Coward · · Score: 3, Funny

      Nice metaphor. You can make pie out of both of them.

    2. Re:performance info is useless by tmark · · Score: 4, Insightful

      It's not useless or irrelevant if you happen to be using Apache, don't need it's full feature set, and really need performance. Or maybe you're in a situation where you're considering both, and it MIGHT be convenient to use the full Apache feature set, but might be willing to work around deficiencies to have better performance. In other words, this info is relevant any time when the user is prepared to trade-off features against performance or vice-versa, when the need for feature-set and performance is not absolute and written in stone. In any such circumstance, it's entirely appropriate to compare performance, as long as the user recognizes there are other differences.

    3. Re:performance info is useless by LinuxHam · · Score: 3, Funny

      somehow i knew you'd be sending us to mrtg charts, but i was hoping it was going to chart eth0 traffic or something.. you know, give us a goal, something to work towards!! :)

      --
      Intelligent Life on Earth
    4. Re:performance info is useless by PunchMonkey · · Score: 3, Funny

      Or maybe you're in a situation where you're considering both, and it MIGHT be convenient to use the full Apache feature set, but might be willing to work around deficiencies to have better performance.

      Pardon me, but is sounds like you're suggesting we "use the right tool for the right job". Now I don't know if you're from k5 or where, but here on /., we don't do things that way.

      --
      I'll have something intelligent to add one of these days...
  3. Pretty new? by Anonymous Coward · · Score: 5, Informative

    Pretty new? You what? I've been running it for five years. Even the OSNews article mentions that "Boa was written sometime in the early 1990's by Paul Philips". It is definitely a nice little server tho'.

  4. Odd comparison? by FreeLinux · · Score: 4, Interesting

    It seems a little odd to compare BOA and Apache. Granted Apache is the web server of choice so a comparison is not too bizarre but, it is still an apples to oranges comparison.

    Boa is much smaller than Apache. This seems like a good thing on the surface, especially for embedded applications, as was suggested in the article. But, Boa is slower and much less functional than Apache. They really aren't comparable servers.

  5. uh by GigsVT · · Score: 5, Informative

    There is a pretty new and little known

    You'd think the submitter would at least read the article. It says right in there that it's been in development since before 1995, "In fact Boa is one of the oldest web servers in constant development".

    --
    I've had enough abrasive sigs. Kittens are cute and fuzzy.
    1. Re:uh by kaisyain · · Score: 3, Interesting

      Very true. Several years ago when I was in college I ported Boa to DOS. At the time I thought it was the world's first DOS httpd but was later informed someone had beaten me to the punch. At the time Corel or someone were releasing their free DOS replacement and talked to me a couple of times about including Boa for DOS but eventually their project died.

  6. there are lots of options by night_flyer · · Score: 3, Informative

    even on the windows side, there is sambar server, tiny server (which is very small and very fast), and a multitude of others, some are feature rich, others just push out plain web pages.

    --


    Thanks to file sharing, I purchase more CDs
    Thanks to the RIAA, I buy them used...
  7. No comparisons by mgkimsal2 · · Score: 3, Interesting

    I didn't see any benchmarks against Apache or thttpd in the article - I saw boa benchmarked with ab and zb. Looks interesting enough to try out, although I still haven't even bothered putting in thttpd to serve graphics yet, so I probably won't ever get around to boa after all. :/

  8. fnord! by MisterP · · Score: 5, Informative

    If you're interested in small webservers, fnord is another one. It even does CGI, vhosts and directory listings and it's only 18K. It requires tcpserver though.

    1. Re:fnord! by the_danielsan · · Score: 3, Informative

      URL should be http://www.fefe.de/fnord/

      (trailing slash)

  9. Still slower than ZWS by fastlink · · Score: 5, Interesting

    Hi
    According to my tests BOA beats Apache.
    BUT the ZEUS web server (www.zeus.com) which is 'feature complete' (including mod_perl in version 4.2) still beats both of them.
    Have a nice day!

    1. Re:Still slower than ZWS by Moloch666 · · Score: 5, Insightful

      For the price to performance ratio apache wins.

      --
      Understanding is a three-edged sword. -- Kosh Naranek
    2. Re:Still slower than ZWS by Virtex · · Score: 3, Insightful

      I tried to verify that, but got a division by zero error when calculating Apache's performance/price ratio. I guess it just wasn't meant to be known.

      --
      For every post, there is an equal and opposite re-post.
    3. Re:Still slower than ZWS by YoungHack · · Score: 3, Funny

      That's because you're doing it wrong. You compare by cross multiplying. Instead of (featuresApache)/(priceApache) vs. (featuresOther)/(priceOther) you do (featuresApache)*(priceOther) vs (featuresOther)*(priceApache).

      And Apache wins.

  10. Excellent for special UID use. by nutcracka · · Score: 5, Interesting

    I've used Boa in a number of cases where certain groups of CGI scripts need to run as a specific UID and I didn't want to use the SUID functionality of Apache. Because it is so lightweight, having a few of these hanging around for various citical system UIDs can really be handy, esp. if you have an aversion to using SUID wrappers and such. A good example is using Boa running as the same UID as the mailing list processor so you can have web administration of the list rosters. And the users don't even know about it because I use the ProxyPass directive to shuttle the requests from the standard port 80 up to the port on which Boa is running, so my logging is still centralized/standardized through Apache.

    Boa is very cool. Kudos to the developers!

  11. I'm unimpressed by Anonymous Coward · · Score: 3, Informative

    I submited this one some weeks ago but it didn't make it to the frontpage. It's a new http server, written 100% in PHP, somebody ever tried it ?

    1. Re:I'm unimpressed by __past__ · · Score: 3, Funny

      Bah, PHP? Try awk, Bash or Postscript for a thrill!

  12. Let me put in a plug for bozohttpd by revision1_1 · · Score: 5, Informative

    ...available here. I've had it running on a 386 with only 4MB RAM running the NetBSD "tiny" distribution.

    Small footprint, pretty functional: HTTP, CGI, etc. It's referenced in the BOA docs.

  13. Re:Disappointing by peterb · · Score: 5, Insightful

    Why do we need to waste the time and effort of so many skilled coders and frontiersmen of the Open Source revolution on a Web server project that should clearly be marked -1, Redundant?


    Wait a minute, who is "we"?

    I mean, no offense, but who the hell are you to tell a programmer what she should work on? Oh wait, did I say "no offense?" I meant "plenty of offense." As long as the Boa guys are enjoying what they're doing, more power to them. Now, maybe you're whining about Slashdot writing an article on it, but that's hardly the Boa guys fault.

    And, frankly, you sound like the type of person that's going to find something irritating to whine about no matter what.


    I mean, think about it folks. Then, with their newly saved time, these Boa developers could have embarked on another project that's of high merit, something that we as Open Sourcers truly need, and, to quote typical manager talk, "needed yesterday".


    Well, maybe some of us want to do work because it's fun, and we're interested in it, rather than because some random internet bozo thinks he 'needs' it.


    I am doing my part for our revolution, people.


    Yeah, I can see that -- you're already trying to impose your own narrowminded "managerial" (your label, not mine) viewpoint on the people that are trying to get work done, and touting your own superiority. Whooooo, how innovative and revolutionary.

    So why don't you just crawl back into your hole and write whatever code you want to, instead of whining that other people are working on things that don't benefit you personally?
  14. Re:Disappointing by rmolehusband · · Score: 5, Insightful
    Why do we need to waste the time and effort of so many skilled coders and frontiersmen of the Open Source revolution on a Web server project that should clearly be marked -1, Redundant?

    Maybe...
    • For the fun of it!
    • To see if we can!
    • To hack, tinker, improve and innovate?

    OK, so a lot of open source projects start up to fill a gap and a lot of open source projects start up to replace a proprietary or expensive solution, but a lot start up just to try and do something in a new way or innovative way, to experiment or to learn. It's the hacker way.

    OS is so productive becasue of this hacker attitude, stifle it at your peril.
    --
    Reginald Molehusband. Edinburgh, Scotland
  15. Re:Disappointing by baryon351 · · Score: 3, Insightful

    Partly because of the fun of it, but to combat bloatware a culture of making things small, in a practical sense, needs to exist. Apache may be size X, and if the belief is embedded in coders that size X is the minimum to do a job, it won't even be -considered- by the majority that things could be done more efficiently

    Even knowing a webserver exists that is 1/10th the size and runs in 1/10th the memory can give pause to thought, and keep the knowledge open that things can always be made smaller. In 1990 the entire internet was run on machines rarely quicker or more powerful than 386s or 68030s - it would be sad to see a culture of "You can't have a server online that's under 500mhz and a gig of ram" develop - without tiny coding projects like this, that's all too possible.

  16. This comes down to.. by deppe · · Score: 3, Interesting

    where the www is heading, IMHO. Seven years ago, anyone was hardly using dynamic stuff on the web, and IIRC back then it was mostly flat HTML.

    But today, when 90% of the stuff served (besides images) by web servers are dynamic content, why does a web server like this get a headline?

    Ok, I know it does CGI, but come on, CGI is as dead as Ultrix.

    I'm not trying to let this project down. I'm sure there are plenty of happy users that don't need the "bloat" associated with Apache, IIS and other servers--but I'd be surprised if they did anything more advanced than the occasional photo album homepage.

    We all use bash (mostly). Not because it's the smallest, but because it does everything we've come to expect from a shell.

    To me, Boa seems a lot like the effort to rewrite the unix utilities in asm to reduce size. It's a challenging excersise, but in the long run it's going nowhere.

    1. Re:This comes down to.. by Erasei · · Score: 4, Insightful
      I agree, and disagree.


      I agree that this will never replace Apache. However, from what I have read about it so far, it was never meant to.


      I disagree on the part that this is "dead". Just like Linux, web servers are going in two different directions. The first, and most common is serving web pages for web sites as we think of them today. Public sites either giving information or selling a product.


      There is a new market emerging though, that Boa will be well suited for. The advanced-embedded market. I am not talking PIC processors or having a web server in a lightbult, but the more advanced devices that need a slightly more advanced webserver, without needing things like virtual hosting. This type of web server should do very well on home routers and firewalls and such devices.

      --
      visit my free wallpaper collection, wp.erasei.com
  17. threads v. multiplexing by MORTAR_COMBAT! · · Score: 4, Interesting

    These are very, very different approaches to creating a scalable server.

    See Non-blocking I/O is good for more background on what multiplexing is and why it is good.

    --
    MORTAR COMBAT!
  18. Re:Anything in between by MORTAR_COMBAT! · · Score: 3, Informative

    You might try thttpd from ACME Labs. I've used it (also Boa) on several 486 and early pentium machines.

    --
    MORTAR COMBAT!
  19. Stress Test by bytesmythe · · Score: 5, Funny

    So was having the website linked directly from a Slashdot article their way of stress testing their software?

    Apparently, its load handling just isn't up to the task yet. ;)

    --
    bytesmythe
    Hypocrisy is the resin that holds the plywood of society together.
    -- Scott Meyer
  20. slashdot effect and Boa by Anonymous Coward · · Score: 3, Informative

    Several posters have commented derisively on www.boa.org's inability to take the load of a slashdot effect. These comments miss the mark totally.

    www.boa.org is hosted at no charge by Russ Nelson. I don't thank him often enough for this help. He provides similar service for selected other community projects, too, check out http://www.russnelson.com/ .

    I also don't hold it against Russ that he doesn't use Boa for his web server. He has other things on his mind than learning about one more piece of software; he used Apache before he hosted Boa, and he continues to use Apache. It does the job for him. If the site acts slashdotted, knowing Russ, I suspect his pipe is clogged, and there's not much he can do about that.

    So if y'all want to slashdot a Boa server to see if it holds up, pick something other than www.boa.org. There are plenty to choose from, including some that wouldn't even notice the slashdot effect.

  21. Yeah, we only need one webserver, by slycer9 · · Score: 3, Insightful

    Just like we only need one OS, one CPU architecture, one RAM standard...come on, I don't understand all the bashing BOA has received here. Sure, it's not my HTTPd of choice, nor is it for a lot more folks, that doesn't negate the fact that it's more than sufficient, yea, even perfectly tailored for others. The very thing a lot of people here are ranting about is the very thing that makes OSS different from the 'enemy'. So you don't like it, so you don't need it. Someone else does, so let it be.

    --
    Don't park drunk, accidents cause people.
  22. Pretty nice server... by mindriot · · Score: 5, Funny

    ...with an especially nice screen shot... :-)

  23. Where do people get stuff like this? by jefp · · Score: 5, Informative

    >There is a pretty new

    It's not new. As the linked article says, it's been around since 1995, so it's almost as old as the web.

    >and little known

    I link to it from the thttpd page, which gets a quarter million hits per month, so I guess I've done my part to make Boa better known.

    >it is only CGI-based.

    I don't even know what this means. It serves files using select() and non-blocking I/O, not CGI. It implements CGI for external programs. Perhaps the author meant that CGI was the only option for external programs.

    >preliminary benchmarks against Apache and thttpd

    As others mentioned, no, there are no Apache or thttpd benchmarks in the article. No doubt it's much faster than Apache and about as fast as thttpd, but experience shows that very few people care about web server speed.

    >Boa (running under Linux)

    I keep telling people that if they are one of the few who care about performance enough to run a specialized NBIO web server like thttpd or Boa or mathopd, they shouldn't throw away half their performance by running Linux. Use FreeBSD.

  24. Hydra: a Boa based web server by Anonymous Coward · · Score: 5, Informative

    A very nice and fast web server is Hydra
    [ http://hydra.hellug.gr ] . It is based on boa.

    Here is some info from the site

    Hydra is a high performance multi threaded HTTP web server. Unlike traditional multi threaded web
    servers, Hydra uses a constant, but configurable, pool of threads, and each thread can handle several
    connections by multiplexing the connections. This may remind you a non blocking server, and this is
    true, but Hydra has not the killing limitation of a non blocking server, which is that they cannot use
    more than one CPU. Hydra will take advantage of every available CPU in a system.

    It supports many thingsa that boa doesnt, like

    virtual hosts
    cgi 1.1
    SSL 3.0/TLS 1.0
    PHP and other scripting languages.

  25. Web Server Survey - October 2002 by gbitten · · Score: 5, Informative

    Statistics from Netcraft:

    WebServer Sites
    Apache 21258824
    Microsoft-IIS 10143822
    Zeus 711957
    unknown 496657
    Netscape-Enterprise 465337
    Rapidsite 411267
    thttpd 322974
    .
    .
    .
    .
    Boa 463

  26. "Medium-range" system, ha! by Wonko42 · · Score: 4, Insightful
    I spurted Coke out my nose when I got to the benchmarking portion of the article, where the author calls his 700MHz Duron system with 384MB RAM a "medium-range" system. Ha! Medium-range maybe if you're talking about big fat corporate servers. I host The Uptimes Project, which handles over a million database-driven dynamic page hits per day (including pages that generate large graphs on the fly), plus several other medium-traffic sites, all on a 350 MHz Pentium II running Apache under FreeBSD. This little server handles all that traffic without even blinking.

    Before this, I used to host a medium-traffic database-driven website on an old Pentium 166 with 64 megs of RAM running -- get this -- Windows 2000 Server. And it never blinked either (except when I got Slashdotted once; that really hurt).

    Anyway, in an article about a great low-overhead super efficient webserver like Boa, I'd really like to see benchmarks on systems that are actually low-end, as opposed to systems that are low-end if your other server is a quad Xeon with 16 gigs of RAM.

  27. I wrote boa... by entropy42 · · Score: 3, Interesting

    Fascinating to see something I wrote almost ten years ago turn up on slashdot as "new."

    I wrote it on a dare, sort of. There weren't any single process web servers at the time and a friend of mine said "it shouldn't be that hard..." I named it boa because my pet at the time was -- wait for it! -- a boa constrictor.

    Gee, that's it. Yay for open source living ten years on its own.

    -- psp

    --
    -- Stop the violins!