How to Scale a Mobile App?

How to scale Java app in the cloud automagically?, or, is there a Heroku for Java?

  • I recently came across Heroku, which looks extremely cool. You just upload your app and you're done; it scales without further intervention. Unfortunately, Heroku is for Ruby and our app is in Java. It's a webapp, implemented as a .war file. We want it to scale automatically across clusters of servers maintained entirely by other people. We've spoke to Rackspace. They have "Rackspace Cloudsites" which does this for Wordpress. They have no intention of supporting Java app servers in this way. What else is out there?

  • Answer:

    Take a look at http://code.google.com/appengine/. In your case, the http://code.google.com/appengine/docs/java/overview.html will be helpful. You can also build App Engine applications using http://code.google.com/appengine/docs/python/overview.html.

ccleve at Stack Overflow Visit the source

Was this solution helpful to you?

Other answers

The key to scalability is not the infrastructure (only). You can use various cloud offers: Google App Engine Amazon EC2 Heroku http://www.cloudfoundry.com/ VMForce (upcoming) etc.. But if your application is not inherently scalable, the cloud won't help you. In fact, strictly speaking, scalability is a property of the application, and it means that the application starts supporting higher load by simply adding hardware. The cloud offers you the "adding hardware" part. The rest is your responsibility. Now, how to achieve scalability of your application is a huge topic. http://highscalability.com/ is a good resource for such articles.

Bozho

Now http://www.heroku.com supports Java. Great value for service/price :)

Pere Villega

http://jelastic.com - Java Elastic Cloud without vendor lock API. The main features is auto scaling, visual topology builder, easy environments management and much more for Java apps.

Ruslan

http://code.google.com/appengine/ does this. It's all Java and Javascript (converted from Java when needed) too.

Chris Dennett

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.