5 ms·
spring-boot is awesome, the configuration is simple, the development is absolutely quick and easy and startup takes just 3 to 4 seconds on my mac. Seriously you
by flaie 12y ago
spring-boot is awesome, the configuration is simple, the development is absolutely quick and easy and startup takes just 3 to 4 seconds on my mac. Seriously you just don't know what you're talking about.
And for that matter I really appreciate Go and its simplicity.
- tapirl 12y agoon your mac, 3-4 seconds? Then on a micro EC2 instance, it would be 10+ seconds. You visitors has gone before your page is loaded. btw, there are very few big companies use spring. It is a over promoted products. btw2, do you know how to cache the jsp template render result? Which is so easy in other languages.
- flaie 12y agoDon't you know the difference between the startup of an application container (which takes 3-4 seconds) and a page refresh which depends on what your application is doing? There are a lot of companies using Spring, at least in Europe I can't count them. I don't know on what planet you're living :)
- tapirl 12y agoWhen your app is PaaS based, startup time (and memory usage) is very important, for your instances will restart often. Don't know if there are any big IT companies in Europe. No only spring but also java is a over-promoted product. Before being acquired by Orcale, Sun devoted much of its money to promote Java.
- Twirrim 12y agoJava and spring are everywhere. I think you'd be (unpleasantly?) surprised just how often you're using websites that are running on top of Java and you just didn't know it.
- tapirl 12y agofor examples pls. There are really some, but very few.
- Twirrim 12y agoOkay, if you insist.. Amazon (significant amounts of the infrastructure run on Java, take a look at their jobs board: http://www.amazon.com/gp/jobs/ref=j_sq_btn?jobSearchKeywords=Java&category=*&location=*&x=0&y=0 http://www.amazon.com/gp/jobs/ref=j_sq_btn?jobSearchKeywords...) Google (http://www.quora.com/Why-does-Google-prefer-the-Java-stack-for-its-products-instead-of-Python/answer/Robert-Love-1 http://www.quora.com/Why-does-Google-prefer-the-Java-stack-f...) Twitter (They started out entirely Ruby, but converted pretty much their entire stack to the JVM through use of Java and Scala, due to scaling issues http://www.wired.com/2013/09/the-second-coming-of-java/ http://www.wired.com/2013/09/the-second-coming-of-java/) LinkedIn (https://engineering.linkedin.com/play/play-framework-linkedin https://engineering.linkedin.com/play/play-framework-linkedi...) Yahoo Facebook (https://www.facebook.com/careers/department?dept=grad&req=a0IA0000006cQPNMA2 https://www.facebook.com/careers/department?dept=grad&req=a0... https://www.facebook.com/careers/department?dept=grad&req=a0IA000000G3E1tMAF https://www.facebook.com/careers/department?dept=grad&req=a0...) Salesforce (http://salesforce.careermount.com/candidate/job_search/quick/results?sort_field=post_date&sort_dir=desc&keyword=Java http://salesforce.careermount.com/candidate/job_search/quick...) The list just goes on and on. It's fast (okay maybe not as fast as carefully hand-rolled C++, but used the right way it can get near to it), has lots of mature tooling, and most importantly of all is absurdly stable. If you're worried about start up time, you're likely worrying about the wrong thing. Amazon, for example, is well known to scale up and down their infrastructure on demand, and yet they're running on Java. They wouldn't do that if application start-up time was a problem. It's rare to see java applications that take more than 5-10 seconds to start up unless they're insanely monolithic and pulling in large numbers of libraries (aka enterprise stacks like Websphere), and once they're running you leave them running. Java start up time should be the shortest part of the whole 'spin up a new instance and start handling requests'.