Tuesday, September 15, 2015

What are Micro-Services?


What are Micro-Services?

Micro-services are application architectures in enterprise infrastructure. They allow for rapid development, smaller code-bases, enterprise integration, and modular deployables.
Example of micro service is a Restful web service which accesses database for reading and writing to it.
It's basically not a whole application but a tiny application.

Micro services are also called SOA 2.0 because it's the same concept that came around during SOA.

Micro services however can be built using Rest over HTTP or STOMP over websocket. This is different from Web services which are XML over HTTP.

There are various benefits of SOA2.0 micro services architecture.
1. Scaling is easy : X axis (copies of application), Y Axis (sharding) is possible.
2. Two services could be built using different languages.
3. One service's problems such as memory leak would not bring down all services.
4. Easy to maintain because of smaller size.

No comments: