an overview of microservices

24
Microservices - An Overview Ganesh Samarthyam

Upload: ganesh-samarthyam

Post on 10-Jan-2017

1.003 views

Category:

Software


0 download

TRANSCRIPT

Page 1: An overview of microservices

Microservices - An Overview

Ganesh Samarthyam

Page 2: An overview of microservices
Page 3: An overview of microservices

Microservices is an architectural style

Page 4: An overview of microservices

Complex application = composed of tiny services

Page 5: An overview of microservices

Communicate over REST API

HTTP GET

HTTP PUT

HTTP POST

HTTP DELETE

Page 6: An overview of microservices

Underlying philosophy

“do one thing and do it well”

Page 7: An overview of microservices

Who uses microservices?

Page 8: An overview of microservices

Monolithic

Page 9: An overview of microservices

Microservices

Page 10: An overview of microservices

Conway’s law“Any organization that designs a system… will inevitably produce

a design whose structure is a copy of the organization's communication structure”

Page 11: An overview of microservices

Conway’s lawTeam 1

Team 2Team 3

Team 4

Page 12: An overview of microservices

Conway’s law

Team 1 Team 2

Team 3

Team 4

Page 13: An overview of microservices

Monolithic to microservices

Page 14: An overview of microservices

Monolithic to microservices

Page 15: An overview of microservices

Microservices = “fine grained SOA” or “SOA 2.0”

Page 16: An overview of microservices

Service = manageable by “two pizza” team

Page 17: An overview of microservices

Service = a team can DURS (Deploy, Update, Replace, Scale)

Microservices = Damn U R Sexy

Page 18: An overview of microservices
Page 19: An overview of microservices

Security

Microservices expose a lot more functionality over the network => must ensure secure access

Page 20: An overview of microservices
Page 21: An overview of microservices

Web resources• Wikipedia entry for microservices • Martin Fowler’s article that provides an overview of micro services • Description of micro services architecture pattern • James Lewis’s podcast in SE-Radio on microservices • Migration to microservices by Adrian Cockcroft (Netflix) • From monolith to microservices by Randy Shoup

Page 22: An overview of microservices

Related books

Page 23: An overview of microservices

Image creditshttp://www.cartoondistrict.com/wp-content/uploads/2015/02/Cute-Minion-Wallpapers-HD-for-Desktop-35.jpg http://cabanastimeout.com/wp-content/uploads/2012/09/room-service-food.jpg https://www-304.ibm.com/connections/blogs/NordicMSP/resource/BLOGS_UPLOADED_IMAGES/IBM-BlueMix.jpg http://media.corporate-ir.net/media_files/IROL/97/97664/images/amazon_logo_RGB.jpg http://abovethecrowd.com/wp-content/uploads/2014/03/New-Logo-Vertical-Dark.jpg http://media.cmgdigital.com/shared/lt/lt_cache/thumbnail/960/img/photos/2015/09/01/27/c0/153e428c3fa34b359c044f49a877a256-112e2389b3ae420189218f669f397dba-0.jpg http://www8.hp.com/hpnext/sites/default/files/content/documents/HP%20Helion%20Logo_Cloud_Martin%20Fink_New%20Style%20of%20IT_Hewlett-Packard.PNG https://tribwpmt.files.wordpress.com/2015/02/s040515524.jpg?w=1200 http://image.cdn.ispot.tv/ad/73xH/carls-jr-most-american-thickburger-fireworks-large-6.jpg http://wrigleyville.org/wp-content/uploads/2014/03/food.jpg http://drpatsebastian.com/wp-content/uploads/2015/11/Healthy-Living-Mindful-Eating.jpg http://martinfowler.com/books/continuousDelivery.jpg http://www.firefly.in/images/vfx-projects/robot/robot5.jpg http://i.kinja-img.com/gawker-media/image/upload/s--MlM_qvA6--/c_fit,f_auto,fl_progressive,q_80,w_636/a0lykcwwhfjnduaculfs.jpg http://www.robogenesis.in/images/RobotSwarms_032813-617x416.jpg http://geekandpoke.typepad.com/geekandpoke/images/2007/06/16/soa1.jpg http://peter.bourgon.org/a-case-for-microservices/murder-mystery.png http://img14.deviantart.net/44a3/i/2014/028/6/0/__lola_bunny___by_berzerkcdemon-d744psx.jpg http://static.giantbomb.com/uploads/scale_small/0/1619/489900-pickpocket.jpg