3 ms·
That's a loaded question because it's not built for performance, although it's still very fast. It's built for realtime and consistent performance specifically.
by brightball 10y ago
That's a loaded question because it's not built for performance, although it's still very fast. It's built for realtime and consistent performance specifically.
The trade off there is prescheduling, where the VM caps execution time of processes in the scheduler guaranteeing that a heavy process isn't allowed to take over the machine VS cooperative scheduling where the code has to periodically check in with the scheduler to relinquish control.
Prescheduling won't be faster in a benchmark, but if you have millions of small requests their response time will remain consistent in the face of bad actors or infinite loops trying to takeover the machine.