Server Architecture – RTOS with Microkernel for Concurrent Web Servers

server

Why not use a RTOS with microkernel architecture for web servers? The scheduler is deterministic and all requests will be handled quickly leading to faster response time? It's easy to extend an OS based on microkernel architecture, since everything is like a client-server communication via message passing. Also, the server will be very light weight and requires less resources. Say that you are developing the web service using C++. I am thinking about QNX for the OS. Is it a bad idea, or it does not matter?

Best Answer

The scheduler is deterministic and all requests will be handled quickly leading to faster response time?

Deterministic does not imply faster. An RTOS schedules guarantees that all requests will be served in some given time T, but a best effort scheduler may provide better average performance with the downside that some requests take a lot longer than T to serve.