• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Tim Cooke
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
Saloon Keepers:
  • Piet Souris
Bartenders:

Full-Stack Java versus a LAMP stack

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, is there any performance considerations using Full-Stack Java versus a LAMP stack?
 
Author
Posts: 71
8
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
LAMP and Java aren't that far off. You could use the J instead of a P and all the rest can work as is.

Java is generally considered faster than PHP, Perl and Python. I don't think that's a big deal though. While there are cases where that matters, in most cases the bottlenecks would be in IO, networking, etc. where the performance would be relatively insignificant.

The advantages Java offers are at scale. Java is far more strict than all of these languages. When you start up this seems like a pain. You need to organize the files in a particular way, name them in a strict way. The compiler complains and the IDE suddenly highlights all these things. Then there's maven and all of that strictness...

These are huge advantages. In a small project you can't tell the difference, but as the project grows the strictness helps you keep things in order. Furthermore, as you start to scale to large production environments the advantages of Java become tremendous. Java's management and observability capabilities are second to none. There's a reason all big companies use it in the backend, I can get sophisticated insights about a running server with performance impact of 5%. Similar visibility into any other stack would be limited. It might be unstable and can significantly impact performance.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic