BUILDING A SAAS ECOMMERCE SYSTEM WITH MICROSERVICES
AGENDA
▸ Company & Goals
▸ Object Oriented Microservices
▸ Aspect Oriented Microservices
▸ Bounded Context and Team Changes
▸ Where we’ve got
The evils of too much coupling between services are far worse than the problems caused by code duplication.
Jan Stenberg (infoQ)
OBJECT ORIENTED MICROSERVICES
We can not just simply change that object. We don’t know what this will do to our system.
Developer working on a distributed monolith
OBJECT ORIENTED MICROSERVICES
When I change this in service A I also need to change that in service B.
Developer working on a distributed monolith
OBJECT ORIENTED MICROSERVICES
I need to know which other services I need to start so that your service does not crash.
Dev-Ops working on a distributed monolith
OBJECT ORIENTED MICROSERVICES
CATALOG BROWSING CHECKOUT AUTHORISE CREDIT CARD ROUTE ORDER PICK AND PACK CHARGE CREDIT
CARD
PRODUCT PRODUCT PRODUCTPAYMENT PAYMENTORDER
ORDER ORDER
CATALOG BROWSING CHECKOUT PICK AND PACK
PRODUCT PRODUCT PRODUCT
•Price
•Tax class
•Weight
•Dimensions
•Image
•Name
• Image
•Price
The evils of too much coupling between services are far worse than the problems caused by code duplication.
Jan Stenberg (infoQ)
ASPECT ORIENTED MICROSERVICES
Like any architectural style, microservices bring costs and benefits. To make a sensible choice you have to understand these and apply them to your specific context.
Martin Fowler
BUILDING A SAAS ECOMMERCE SYSTEM WITH MICROSERVICES
BUYEXPLORE OMS FULFILL
Browse and select productsCreate and checkout order
Route order to store and inform customerGuide associate through fulfilment
APPENDIX
IMAGE SOURCES
https://pixabay.com/en/light-bulbs-hanging-lighting-918581/https://pixabay.com/en/letters-numbers-blocks-alphabet-691842/http://barnimages.com/wires/https://pixabay.com/en/diner-restaurant-room-people-336499/http://bossfight.co/wp-content/uploads/2015/05/boss-fight-free-stock-images-photos-photography-fingers-woman-string.jpghttps://www.pixabay.com/en/audience-crowd-people-persons-828584/https://stock.tookapic.com/photos/28518http://jaymantri.com/post/93427518193/downloadhttps://pixabay.com/en/books-library-education-literature-768426/https://static.pexels.com/photos/7096/people-woman-coffee-meeting.jpghttp://johnsonbrandon.com/assets/gallery_images/daily-scrum.jpghttps://pixabay.com/en/people-crowd-group-team-dock-690105/https://static.pexels.com/photos/7075/people-office-group-team.jpghttps://pixabay.com/en/mechanics-engine-springs-mechanic-424130/http://skitterphoto.com/?portfolio=car-enginehttps://pixabay.com/en/rollercoaster-looping-amusement-801833/https://stocksnap.io/photo/SWDR6XR7YShttps://stocksnap.io/photo/O7S9P51D9Mhttps://stock.tookapic.com/photos/7714https://pixabay.com/en/digital-camera-disassembly-336670/http://negativespace.co/photos/traffic-trails/http://www.splitshire.com/straight-country-road/http://skitterphoto.com/?portfolio=board-gamehttps://picjumbo.com/man-in-a-winner-pose-walking-on-the-road/https://static.pexels.com/photos/519/light-sign-typography-lighting.jpghttp://www.splitshire.com/people-enjoying-concert/https://www.pixabay.com/en/dart-target-aim-arrow-goal-point-444196/https://stock.tookapic.com/photos/539http://barnimages.com/old-mail-boxes/http://barnimages.com/using-mobile-phone-in-cafe/https://stock.tookapic.com/photos/31873