Submit Search
Upload
Microservices architecture pitfalls
•
13 likes
•
3,008 views
allegro.tech
Follow
This is presentation on microservices architecture given at WJUG meeting in March 2015.
Read less
Read more
Report
Share
Report
Share
1 of 78
Download now
Download to read offline
Recommended
Microservice pitfalls
Microservice pitfalls
Mite Mitreski
Scaling infrastructure beyond containers
Scaling infrastructure beyond containers
allegro.tech
Microservices with Spring Cloud
Microservices with Spring Cloud
Daniel Eichten
stackconf 2021 | How we finally migrated an eCommerce-Platform to GCP
stackconf 2021 | How we finally migrated an eCommerce-Platform to GCP
NETWAYS
Integration in the Cloud, by Rob Davies
Integration in the Cloud, by Rob Davies
Judy Breedlove
Matt Chung (Independent) - Serverless application with AWS Lambda
Matt Chung (Independent) - Serverless application with AWS Lambda
Outlyer
Microservices with Spring Cloud, Netflix OSS and Kubernetes
Microservices with Spring Cloud, Netflix OSS and Kubernetes
Christian Posta
Microservices, DevOps, and Containers with OpenShift and Fabric8
Microservices, DevOps, and Containers with OpenShift and Fabric8
Christian Posta
Recommended
Microservice pitfalls
Microservice pitfalls
Mite Mitreski
Scaling infrastructure beyond containers
Scaling infrastructure beyond containers
allegro.tech
Microservices with Spring Cloud
Microservices with Spring Cloud
Daniel Eichten
stackconf 2021 | How we finally migrated an eCommerce-Platform to GCP
stackconf 2021 | How we finally migrated an eCommerce-Platform to GCP
NETWAYS
Integration in the Cloud, by Rob Davies
Integration in the Cloud, by Rob Davies
Judy Breedlove
Matt Chung (Independent) - Serverless application with AWS Lambda
Matt Chung (Independent) - Serverless application with AWS Lambda
Outlyer
Microservices with Spring Cloud, Netflix OSS and Kubernetes
Microservices with Spring Cloud, Netflix OSS and Kubernetes
Christian Posta
Microservices, DevOps, and Containers with OpenShift and Fabric8
Microservices, DevOps, and Containers with OpenShift and Fabric8
Christian Posta
Microservices with Spring Boot
Microservices with Spring Boot
Rasheed Waraich
Spring Cloud Netflix OSS
Spring Cloud Netflix OSS
Steve Hall
Leonard Austin (Ravelin) - DevOps in a Machine Learning World
Leonard Austin (Ravelin) - DevOps in a Machine Learning World
Outlyer
容器革命的「利」與「必」
容器革命的「利」與「必」
inwin stack
NYC Kubernetes Meetup: Ambassador and Istio - Flynn, Datawire
NYC Kubernetes Meetup: Ambassador and Istio - Flynn, Datawire
Ambassador Labs
Brendon Foxen (Channel 4) - Speeding up Software Delivery at Channel 4
Brendon Foxen (Channel 4) - Speeding up Software Delivery at Channel 4
Outlyer
Atlanta Microservices Day: Istio Service Mesh
Atlanta Microservices Day: Istio Service Mesh
Christian Posta
Cloud Solution Day 2016: Service Mesh for Kubernetes
Cloud Solution Day 2016: Service Mesh for Kubernetes
AWS Vietnam Community
Microservices Architecture
Microservices Architecture
Srinivasan Nanduri
Microservices with Spring
Microservices with Spring
Software Infrastructure
OpenStack at Bloomberg
OpenStack at Bloomberg
Tesora
Netflix Cloud Platform and Open Source
Netflix Cloud Platform and Open Source
aspyker
Owain Perry (Just Giving) - Continuous Delivery of Windows Micro-Services in ...
Owain Perry (Just Giving) - Continuous Delivery of Windows Micro-Services in ...
Outlyer
Datadog- Monitoring In Motion
Datadog- Monitoring In Motion
Cloud Native Apps SF
Securing your Cloud Environment v2
Securing your Cloud Environment v2
ShapeBlue
Microservices with Spring Cloud and Netflix OSS
Microservices with Spring Cloud and Netflix OSS
Denis Danov
Web Application Firewall - Friend of your DevOps Chain?
Web Application Firewall - Friend of your DevOps Chain?
Franziska Buehler
Mutating Admission Webhook creation
Mutating Admission Webhook creation
Victor Morales
The Hardest Part of Microservices: Your Data - Christian Posta, Red Hat
The Hardest Part of Microservices: Your Data - Christian Posta, Red Hat
Ambassador Labs
Your Developers Can Be Heroes on Kubernetes
Your Developers Can Be Heroes on Kubernetes
Ambassador Labs
AMIS Oracle OpenWorld en Code One Review 2018 - Blockchain, Integration, Serv...
AMIS Oracle OpenWorld en Code One Review 2018 - Blockchain, Integration, Serv...
Getting value from IoT, Integration and Data Analytics
Blockchain, Integration, Serverless, Microservices - OOW / Code One 2018 Review
Blockchain, Integration, Serverless, Microservices - OOW / Code One 2018 Review
Robert van Mölken
More Related Content
What's hot
Microservices with Spring Boot
Microservices with Spring Boot
Rasheed Waraich
Spring Cloud Netflix OSS
Spring Cloud Netflix OSS
Steve Hall
Leonard Austin (Ravelin) - DevOps in a Machine Learning World
Leonard Austin (Ravelin) - DevOps in a Machine Learning World
Outlyer
容器革命的「利」與「必」
容器革命的「利」與「必」
inwin stack
NYC Kubernetes Meetup: Ambassador and Istio - Flynn, Datawire
NYC Kubernetes Meetup: Ambassador and Istio - Flynn, Datawire
Ambassador Labs
Brendon Foxen (Channel 4) - Speeding up Software Delivery at Channel 4
Brendon Foxen (Channel 4) - Speeding up Software Delivery at Channel 4
Outlyer
Atlanta Microservices Day: Istio Service Mesh
Atlanta Microservices Day: Istio Service Mesh
Christian Posta
Cloud Solution Day 2016: Service Mesh for Kubernetes
Cloud Solution Day 2016: Service Mesh for Kubernetes
AWS Vietnam Community
Microservices Architecture
Microservices Architecture
Srinivasan Nanduri
Microservices with Spring
Microservices with Spring
Software Infrastructure
OpenStack at Bloomberg
OpenStack at Bloomberg
Tesora
Netflix Cloud Platform and Open Source
Netflix Cloud Platform and Open Source
aspyker
Owain Perry (Just Giving) - Continuous Delivery of Windows Micro-Services in ...
Owain Perry (Just Giving) - Continuous Delivery of Windows Micro-Services in ...
Outlyer
Datadog- Monitoring In Motion
Datadog- Monitoring In Motion
Cloud Native Apps SF
Securing your Cloud Environment v2
Securing your Cloud Environment v2
ShapeBlue
Microservices with Spring Cloud and Netflix OSS
Microservices with Spring Cloud and Netflix OSS
Denis Danov
Web Application Firewall - Friend of your DevOps Chain?
Web Application Firewall - Friend of your DevOps Chain?
Franziska Buehler
Mutating Admission Webhook creation
Mutating Admission Webhook creation
Victor Morales
The Hardest Part of Microservices: Your Data - Christian Posta, Red Hat
The Hardest Part of Microservices: Your Data - Christian Posta, Red Hat
Ambassador Labs
Your Developers Can Be Heroes on Kubernetes
Your Developers Can Be Heroes on Kubernetes
Ambassador Labs
What's hot
(20)
Microservices with Spring Boot
Microservices with Spring Boot
Spring Cloud Netflix OSS
Spring Cloud Netflix OSS
Leonard Austin (Ravelin) - DevOps in a Machine Learning World
Leonard Austin (Ravelin) - DevOps in a Machine Learning World
容器革命的「利」與「必」
容器革命的「利」與「必」
NYC Kubernetes Meetup: Ambassador and Istio - Flynn, Datawire
NYC Kubernetes Meetup: Ambassador and Istio - Flynn, Datawire
Brendon Foxen (Channel 4) - Speeding up Software Delivery at Channel 4
Brendon Foxen (Channel 4) - Speeding up Software Delivery at Channel 4
Atlanta Microservices Day: Istio Service Mesh
Atlanta Microservices Day: Istio Service Mesh
Cloud Solution Day 2016: Service Mesh for Kubernetes
Cloud Solution Day 2016: Service Mesh for Kubernetes
Microservices Architecture
Microservices Architecture
Microservices with Spring
Microservices with Spring
OpenStack at Bloomberg
OpenStack at Bloomberg
Netflix Cloud Platform and Open Source
Netflix Cloud Platform and Open Source
Owain Perry (Just Giving) - Continuous Delivery of Windows Micro-Services in ...
Owain Perry (Just Giving) - Continuous Delivery of Windows Micro-Services in ...
Datadog- Monitoring In Motion
Datadog- Monitoring In Motion
Securing your Cloud Environment v2
Securing your Cloud Environment v2
Microservices with Spring Cloud and Netflix OSS
Microservices with Spring Cloud and Netflix OSS
Web Application Firewall - Friend of your DevOps Chain?
Web Application Firewall - Friend of your DevOps Chain?
Mutating Admission Webhook creation
Mutating Admission Webhook creation
The Hardest Part of Microservices: Your Data - Christian Posta, Red Hat
The Hardest Part of Microservices: Your Data - Christian Posta, Red Hat
Your Developers Can Be Heroes on Kubernetes
Your Developers Can Be Heroes on Kubernetes
Similar to Microservices architecture pitfalls
AMIS Oracle OpenWorld en Code One Review 2018 - Blockchain, Integration, Serv...
AMIS Oracle OpenWorld en Code One Review 2018 - Blockchain, Integration, Serv...
Getting value from IoT, Integration and Data Analytics
Blockchain, Integration, Serverless, Microservices - OOW / Code One 2018 Review
Blockchain, Integration, Serverless, Microservices - OOW / Code One 2018 Review
Robert van Mölken
From DevOps to NoOps
From DevOps to NoOps
Capgemini
Serverless 101 in Montreal
Serverless 101 in Montreal
Aaron Williams
Scaling micro services at gilt
Scaling micro services at gilt
Adrian Trenaman
56k.cloud training
56k.cloud training
Brian Christner
Integration in the Cloud
Integration in the Cloud
Rob Davies
DockerCon 15 Keynote - Day 2
DockerCon 15 Keynote - Day 2
Docker, Inc.
DevOps Con 2015: Radical Agility with Autonomous Teams and Microservices in t...
DevOps Con 2015: Radical Agility with Autonomous Teams and Microservices in t...
Henning Jacobs
Dev ops con 2015 radical agility with autonomous teams and microservices in...
Dev ops con 2015 radical agility with autonomous teams and microservices in...
Jan Löffler
Radical Agility with Autonomous Teams and Microservices in the Cloud
Radical Agility with Autonomous Teams and Microservices in the Cloud
Zalando Technology
DOES16 London - Jonathan Fletcher - Re-imagining Hiscox IT: A DevOps Story
DOES16 London - Jonathan Fletcher - Re-imagining Hiscox IT: A DevOps Story
Gene Kim
Business and IT agility through DevOps and microservice architecture powered ...
Business and IT agility through DevOps and microservice architecture powered ...
Lucas Jellema
GeeCON Microservices 2015 scaling micro services at gilt
GeeCON Microservices 2015 scaling micro services at gilt
Adrian Trenaman
Devcon3 : iExec Allowing Scalable, Efficient, and Virtualized Off-chain Execu...
Devcon3 : iExec Allowing Scalable, Efficient, and Virtualized Off-chain Execu...
Gilles Fedak
JavaOne 2015: Scaling micro services at Gilt
JavaOne 2015: Scaling micro services at Gilt
Adrian Trenaman
Java Agile ALM: OTAP and DevOps in the Cloud
Java Agile ALM: OTAP and DevOps in the Cloud
MongoDB
Node.js meetup at Palo Alto Networks Tel Aviv
Node.js meetup at Palo Alto Networks Tel Aviv
Ron Perlmuter
Orchestrating microservices like a ninja
Orchestrating microservices like a ninja
Apigee | Google Cloud
Micro Front-End & Microservices - Plansoft
Micro Front-End & Microservices - Plansoft
Miki Lombardi
Similar to Microservices architecture pitfalls
(20)
AMIS Oracle OpenWorld en Code One Review 2018 - Blockchain, Integration, Serv...
AMIS Oracle OpenWorld en Code One Review 2018 - Blockchain, Integration, Serv...
Blockchain, Integration, Serverless, Microservices - OOW / Code One 2018 Review
Blockchain, Integration, Serverless, Microservices - OOW / Code One 2018 Review
From DevOps to NoOps
From DevOps to NoOps
Serverless 101 in Montreal
Serverless 101 in Montreal
Scaling micro services at gilt
Scaling micro services at gilt
56k.cloud training
56k.cloud training
Integration in the Cloud
Integration in the Cloud
DockerCon 15 Keynote - Day 2
DockerCon 15 Keynote - Day 2
DevOps Con 2015: Radical Agility with Autonomous Teams and Microservices in t...
DevOps Con 2015: Radical Agility with Autonomous Teams and Microservices in t...
Dev ops con 2015 radical agility with autonomous teams and microservices in...
Dev ops con 2015 radical agility with autonomous teams and microservices in...
Radical Agility with Autonomous Teams and Microservices in the Cloud
Radical Agility with Autonomous Teams and Microservices in the Cloud
DOES16 London - Jonathan Fletcher - Re-imagining Hiscox IT: A DevOps Story
DOES16 London - Jonathan Fletcher - Re-imagining Hiscox IT: A DevOps Story
Business and IT agility through DevOps and microservice architecture powered ...
Business and IT agility through DevOps and microservice architecture powered ...
GeeCON Microservices 2015 scaling micro services at gilt
GeeCON Microservices 2015 scaling micro services at gilt
Devcon3 : iExec Allowing Scalable, Efficient, and Virtualized Off-chain Execu...
Devcon3 : iExec Allowing Scalable, Efficient, and Virtualized Off-chain Execu...
JavaOne 2015: Scaling micro services at Gilt
JavaOne 2015: Scaling micro services at Gilt
Java Agile ALM: OTAP and DevOps in the Cloud
Java Agile ALM: OTAP and DevOps in the Cloud
Node.js meetup at Palo Alto Networks Tel Aviv
Node.js meetup at Palo Alto Networks Tel Aviv
Orchestrating microservices like a ninja
Orchestrating microservices like a ninja
Micro Front-End & Microservices - Plansoft
Micro Front-End & Microservices - Plansoft
More from allegro.tech
Allegro Tech Talks Poznań #4: Jak przyspieszyć SOLRa w kilku prostych krokach.
Allegro Tech Talks Poznań #4: Jak przyspieszyć SOLRa w kilku prostych krokach.
allegro.tech
allegro.tech Data Science Meetup #2: Elasticsearch w praktyce
allegro.tech Data Science Meetup #2: Elasticsearch w praktyce
allegro.tech
[WHUG] Wielki brat patrzy - czyli jak zbieramy dane o użytkownikach allegro
[WHUG] Wielki brat patrzy - czyli jak zbieramy dane o użytkownikach allegro
allegro.tech
Confitura 2015 - Code Quality Keepers @ Allegro
Confitura 2015 - Code Quality Keepers @ Allegro
allegro.tech
Confitura 2015 - Mikrousługi nie lubią być samotne
Confitura 2015 - Mikrousługi nie lubią być samotne
allegro.tech
RxJava & Hystrix - Perfect match for distributed applications
RxJava & Hystrix - Perfect match for distributed applications
allegro.tech
RxJava - introduction & design
RxJava - introduction & design
allegro.tech
JDD 2014: Adam Dubiel - Import allegro.tech.internal.*
JDD 2014: Adam Dubiel - Import allegro.tech.internal.*
allegro.tech
Fighting with scale
Fighting with scale
allegro.tech
More from allegro.tech
(9)
Allegro Tech Talks Poznań #4: Jak przyspieszyć SOLRa w kilku prostych krokach.
Allegro Tech Talks Poznań #4: Jak przyspieszyć SOLRa w kilku prostych krokach.
allegro.tech Data Science Meetup #2: Elasticsearch w praktyce
allegro.tech Data Science Meetup #2: Elasticsearch w praktyce
[WHUG] Wielki brat patrzy - czyli jak zbieramy dane o użytkownikach allegro
[WHUG] Wielki brat patrzy - czyli jak zbieramy dane o użytkownikach allegro
Confitura 2015 - Code Quality Keepers @ Allegro
Confitura 2015 - Code Quality Keepers @ Allegro
Confitura 2015 - Mikrousługi nie lubią być samotne
Confitura 2015 - Mikrousługi nie lubią być samotne
RxJava & Hystrix - Perfect match for distributed applications
RxJava & Hystrix - Perfect match for distributed applications
RxJava - introduction & design
RxJava - introduction & design
JDD 2014: Adam Dubiel - Import allegro.tech.internal.*
JDD 2014: Adam Dubiel - Import allegro.tech.internal.*
Fighting with scale
Fighting with scale
Microservices architecture pitfalls
1.
Microservices architecture pitfalls WJUG
meeting ◦ march 2015 Mateusz Gajewski Solutions Architect @ Allegro Twitter: @wendigo
2.
About me given: I
started working in Allegro in 2009 (5 mln AO, 50 devs) when: Allegro reached 40 mln AO, 400 devs then: I am Solutions Architect 2
3.
Agenda • Microservices, microservices,
microservices! ;) • Some challenges & pitfalls: • Architectural, • Operational, • Organisational 3
4.
Let’s go back
in time to year 2012 4
5.
5
6.
Back then we
wanted • agile development, • scalability, • resilience, • lower costs, • hybrid cloud. 6
7.
Basically SOA +
JVM was an answer! 7
8.
But our system
was too BIG & too complex to do it with existing enterprise solutions 8
9.
s/Enterprise/OSS/g Solutions ;) 9
10.
we’ve started to
do *buzzword* 10
11.
And now, literally
everyone is doing microservices!!?? 11
12.
Microservices by Fowler 12 Lots
of *buzzwords* http://martinfowler.com/articles/microservices.html
13.
SOA ≈ microservices? 13
14.
microservices architecture ≈ fine-grained SOA
− enterprise (commercial) sh*t ≈ highly scalable, distributed system 14
15.
Distributed systems • concurrency
of components, • independent failure of components, • lack of a global clock. 15
16.
The Eight Fallacies
of Distributed Computing 16 by Peter Deutsch 1991
17.
#1: Network is
reliable 17
18.
#2: Latency is
zero 18
19.
#3: Bandwidth is
infinite 19
20.
#4: Network is
secure 20
21.
#5: Topology doesn’t
change 21
22.
#6: There is
one administrator 22
23.
#7: Transport cost
is zero 23
24.
#8: Network is
homogeneous 24
25.
distributed systems are
hard → microservices are much harder ;) 25
26.
What have we
learnt? 26
27.
Act I: architectural constraints 27
28.
CAP is not
just theorem it’s reality against us 28
29.
bye, bye ACID
semantics 29
30.
Long live BASE
guarantees! Basically Available, Soft state, Eventually consistent 30
31.
distributed transactions add complexity 31
32.
it’s far cheaper
to do compensation 32
33.
33 http://bravenewgeek.com/you-cannot-have-exactly-once-delivery/
34.
you need idempotent
APIs and events sinks 34
35.
35 choreography > orchestration
36.
So we’ve built
Hermes a.k.a circulatory system 36
37.
network can be
congested! 37
38.
REST+JSON on top
of HTTP/1.1 is fine 38
39.
REST+JSON on top
of HTTP/2.0 with TLS is finer 39
40.
we don’t rely
on network anymore net splits in public clouds happens everytime! 40
41.
we adopted antifragile organization 41
42.
42
43.
powerful tandem 43 + Reactive programming
Circuit breaker pattern
44.
you need to
support non- native old services, clients and systems 44
45.
45
46.
conclusion: constant architecture improvement 46
47.
47 Act II: operational troubles
48.
creating new service
should be instant! 48
49.
49
50.
automation with gradle &
axions 50
51.
51
52.
so now we’ve
got over 1800 repositories grouped under 250 projects 52
53.
all with CI, code
quality checks, security checks, integrated with sonar & artefact repository 53
54.
but what with services
upgrades? 54
55.
we’ve initially built
our own service stack … and it was ok - for a while 55
56.
now we are
extending spring-boot with so called andamio project 56
57.
rapid deployments integrated with
CI/CD environment and canary tests are must-have 57
58.
war files ▾ scp +
puppet ▾ golden images ▾ docker (immutable images) ▾ 58
59.
frequency of changes →
automated monitoring, logging & operational insights 59
60.
graphite statsd cabot tessera kibana logstash zabbix newrelic selena pingdom … 60
61.
Monitoring As A
Service + SLA Monitoring + 61
62.
we need to
build real-time anomaly detection soon 62
63.
63 Act III: organizational shift
64.
strategic DDD is
good for splitting up monolith 64
65.
but leave tactical
DDD up to teams 65
66.
huge polyglot hangover 66
67.
acquiring distributed skills 67
68.
you build it
- you run it 68
69.
coupling avoidance 69
70.
please don’t audit
me 70
71.
distributed (micro) data curation 71
72.
So after two
years… 72
73.
73
74.
Final thoughts 74
75.
75
76.
76
77.
77
78.
Thanks! Any questions? Visit our
blog: allegrotech.io Follow us on twitter: @allegrotechblog Check our OSS projects: github.com/allegro And meetup group: meetup.com/allegrotech 78
Download now