|
|
|
|
|
by craigching
4845 days ago
|
|
> However... writing a web app with Clojure, at least to me, doesn't. Why not? I'm serious here, if you're serving thousands of clients in a web app, why wouldn't you want parallelism? I mean, sure at small loads you don't need it, but what about scaling up? Also, I find using compojure for web app development to be an absolute dream. I might need to get out more (my day job is java web apps), but I love the ability to iterate rapidly in the repl on a web app without having to restart my JVM. |
|
For the same reason you don't do parallel by default for every loop you write in java. It's overkill. You can successfully argue that multiple service calls across a network need to be parallel, but this is relatively little to do with a desire to serve many clients and a lot more to do with responsiveness. (a noble goal)
> but I love the ability to iterate rapidly in the repl on a web app without having to restart my JVM
HTML and mixed services > (any combination of java technologies you can dream up to serve web apps)