3 ms·
comparing "simple java app" to something as complex (overly? needlessly in some cases? sure) as magento is nowhere near apples and oranges. compare it to broad
by mgkimsal 10y ago
comparing "simple java app" to something as complex (overly? needlessly in some cases? sure) as magento is nowhere near apples and oranges. compare it to broadleaf or konakart, maybe. I've no doubt java will probably still be faster, but it won't be 500 rps vs 3 rps.
- brianwawok 10y agoExcept I have built Java apps that did the same kind of things as Magento, and yes it really was 500 to 3.
- corobo 10y agoBenchmarks or no you haven't.
- kasey_junk 10y agoWithout getting into a pissing war if Brian says he's done something on the JVM, trust him. Also if you need someone to validate that their system does 500 qps, you really need to check your assumptions. I'm trying very hard to think of what kind of system I'd build that would do less than that (hint each q would be big)
- corobo 10y agoWith all due respect, no. It's trivially easy to just claim that you've done something that happens to anecdotally prove the point you're making. I could say I've written a PHP app that gets an easy 1000 qps without flinching. Without anyone dropping any factual proof my app is definitely better.
- blowski 10y agoAt a guess, you left everything in development mode. I've seen similarly specced hardware easily handle around 100 requests per second just by configuring Magento and Opcache for production (as per documentation).