13
Microservices The basics Abiola Ibrahim @abiosoft

Microservices

Embed Size (px)

Citation preview

MicroservicesThe basics

Abiola Ibrahim@abiosoft

Google Developer Groups (GDGs)

• For developers who are interested in Google's developer technology; Android, Chrome, Youtube and much more.

• Almost 600 Chapters globally

• 33 Chapters in Nigeria

• GDGLagos in Lagos

• To join, go to gdglagos.com and click “Join"

• For other chapters and more information, visit developers.google.com/groups

What is a microservice

Basically a self contained process that provides a unique business capability.

Different microservices act together like one large system

Like service

Catalog service

Cart service

Other services

What makes a microservice?• Single business capability.

• Stateless - a failure of the microservice should not bring down the whole system.

• Federated data - must be responsible for its own data.

Benefits• Loosely coupled system.

• Each unit is simple and focuses on doing one thing well.

• Each service can be built using the best and most appropriate tool for the job.

• Multiple developers and teams can deliver relatively independently of each other.

• Good for continuous delivery, allowing frequent releases whilst keeping the rest of the system available and stable.

New Worries• Substantial DevOps Skills Required

• Distributed System Complexity

• Monitoring. Harder than monitoring monoliths.

• Maintenance Burden.

Should my team migrate to microservices ?

• Ensure your team is up to the task. Dev and Ops.

• Ensure you have the resources. Don’t miss deadline.

• Start small and make adjustments as needed.

• Keep It Simple Stupid.

• Employ tools that help the process. Weaveworks, Bamboo, GKE e.t.c.

• Take a pragmatic approach. Common sense first.

DemoLovely Word Transformer

• Upper case service

• Lower case service

• Reverse service

• Title case service U C L C T C R

API Gateway

Frontend

Demo source available at https://github.com/abiosoft/lovelywordtransformer

Fun Video

https://www.youtube.com/watch?v=Q65Q1Mi5Jtw

An Awkward MicroServices Conversation

Thank You