3 ms·
What modern server is this describing? "a number of threads ... which poll message queues..." and what is this describing? "...a completely independent thread
by eggie5 9y ago
What modern server is this describing? "a number of threads ... which poll message queues..."
and what is this describing? "...a completely independent thread for every event."
"Languages based around message passing are thus the obvious choice for this type of programming." Ruby? Obj-c?
- mjevans 9y agoThe two languages that come to /my/ mind are Erlang and Go. Other programmers might have different choices. There's no reason you couldn't use a language that has threads to implement the N threads with event queues model, or something similar for that language if it has shared memory. If the language of choice lacks it you might be able to use a similar multi-process (externally) load-balanced model.
- deleted 9y ago[deleted]
- deleted 9y ago[deleted]
- mcguire 9y agoPony. (https://www.ponylang.org https://www.ponylang.org) Actor-based programming model, where actors are Erlang-ish very lightweight green threads, running on a hardware thread per processor. Communicating by fast message passing.