Skip to main content

premium Microservices and APIs: The path to agility

It’s often been said that digital transformation is not a destination, but a journey. In the past, that journey was fraught with complications and the risk of downtime as legacy systems were retired and replaced. Today, however, steering legacy systems into the digital age has been made simpler through the introduction of microservices and APIs. 

Microservices combined with APIs offer a lifeline for firms struggling to upgrade their core systems and services, bridging the divide between old and new; legacy and digital. Now, legacy systems – robust and hardy by design – can behave like digital counterparts, to innovate and evolve at scale and at speed. 

Good things come in loosely coupled packages
Microservices are an effective way for organizations to deliver features of a service in a compartmentalized and more manageable way. They break down monolithic applications into independent, loosely coupled constituents that can be delivered separately from one another and run using isolated containers. To understand why this is useful, it’s helpful to frame the challenges of maintaining legacy applications. 

Firms that have been around for a long time have a long trail of technology that has been built upon and upgraded for many years. Legacy applications that make up the tech stack will have been built using a multitude of programming languages and software, some of which will now be unsupported and/or defunct. Often layers of complexity will have been added over the years as new languages and technologies emerged. The problem with replacing these applications is that they are, in most cases, tied to core business offerings. Replacing or upgrading them is time-consuming and costly, and potentially risks outages that might incur reputational and financial losses. 

Now, the technology framework exists to break down these applications into individual features that can be upgraded in isolation and without risk to the core service, making the journey to digital far more easily traversed. 

An architecture for continuous improvement 
A microservices architecture could be considered a subset of an SOA, but with better propensity to leverage today’s developments in cloud, PaaS and virtualization. But whereas, in a typical SOA architecture, a service is seen as a composition of other services (where a service represents a business capability), a microservice is self-contained, independent and cannot comprise other services. 

As such, there is no single point of failure, which is essential for firms for which uptime of services is crucial. Those dedicated to continuous improvement stand to gain much from breaking monolithic systems and applications down into microservices. Supporting services that augment the core offering are increasingly what sets one firm’s service or product apart from another. As is often said, it’s the little things that make a difference. But from a business point of view, the little things must not compromise the core offering. 

Many companies including Amazon, Best Buy, Uber, Spotify, Netflix, have benefited by microservice adoption in their platform strategy. The strategy helped them scale their business and improve their efficiency in product delivery. Netflix’s core offering, for example, is its on-demand content streaming service. But there are many other features that add to the overall experience of the service; the UI for movie selection, audio and subtitle options, ease of subscription, safety of personal and payment information, etc. Most of these are themselves microservices, or are made up of microservices. Should a feature need updating or removing, or the service require a new feature entirely, the modular nature of the architecture allows this to be done without risk to the core offering. Similarly, should a feature fail, the failure is localized and cannot bring down the service, ensuring maximum uptime and reliability; the ultimate goal of any service provider. 

Scaling to meet user demand
Whether servicing one or 100,000,000 subscribers, cloud service providers now let companies scale to meet the demand on their services. Cloud providers such as Microsoft Azure, AWS or Google cloud, for example, allows providers to speedily deploy thousands of servers and terabytes of storage within minutes, which is especially useful in times where usage is high. 

This is where microservices really deliver. The modularized architecture of microservices supports rapid build, deployment and scalability, and infrastructure automation has greatly reduced the complexity of managing the process. During surges in demand, such as those in gaming or streaming as the world faced ‘lockdown’ measures, it’s possible to dynamically spin up a database or a server to scale. Whilst this introduces more complexity, technology such as containers (platforms used to build, ship and run distributed applications, like Docker) and orchestration systems (that automate the deployment and scaling of containerized applications, like Kubernetes) simplifies the challenges through automation, to scale at speed and on-demand. 

Recently, services ranging from gaming platforms to Microsoft Teams have experienced vast surges in usage due to the Covid-19 pandemic, with very little impact on user experience. 

Organizations and services able to scale so readily benefit greatly from having been built in the cloud with modern technologies and programming languages. They don’t suffer the same legacy challenges as other firms and offer a window into what’s possible through microservices and APIs.

The breakdown broken down
When a legacy application is broken down into separate containerized microservices, each constituent of the original application can be divided into different business domains, which can themselves be scaled according to the demands on the services. 

Not only does the modular architecture enable scale by design, it also accommodates a mixed technology stack. This ensures that applications built with entirely different programming languages, software and frameworks can tie into the same interfaces and domains, yet come together when called by an API, resulting in a common business function. 

Take cross-border payments as an example. Every microservice involved in making the transfer possible, from account details to currency exchange, relies on an API, which is the standard communication channel for the action that must be performed by the payment provider, i.e. the business function. The modular orchestration layer provided by a microservices architecture allows each element necessary for the payment action to be activated by the API call. 

This highlights a key part of microservices orchestration, which is to identify the domain areas that will house the constituent parts of the legacy application. How can they be separated logically, yet unified in the customer-facing UI? 

When all’s said and done, the essential service and experience of customers must remain consistent. Simply put, the front end must not be compromised during transformation. Adopting a microservices approach is the most effective means of achieving the necessary change, with minimal disruption. 

The post <span class="sdt-premium">premium</span> Microservices and APIs: The path to agility appeared first on SD Times.



from SD Times https://ift.tt/3egou2P

Comments

Popular posts from this blog

Difference between Web Designer and Web Developer Neeraj Mishra The Crazy Programmer

Have you ever wondered about the distinctions between web developers’ and web designers’ duties and obligations? You’re not alone! Many people have trouble distinguishing between these two. Although they collaborate to publish new websites on the internet, web developers and web designers play very different roles. To put these job possibilities into perspective, consider the construction of a house. To create a vision for the house, including the visual components, the space planning and layout, the materials, and the overall appearance and sense of the space, you need an architect. That said, to translate an idea into a building, you need construction professionals to take those architectural drawings and put them into practice. Image Source In a similar vein, web development and design work together to create websites. Let’s examine the major responsibilities and distinctions between web developers and web designers. Let’s get going, shall we? What Does a Web Designer Do?

A guide to data integration tools

CData Software is a leader in data access and connectivity solutions. It specializes in the development of data drivers and data access technologies for real-time access to online or on-premise applications, databases and web APIs. The company is focused on bringing data connectivity capabilities natively into tools organizations already use. It also features ETL/ELT solutions, enterprise connectors, and data visualization. Matillion ’s data transformation software empowers customers to extract data from a wide number of sources, load it into their chosen cloud data warehouse (CDW) and transform that data from its siloed source state, into analytics-ready insights – prepared for advanced analytics, machine learning, and artificial intelligence use cases. Only Matillion is purpose-built for Snowflake, Amazon Redshift, Google BigQuery, and Microsoft Azure, enabling businesses to achieve new levels of simplicity, speed, scale, and savings. Trusted by companies of all sizes to meet

2022: The year of hybrid work

Remote work was once considered a luxury to many, but in 2020, it became a necessity for a large portion of the workforce, as the scary and unknown COVID-19 virus sickened and even took the lives of so many people around the world.  Some workers were able to thrive in a remote setting, while others felt isolated and struggled to keep up a balance between their work and home lives. Last year saw the availability of life-saving vaccines, so companies were able to start having the conversation about what to do next. Should they keep everyone remote? Should they go back to working in the office full time? Or should they do something in between? Enter hybrid work, which offers a mix of the two. A Fall 2021 study conducted by Google revealed that over 75% of survey respondents expect hybrid work to become a standard practice within their organization within the next three years.  Thus, two years after the world abruptly shifted to widespread adoption of remote work, we are declaring 20