File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes OO, Patterns, UML and Refactoring and the fly likes Do Cloud Apps need new patterns to be scalable? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "Do Cloud Apps need new patterns to be scalable?" Watch "Do Cloud Apps need new patterns to be scalable?" New topic

Do Cloud Apps need new patterns to be scalable?

Rogerio Kioshi
Ranch Hand

Joined: Apr 12, 2005
Posts: 690
Do you think apps built inside Cloud environment need new patterns in order they get more scalability?

E Armitage

Joined: Mar 17, 2012
Posts: 989
In a cloud environment it is less disruptive to add another server to your deployment than to increase the specs of an existing node so a cloud app developer could favor horizontally scalable approaches like stateless frameworks apis and architectures. When not in the cloud, every node you add comes with extra costs of maintenance, physical space , lights, guy that checks the cables (or whatever it is those guys do) so vertical solutions are preferred.
Asynchronous techniques are also preferred in the cloud because of the ease of access to additional nodes which non blocking routines can be off loaded to resulting in more scalability.
I wouldn't say new patterns are needed, just that sometimes different approaches should be taken.
Jayesh A Lalwani
Saloon Keeper

Joined: Jan 17, 2008
Posts: 2746

I would call Map-Reduce as a design pattern, and a lot of cloud computation is built on Map Reduce.
And. Map Reduce itself can be implemented using a Produce Consumer pattern, so there's that too

However, a lot of principles go into design of cloud based architectures. From the top of my head
1) Design for failover
2) Workers should be stateless
3) Reduce contention between workers
4) Scalability over efficiency
I agree. Here's the link:
subject: Do Cloud Apps need new patterns to be scalable?
It's not a secret anymore!