Fighting vendor lock-in and designing testable serverless functions using hexagonal architectures

Slobodan Stojanović, Vacation Tracker

The idea of hexagonal architecture is to allow an application to equally be driven by users, programs, automated test or batch scripts, and to be developed and tested in isolation from its eventual run-time devices and databases. On the other hand, it’s not trivial to test serverless applications locally. But what if we apply hexagonal architecture to serverless apps? They seem a natural fit!

With hexagonal architecture, your can design testable serverless functions. It also allows you to write unit tests without complex mocks, and as many integration tests as you need. As a bonus, your code looks clean and it’s easy to maintain. Hexagonal architecture also helps you fight vendor lock-in.

Objective of the talk

  • Learn the main challenges with serverless apps and their testing
  • Learn the concepts of hexagonal architecture
  • Learn to design testable serverless apps using hexagonal architecture
  • See the real world examples
  • Learn how hexagonal architecture affects vendor lock-in

Required audience experience

This talk is for both beginners and experienced developers.

Track 1
Location: Mountbatten Date: November 6, 2019 Time: 4:10 pm - 4:55 pm Slobodan Stojanović, Vacation Tracker Slobodan Stojanović, Vacation Tracker