eecheng87 / ESCA

Effective System Call Aggregation
https://eecheng87.github.io/ESCA/
MIT License
38 stars 5 forks source link

Support lwan web server #20

Closed eecheng87 closed 2 years ago

eecheng87 commented 2 years ago

lwan is a high-performance and scalable web server implemented with coroutine technique. There is a potential to extend the applicability of ESCA to adapt lwan after this patch was merged.

Following is proposed changes:

  1. Modify Makefile, support automatically build lwan
  2. Support wrapper for lwan. (lwan use different system call to handle the file with varied size)
  3. Current lwan will spawn threads as many as the number of host cores. Since ESCA is for single thread applications, lwanshould be configured with a single thread.