3 ms·
What is the problem you're trying to solve? If your problem is "I have a lot of requests from a web server that are quickly dispatched", then parallel programm
by ebiester 12y ago
What is the problem you're trying to solve?
If your problem is "I have a lot of requests from a web server that are quickly dispatched", then parallel programming doesn't get you anything.
The problems where number of cores matter are already looking at parallel programming solutions because they're running the problems on multiple machines, right?
NOW, for a new desktop application that would benefit from parallel programming, it becomes interesting. Perhaps the startup time of the JVM doesn't even matter anymore. :)
- jgalt212 12y ago> If your problem is "I have a lot of requests from a web server that are quickly dispatched", then parallel programming doesn't get you anything. why not? If a page render has 10 independent processes that must be completed before data can be returned to client, doesn't the pmap function give an approx 10X speed-up? Or are you talking in the aggregate where each request is being handle in its own thread, and then the page render speed is really just I/O bound. But even in that case if the web server is doing some heavy computation (wolfram alpha, for example) easy parallelization of a request can make the web a more effective compute engine.