Skip to content

Add note and doc about event driven architecture of webserv #22

@552020

Description

@552020

Since we are not allowed to use pthread and and we can fork new processes only for CGI it is clear that the architecture of our 'webserv' web server will be event driven.

There are basically three possible architecture models to handle concurrent requests in a webserver:

  • multi thread, like Apache Tomcat
  • multi-process, like Apache in Prefork MPM (Apace supports multiple architectures)
  • event-driven, like NGINX

The most famous single threaded piece of software is node.js, which relies on the Google V8 Engine, which powers also Google Chrome.

The note as in the title of the issue, could be a short sentence in the README, if we want to create more content about it, then the note coud be integrated in an ad hoc document.

This is explicitly left as 'backlog' issue.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions