| > Write Fast Apps Using Async Python When working with Python and Ruby I find 80ms responses acceptable. In very optimized situations (no framework) this can do down to 20ms. Now I've used some Haskell, OCaml and Go and I have learned that they can typically respond in <5ms. And that having a framework in place barely increases the response times. In both cases this includes querying the db several times (db queries usually take less then a millisecond, Redis shall be quite similar to the extend that it does not change outcome). <5ms makes it possible to not worry about caching (and thus cache invalidation) for a much longer time. I've come to the conclusion that --considering other languages-- speed is not to be found in Python and Ruby. Apart from the speed story there's also resource consumption, and in that game it is only compiled languages that truly compete. Last point: give the point I make above and that nowadays "the web is the UI", I believe that languages for hi-perf application development should: compile to native and compile to JS. Candidates: OCaml/Reason (BuckleScript), Haskell (GHCJS), PureScript (ps-native), [please add if I forgot any] |