3 ms·
> while other languages are 10x or more faster than python in some benchmarks it's very rare that computation time dominates server latency Most applications s
by speedplane 7y ago
> while other languages are 10x or more faster than python in some benchmarks it's very rare that computation time dominates server latency
Most applications spend most of their time waiting for the database or network. I suspect the fastest programming languages are those that have the lowest thread/process overhead. If most apps spend their time waiting, then a language with 10X lower process overhead can handle 10X more processes.
- golergka 7y agoYou can also avoid using separate process for each client (NodeJS).
- speedplane 7y ago> You can also avoid using separate process for each client (NodeJS). Yes, NodeJS solves one problem by having low process overhead, but it also fails to take advantage of parallelism in modern processors. Ideally, I'd like to see a system with both.
- nablaoperator 7y agoYou can always use the 'cluster' module or worker threads.
- jacques_chester 7y ago> Ideally, I'd like to see a system with both. Java, or Kotlin, using one of the reactive frameworks.