Use the crawling skeleton ... - devops.talksplus.com...A methodology based on DevOps principals Flow...
Transcript of Use the crawling skeleton ... - devops.talksplus.com...A methodology based on DevOps principals Flow...
![Page 1: Use the crawling skeleton ... - devops.talksplus.com...A methodology based on DevOps principals Flow Always seeking to increase flow Feedback Shorten & amplify feedback loops Learning](https://reader033.fdocuments.us/reader033/viewer/2022051904/5ff5855aebc6432d6b423867/html5/thumbnails/1.jpg)
Use the crawling skeleton methodology to successfully build microservices Ben Mostafa
![Page 2: Use the crawling skeleton ... - devops.talksplus.com...A methodology based on DevOps principals Flow Always seeking to increase flow Feedback Shorten & amplify feedback loops Learning](https://reader033.fdocuments.us/reader033/viewer/2022051904/5ff5855aebc6432d6b423867/html5/thumbnails/2.jpg)
Microservices can be complex and fragile.
The crawling skeleton methodology will help mitigate these risks early.
![Page 3: Use the crawling skeleton ... - devops.talksplus.com...A methodology based on DevOps principals Flow Always seeking to increase flow Feedback Shorten & amplify feedback loops Learning](https://reader033.fdocuments.us/reader033/viewer/2022051904/5ff5855aebc6432d6b423867/html5/thumbnails/3.jpg)
Reduce complexityand fragility of your
system
Maintain stakeholderconfidence throughout
development
Increase speedand quality of
delivery
Your microservices platform
![Page 4: Use the crawling skeleton ... - devops.talksplus.com...A methodology based on DevOps principals Flow Always seeking to increase flow Feedback Shorten & amplify feedback loops Learning](https://reader033.fdocuments.us/reader033/viewer/2022051904/5ff5855aebc6432d6b423867/html5/thumbnails/4.jpg)
Who is MessageMedia?Number one provider of business messaging solutions
1.8 billion messages
![Page 5: Use the crawling skeleton ... - devops.talksplus.com...A methodology based on DevOps principals Flow Always seeking to increase flow Feedback Shorten & amplify feedback loops Learning](https://reader033.fdocuments.us/reader033/viewer/2022051904/5ff5855aebc6432d6b423867/html5/thumbnails/5.jpg)
Ben MostafaEngineering Manager & Head of Developer Relations
![Page 6: Use the crawling skeleton ... - devops.talksplus.com...A methodology based on DevOps principals Flow Always seeking to increase flow Feedback Shorten & amplify feedback loops Learning](https://reader033.fdocuments.us/reader033/viewer/2022051904/5ff5855aebc6432d6b423867/html5/thumbnails/6.jpg)
A methodology based on DevOps principals
FlowAlways seeking to
increase flow
FeedbackShorten & amplify
feedback loops
Learning & Experimentation
Repetition & Practice
![Page 7: Use the crawling skeleton ... - devops.talksplus.com...A methodology based on DevOps principals Flow Always seeking to increase flow Feedback Shorten & amplify feedback loops Learning](https://reader033.fdocuments.us/reader033/viewer/2022051904/5ff5855aebc6432d6b423867/html5/thumbnails/7.jpg)
Three phases of implementation
Crawling
Walking
Running
![Page 8: Use the crawling skeleton ... - devops.talksplus.com...A methodology based on DevOps principals Flow Always seeking to increase flow Feedback Shorten & amplify feedback loops Learning](https://reader033.fdocuments.us/reader033/viewer/2022051904/5ff5855aebc6432d6b423867/html5/thumbnails/8.jpg)
Step 1: Stack and communication methods
Synchronous – HTTPEasier to implement
Typically better for maintaining transactional integrity
Asynchronous – QueuesTypically more fault tolerant
Better at dealing withspikes in traffic
![Page 9: Use the crawling skeleton ... - devops.talksplus.com...A methodology based on DevOps principals Flow Always seeking to increase flow Feedback Shorten & amplify feedback loops Learning](https://reader033.fdocuments.us/reader033/viewer/2022051904/5ff5855aebc6432d6b423867/html5/thumbnails/9.jpg)
Step 2: Create your first bone!
![Page 10: Use the crawling skeleton ... - devops.talksplus.com...A methodology based on DevOps principals Flow Always seeking to increase flow Feedback Shorten & amplify feedback loops Learning](https://reader033.fdocuments.us/reader033/viewer/2022051904/5ff5855aebc6432d6b423867/html5/thumbnails/10.jpg)
Step 3: Add load and analyse
![Page 11: Use the crawling skeleton ... - devops.talksplus.com...A methodology based on DevOps principals Flow Always seeking to increase flow Feedback Shorten & amplify feedback loops Learning](https://reader033.fdocuments.us/reader033/viewer/2022051904/5ff5855aebc6432d6b423867/html5/thumbnails/11.jpg)
Step 4: Wire up your crawling skeleton!
![Page 12: Use the crawling skeleton ... - devops.talksplus.com...A methodology based on DevOps principals Flow Always seeking to increase flow Feedback Shorten & amplify feedback loops Learning](https://reader033.fdocuments.us/reader033/viewer/2022051904/5ff5855aebc6432d6b423867/html5/thumbnails/12.jpg)
Step 5: Add load and analyse
![Page 13: Use the crawling skeleton ... - devops.talksplus.com...A methodology based on DevOps principals Flow Always seeking to increase flow Feedback Shorten & amplify feedback loops Learning](https://reader033.fdocuments.us/reader033/viewer/2022051904/5ff5855aebc6432d6b423867/html5/thumbnails/13.jpg)
skb rides the rocket – wtf?![31333817.179933] xennet: skb rides the rocket: 19 slots[31334587.454365] xennet: skb rides the rocket: 21 slots[31334772.157791] xennet: skb rides the rocket: 20 slots[31335254.431489] xennet: skb rides the rocket: 19 slots[31336785.643018] xennet: skb rides the rocket: 19 slots[31337438.686311] xennet: skb rides the rocket: 21 slots
eth0 Link encap:Ethernet HWaddr 0e:cd:f0:69:b1:29inet addr:10.0.7.254 Bcast:10.0.7.255 Mask:255.255.255.0inet6 addr: fe80::ccd:f0ff:fe69:b129/64 Scope:LinkUP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1RX packets:1913740 errors:0 dropped:0 overruns:0 frame:0TX packets:1619310 errors:0 dropped:6 overruns:0 carrier:0collisions:0 txqueuelen:1000RX bytes:1196646593 (1.1 GB) TX bytes:234005040 (234.0 MB)Interrupt:48
![Page 14: Use the crawling skeleton ... - devops.talksplus.com...A methodology based on DevOps principals Flow Always seeking to increase flow Feedback Shorten & amplify feedback loops Learning](https://reader033.fdocuments.us/reader033/viewer/2022051904/5ff5855aebc6432d6b423867/html5/thumbnails/14.jpg)
Step 6: Teach your skeleton to walk!
![Page 15: Use the crawling skeleton ... - devops.talksplus.com...A methodology based on DevOps principals Flow Always seeking to increase flow Feedback Shorten & amplify feedback loops Learning](https://reader033.fdocuments.us/reader033/viewer/2022051904/5ff5855aebc6432d6b423867/html5/thumbnails/15.jpg)
Step 7: Add load and analyse
![Page 16: Use the crawling skeleton ... - devops.talksplus.com...A methodology based on DevOps principals Flow Always seeking to increase flow Feedback Shorten & amplify feedback loops Learning](https://reader033.fdocuments.us/reader033/viewer/2022051904/5ff5855aebc6432d6b423867/html5/thumbnails/16.jpg)
Step 8: Teach your skeleton how to run!
![Page 17: Use the crawling skeleton ... - devops.talksplus.com...A methodology based on DevOps principals Flow Always seeking to increase flow Feedback Shorten & amplify feedback loops Learning](https://reader033.fdocuments.us/reader033/viewer/2022051904/5ff5855aebc6432d6b423867/html5/thumbnails/17.jpg)
Key Learnings
Queues are worth the effort
Dead letter queues are great for recovery
Use an event stream
Unknown unknowns
Transaction IDs are great for traceability
![Page 18: Use the crawling skeleton ... - devops.talksplus.com...A methodology based on DevOps principals Flow Always seeking to increase flow Feedback Shorten & amplify feedback loops Learning](https://reader033.fdocuments.us/reader033/viewer/2022051904/5ff5855aebc6432d6b423867/html5/thumbnails/18.jpg)
Mitigate complexity and fragility early
Methodology based on DevOps
Create bone, add meat, make run
![Page 19: Use the crawling skeleton ... - devops.talksplus.com...A methodology based on DevOps principals Flow Always seeking to increase flow Feedback Shorten & amplify feedback loops Learning](https://reader033.fdocuments.us/reader033/viewer/2022051904/5ff5855aebc6432d6b423867/html5/thumbnails/19.jpg)
Stay in touch!
linkedin.com/in/ben-mostafa
developers.messagemedia.com/collaborate/slack/