3 ms·
Can someone give use cases for high performance cpu bound server side web applications? Even with high cpu usage you're still limited by the latency of the conn
by nwmcsween 15y ago
Can someone give use cases for high performance cpu bound server side web applications? Even with high cpu usage you're still limited by the latency of the connection.
- mark_l_watson 15y agoOne possible use would be handling lots of connections on a small server (I noticed that Snap can use the event library), so runtime efficiency would help. Also, in the programming language shootout benchmarks, Haskell compiled apps appear to be memory efficient which would also help when using small server instances.
- alnayyir 15y ago>Haskell compiled apps appear to be memory efficient Only in extremely contrived and highly tuned examples. Programming language shootout is not a reality 99.999% of the community of a given language ever experience, and Haskell is a particularly egregious case of this. Haskell's performance in those benchmarks was a concerted community effort and the prevalence of various unexpected behaviors (such as space leaks) that are subtle and hard to avoid make calling it memory efficient borderline laughable. I'll go ahead and preempt No True Scotsman responses and say you can spare me using some kind of god-genius programmer as a "standard" for people who are writing Haskell.
- DasIch 15y agoWeb applications should be IO bound and usually everyone says they are but in reality that is not really the case. If you look at Ruby and Python you will see that there are obvious differences in performance based on language implementations, template engines, web frameworks, servers etc.