Yaws (web server)

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Yaws
DeveloperClaes Wikström
Repository
  • {{URL|example.com|optional display text}}Lua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
Written inErlang
Engine
    Lua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
    Operating systemCross-platform
    TypeWeb server
    LicenseBSD-3-Clause
    The LYME and LYCE software bundles are based on Erlang and comprise Yaws. They are composed entirely of free and open-source software

    Yaws (Yet another web server) is a web server written in Erlang by Claes (klacke) Wikström. Yaws can be embedded into other Erlang-based applications or run as a regular standalone web server.[1]

    Overview

    [edit | edit source]

    Because Yaws uses Erlang's lightweight threading system, it performs well under high concurrency. A load test conducted in 2002 comparing Yaws and Apache found that with the hardware tested, Apache failed at 4,000 concurrent connections, while Yaws continued functioning with over 80,000 concurrent connections.[2]

    The load test concludes,

    "The problem with Apache is not related to the Apache code per se but is due to the manner in which the underlying operating system (Linux) implements concurrency. We believe that any system implemented using operating system threads and processes would exhibit similar performance. Erlang does not make use of the underlying OS's threads and processes for managing its own process pool and thus does not suffer from these limitations".[2]

    and in the underlined part above (formatting added), expresses the opinion that the founding technologies make the difference in scalability.

    See also

    [edit | edit source]

    References

    [edit | edit source]
    1. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    2. ^ a b Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    [edit | edit source]

    Lua error in mw.title.lua at line 392: bad argument #2 to 'title.new' (unrecognized namespace name 'Portal').

    • Lua error in Module:Official_website at line 94: attempt to index field 'wikibase' (a nil value).
    • ErlyWebMVC-pattern web framework for Yaws
    • Erlang Web – MVC-pattern web framework Yaws and Inets Erlang/OTP application
    • Nitrogen – An event-driven Web 2.0 framework for Erlang that runs on Yaws, Mochiweb, and Inets