4 ms·
PostgreSQL is not threaded.
by anthonyrubin 18y ago
PostgreSQL is not threaded.
- sfphotoarts 18y agoright, but the postmaster, supervisory process manages the common work area such that each process is acting as a thread, it just predates threads in its architecture. The rocess per-user model is much like Apache 1.x, which has its drawbacks, but does work well and has for years.
- anthonyrubin 18y agoApache 2.x can be configured to use the prefork MPM which behaves in a similar fashion to 1.x. There are even advantages to this method. Postfix is another great example of a high quality piece of software that is not threaded. There are many other examples. It is entirely possible to write complex systems that perform well without threads.
- gaius 18y agoNeither are X servers that handle thousands of events for dozens of windows per second.