Last week, our amazing engineer Vincenzo Chianese opened up a deeper conversation around API Design at the Codemotion conference in Milan. Now, we get it – we can’t be everywhere all the time. SO – we’ve put together a neat little breakdown of his talk so you can still experience all of the LunchBadger magic from the comfort of your Morning Starbucks Code Jam Sesh (tm).

Architectural styles

It wouldn’t be a proper presentation about Resilient API Design without an intro about architectural styles. Microservices, a popular architectural style, face a few challenges:

Problem 1: Services can be discreetly defined in many ways

Business capability

Domain and subdomains

Model

Problem 2: Deployment units can vary in granularity

How many services per host?

What services per host?

How can you solve for this using an API gateway and make your tech stack more sustainable? It all comes back to design and keeping your API resiliency in mind.

Start with a Gateway Pattern

If you’re trying to address the disparate microservices, you can use centralized middleware to help solve this problem.

A Gateway can solve for:

Authentication

Security

Traffic Control

Ops

Logging

Transformations

Additionally, there are so many other use cases. Here’s a quick visual on what that looks like.

But you still have a granularity problem. Deployment units can vary and this can cause headaches down the line. With an API Gateway, there is a solution: Orchestration. Orchestrating your microservices with optimized endpoints, request collapsing and more magic helps address granularity challenges.

So there you go! We’re not going to give away all of the presentation, but as part of our ongoing commitment to the community, we’re proud to be able to give back expertise and share our know-how.

If you like what you’ve see so far, here’s an extra video snippet to help get you started. Don’t forget to give Vincenzo (@D3DVincent) a little love!

That’s it!

If you’re interested in more updates join the live discussion on Social Media: twitter (@lunchbadger) or (@express_gateway). Check out the links below for more ways to get involved, learn and get coding!