Puneet Varma (Editor)

Yaws (web server)

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Developer(s)
  
Claes Wikström

Operating system
  
Cross-platform

License
  
BSD licence

Written in
  
Erlang

Type
  
Web server

Yaws (web server)

Stable release
  
2.0.4 / 22 September 2016; 6 months ago (2016-09-22)

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.

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 2.0.39 with the worker MPM failed at 4,000 concurrent connections, while Yaws continued functioning with over 80,000 concurrent connections.

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".

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

References

Yaws (web server) Wikipedia