News for hackers. Stuff that matters.
Re:Dropwizard 0.8.0: Java framework for ops-friendly, high-p... by flaie on Monday March 09, 2015 @10:07AM (#9170970)
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.

Re:Dropwizard 0.8.0: Java framework for ops-friendly, high-p... by tapirl on Monday March 09, 2015 @10:53AM (#9171210)
on 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.

Re:Dropwizard 0.8.0: Java framework for ops-friendly, high-p... by flaie on Monday March 09, 2015 @11:33AM (#9171434)
Don'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 :)

Re:Dropwizard 0.8.0: Java framework for ops-friendly, high-p... by tapirl on Monday March 09, 2015 @11:51AM (#9171575)
When 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.

Re:Dropwizard 0.8.0: Java framework for ops-friendly, high-p... by Twirrim on Monday March 09, 2015 @12:56PM (#9172080)
Java 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.
Re:Dropwizard 0.8.0: Java framework for ops-friendly, high-p... by tapirl on Monday March 09, 2015 @02:10PM (#9172611)
for examples pls. There are really some, but very few.
Re:Dropwizard 0.8.0: Java framework for ops-friendly, high-p... by Twirrim on Tuesday March 10, 2015 @03:32PM (#9180039)
Okay, 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...)

Google (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/)

LinkedIn (https://engineering.linkedin.com/play/play-framework-linkedi...)

Yahoo

Facebook (https://www.facebook.com/careers/department?dept=grad&req=a0... https://www.facebook.com/careers/department?dept=grad&req=a0...)

Salesforce (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'.