Engineering the Future of Software
16–18 October 2017: Conference & Tutorials
18–19 October 2017: Training
London, UK

Acknowledging boundaries

Clément Delafargue (Clever Cloud)
15:5016:40 Tuesday, 17 October 2017
Microservices, pros and cons
Location: King's Suite - Balmoral Level: Intermediate
Secondary topics:  Best Practice, Overview
Average rating: ***..
(3.20, 5 ratings)

Prerequisite Knowledge

  • Familiarity with web services design and deployment

What you'll learn

  • Learn how to properly design a microservices architecture and a protocol for interservice communication

Description

Most of us are moving away from big monolithic architectures. By doing so, we gain lots of good things: scalability, smaller code bases, asynchronous deployments, and the ability to pick the right tech stack for every module. But by splitting our architecture, we push complexity to the boundaries between systems. Consistency that was ensured by an atomic codebase and type systems is now impossible to assert.

Clément Delafargue explains how taking boundaries into account reduces risk of inconsistent data and demonstrates how to encode messages between bricks to explicitly state, for each module, what structure is needed and what should be able to evolve without impacting the module. Implicit serialization may be simpler at the beginning, but explicit serialization helps a lot. Clément shares examples in JavaScript and Scala and some real-world experience in web development to show what happens when developers try to blur boundaries between the server side and the client side.

Photo of Clément Delafargue

Clément Delafargue

Clever Cloud

Clément Delafargue is CTO at Clever Cloud, where he works on IT automation and continuous delivery. A functional programmer by trade, Clément loves discussing FP, distributed systems, and cloud architecture.

Leave a Comment or Question

Help us make this conference the best it can be for you. Have questions you'd like this speaker to address? Suggestions for issues that deserve extra attention? Feedback that you'd like to share with the speaker and other attendees?

Join the conversation here (requires login)