-
-
Notifications
You must be signed in to change notification settings - Fork 549
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a LWAN design architecture doc ? #220
Comments
There's no documentation with the exception of some blog posts. What do you want to know, specifically? |
I would like to know about the concurrency design or how it handles multiple clients |
Another question if you dont mind, does lwan url map allow such patterns ? |
The concurrency design is explained here: https://tia.mat.br/posts/2014/10/06/life_of_a_http_request.html As far as the URL map goes: it does not (it only matches prefixes), but you can use the rewrite module:
This is considering that you have a handler named "blog_post" that gets a numeric ID via the query string. |
Would one be able to lets say implement libr3 in the handlers and if so which code should I look at ? |
It's possible to create a module with r3 to match URLs, yes. You can start by looking at the rewrite module (src/lib/lwan-mod-rewrite.c). |
No description provided.
The text was updated successfully, but these errors were encountered: