
By Jignesh Solanki | Article Rating: |
|
February 20, 2018 04:45 PM EST | Reads: |
1,045 |

The need for greater agility and scalability necessitated the digital transformation in the form of following equation: monolithic to microservices to serverless architecture (FaaS). To keep up with the cut-throat competition, the organisations need to update their technology stack to make software development their differentiating factor.
Thus microservices architecture emerged as a potential method to provide development teams with greater flexibility and other advantages, such as the ability to deliver applications at warp speed using infrastructure as a service (IaaS) and platform as a service (PaaS) environments.
The emergence of microservice was to break the monolithic applications into smaller services, with each one of them having their own business logic. With a monolithic architecture, a single faulty service can bring down the entire app server and all the services running on it.
However, it is a different case with microservices where each service runs in its own container and thus application architects can develop, manage and scale these services independently.
The microservices can be scaled and deployed separately and written in different programming languages. But a key decision many organisations face when deploying their microservices architecture is choosing between IaaS and PaaS environments.
Microservices involve source code management, a built server, code repository, image repository, cluster manager, container scheduler, dynamic service discovery, software load balancer and cloud load balancer. More to that, it also needs a mature agile and DevOps team to support continuous delivery.
Entering the Serverless
Serverless Architecture takes the step further by making an application more granular to the level of functions and events. Thus, it is pretty clear that the unit of work is getting smaller and smaller. We've gone from monoliths to microservices to functions. FaaS also improves the shortcomings of PaaS model i.e. scaling and friction between development operations.
It is quite challenging to scale a microservices hosted on PaaS. The architecture may have elements written in different programming languages, deployed across multiple clouds and on-premise locations, running on multiple containers.
When the app demand increases, all the underlying components have to be coordinated to scale, or you have to be able to identify which individual elements need to scale to address the surge in demand. Even if you setup your PaaS applications to auto-scale you won't be doing this to the level of individual requests unless you know the traffic trend. And this is what makes FaaS application way more efficient when it comes to cost.
However, there will be space for both FaaS and microservices to co-exist as there are certain things which you won't be able to do with functions at all. For example, an API?Microservice will always be able to respond faster since it can keep connections to databases and other things open and ready.
Well, one more thing which we should consider here is that by grouping a bundle of functions together being an API Gateway, you 've created a microservice. This high-level flow remains the same as the traditional approach. The key difference is that, in case of a function, the container is created and destroyed by algorithms used in FaaS platforms and the operational team have no control over it.
Conclusion
However, with the added advantage of agility and scalability, there are many more things which serverless technologies have to offer. What one can do is always look for the best ones and make the use of these new approaches.
Published February 20, 2018 Reads 1,045
Copyright © 2018 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Jignesh Solanki
I lead Simform's Product Engineering team by DevOps Institutionalization, end-to-end product development and consulting led transformation programs. I'd love to talk on cloud computing, mobility, security, swift and anything in between them.
![]() Feb. 21, 2018 11:15 AM EST Reads: 3,183 |
By Liz McMillan ![]() Feb. 20, 2018 08:15 PM EST Reads: 12,250 |
By Jason Bloomberg ![]() Feb. 20, 2018 05:45 PM EST Reads: 1,409 |
By Yeshim Deniz ![]() Feb. 20, 2018 04:45 PM EST Reads: 8,244 |
By Elizabeth White ![]() Feb. 20, 2018 04:00 PM EST Reads: 2,516 |
By Elizabeth White ![]() Feb. 19, 2018 06:00 PM EST Reads: 2,358 |
By Liz McMillan ![]() Feb. 19, 2018 05:45 PM EST Reads: 3,148 |
By Liz McMillan ![]() Feb. 19, 2018 06:15 AM EST Reads: 2,974 |
By Liz McMillan ![]() Feb. 19, 2018 01:45 AM EST Reads: 3,953 |
By Elizabeth White ![]() Feb. 19, 2018 01:00 AM EST Reads: 3,275 |
By Elizabeth White ![]() Feb. 18, 2018 10:45 PM EST Reads: 4,272 |
By Elizabeth White ![]() Feb. 18, 2018 08:00 AM EST Reads: 2,870 |
By Pat Romanski ![]() Feb. 18, 2018 05:00 AM EST Reads: 3,022 |
By Douglas Lyon ![]() Feb. 15, 2018 01:00 PM EST Reads: 744 |
By Liz McMillan ![]() Feb. 8, 2018 07:45 AM EST Reads: 3,304 |
By Yeshim Deniz ![]() Feb. 8, 2018 05:15 AM EST Reads: 2,446 |
By Pat Romanski ![]() Feb. 8, 2018 12:00 AM EST Reads: 9,778 |
By Liz McMillan ![]() Feb. 6, 2018 03:00 PM EST Reads: 2,574 |
By Liz McMillan ![]() Feb. 6, 2018 01:45 PM EST Reads: 3,158 |
By Ram Sonagara ![]() Feb. 1, 2018 06:00 AM EST Reads: 1,319 |