VOOZH about

URL: https://thenewstack.io/monoliths-to-microservices-an-api-first-approach/

⇱ Monoliths to Microservices: An API-First Approach - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2020-04-29 09:22:22
Monoliths to Microservices: An API-First Approach
contributed,sponsor-servicenow,sponsored,sponsored-post-contributed,
Microservices / Software Development

Monoliths to Microservices: An API-First Approach

For backend developers, making the decision to migrate from monolith to microservices can be an exciting opportunity to help drive a successful business transformation for the long haul.
Apr 29th, 2020 9:22am by James Burns
👁 Featued image for: Monoliths to Microservices: An API-First Approach
Feature image via Pixabay.
ServiceNow sponsored this post.
James Burns
James is Developer Advocate at LightStep. From network load balancers to FPGAs to ASICs to embedded security to cloud ops at scale, James has seen how systems work but, more interestingly, how they fail. He is passionate about sharing what he's learned to level up teams, make developers happier, and improve customer experiences.

For backend developers, making the decision to migrate from monolith to microservices can be an exciting opportunity to help drive a successful business transformation for the long haul.

But a successful migration is a long process and can burn out even the best of the best. Because of the many layers of abstraction in modern tech stacks, developers are generally inclined to do a data-first migration: to move a mode, or set of models, so it can be called using HTTP instead of the database.

At first glance, this seems like the easiest choice, but this technique can often lead to a distributed monolith that doesn’t generate a particularly easy to use or sensible backend work experience. It will be one with tightly coupled models across many services and only tolerable APIs. That’s why the best option is an API-first approach, which allows developers to create engaging, intuitive interfaces — ones that they’ll want to work with for a long time. So, where to start?

First, Take a Broader Look

Developers need to understand what “done” will actually look like. It’s a grey area, but in a microservice migration scenario that’s OK; and actually, that’s how it should be because APIs are versioned for a reason. New insights on the business problems handled by the new services can change the approach taken or the teams responsible for managing them.

ServiceNow Cloud Observability powered by Lightstep helps organizations manage the growing scale and complexity of cloud and cloud-native infrastructure, for complete visibility across the enterprise. For more information, visit: ServiceNow Observability
Learn More
The latest from Lightstep

Nevertheless, having a definitive mindset around the type of service and API that will most efficiently drive migration efforts is key. This way, developers can paint the perfect picture of how the process will play out early on, enabling them to make the call on whether or not it’s the right way to look at the change. These confirmations of an API’s usefulness will be continuous.

The net here is that this is a migration, not a transformation. Going against what’s already in place is not the end game, and never should be. It sounds like an investment of huge proportion, and it might be, but regardless developers are able to work faster to rule out (or rule in) an API’s interface amid a journey that better serves the organization in the long run.

The Business Process

Microservices allow software to rapidly communicate with other layers in the tech stack across diverse networks, an attribute that is vital if the business wants to remain competitive in the industry. Therefore, implementing and testing the most efficient business process is mission-critical for a migration that delivers ROI.

Integrating with API-stored data also enables developers to adapt to routinely working with them, and to quickly deal with any issues coming from the migration. Having a concrete understanding of the service and API that’s being created will make executing the migration a lighter lift. Basically, being transparent about how data is being concentrated helps developers to make decisions that ultimately benefit the project (and themselves) during the migration process.

Test the Waters

Again, an API-first approach allows developers to more quickly find out whether the strategy will succeed or fail. Chances are there will be some failures, so be ready and open to it. Design mistakes are common, and retiring a prototype and starting over is fine. Immediate use — and therefore, immediate feedback — of the API really helps cement the benefits of this approach.

The outcomes from implementing and observing these APIs can differ based on the process — developers might be creating datastore APIs in their monoliths, or separate from them. Either way works. What’s essential is the ability to know within days — rather than years — that an API’s interface will (or will not!) serve the migration.

Marching On

It’s important to know from the start that the perfect migration plan is not going to happen in one take. It’s a constant process. API interfaces are unpredictable against an existing monolith (and some more than others), so throughout the migration they’ll need to be prototyped, utilized and changed — in other words, constantly evolving. But by leveraging an API-first approach to microservice migration, this process can be much shorter — being executed over days, rather than months or even years at a time.

This approach also allows developers to grow their skill sets and create APIs they exceed at and enjoy working with; clearing a path for taking action when redundant development work becomes an ongoing issue. Once developers grasp and accustom themselves to these mechanisms, they’ll feel a shift in productivity that will drive them forward in their career as a developer and technical expert.

ServiceNow Cloud Observability powered by Lightstep helps organizations manage the growing scale and complexity of cloud and cloud-native infrastructure, for complete visibility across the enterprise.
Learn More
The latest from ServiceNow
TRENDING STORIES
ServiceNow sponsored this post.
SHARE THIS STORY
TRENDING STORIES
TNS owner Insight Partners is an investor in: Pragma.
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.