|
|
|
|
|
by wyuenho
5365 days ago
|
|
This whole thread/process/event queue non-sense is really ruining my appetite. Mmm fried bacon sausage wrap on a stick… Guess what. When the packets come in from the network, they sit in an event queue. When Apache takes a request event, it takes it from a queue and hand off to a process. If you are proxying, the webapp server in the back takes the request events from a queue and hands off to a thread. When you make a DB call, the SQL goes to an event queue and the DB processes them 1 by 1. Real world web apps will always, is always and have always been done in a combination of event queues/threads and processes. Nothing to see here. Moving on… oh look! Takoyaki! |
|