Skip to content

ncloudioj/tinywebserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Tinywebserver - Toy web servers based on different concurrent models

Tinywebserver, implements three kinds of web servers, aims to benchmark the performance of concurrent models - prefork, multi-thread, and IO-multiplex. Tinywebserver is built upon the demo program in the textbook Computer Systems: A Programmer's Perspective, and extends to the multi-thread and epoll models.

Tinyserver is by no means a production software. However, it surpports a number of basic functions, e.g. handling requests of plain text, html, jpeg, gif, and cgi.

  • Install:

      $ cd src/
      $ make
    

If installed correctly, three tinyservers would be generated, tinyserver_prefork, tinyserver_thread, and tiny_epoll, respectively. In addition, a demo cgi program would be built in the directory cgi-bin.

enjoy!

About

Toy web servers based on different concurrent models

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages