Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Django Microservices Made Easy
Search
Paul Hallett
March 31, 2016
Technology
0
590
Django Microservices Made Easy
Paul Hallett
March 31, 2016
Tweet
Share
More Decks by Paul Hallett
See All by Paul Hallett
What it's really like building RESTful Web APIs with Django
phalt
0
87
Other Decks in Technology
See All in Technology
IPA&AWSダブル全冠が明かす、人生を変えた勉強法のすべて
iwamot
PRO
2
230
shake-upを科学する
rsakata
7
960
伴走から自律へ: 形式知へと導くSREイネーブリングによる プロダクトチームの信頼性オーナーシップ向上 / SRE NEXT 2025
visional_engineering_and_design
3
260
CDK Vibe Coding Fes
tomoki10
1
600
United™️ Airlines®️ Customer®️ USA Contact Numbers: Complete 2025 Support Guide
flyunitedguide
0
790
ClaudeCode_vs_GeminiCLI_Terraformで比較してみた
tkikuchi
1
130
データ基盤からデータベースまで?広がるユースケースのDatabricksについて教えるよ!
akuwano
3
170
american airlines®️ USA Contact Numbers: Complete 2025 Support Guide
supportflight
1
120
NewSQLや分散データベースを支えるRaftの仕組み - 仕組みを理解して知る得意不得意
hacomono
PRO
3
230
United airlines®️ USA Contact Numbers: Complete 2025 Support Guide
unitedflyhelp
0
340
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
5
39k
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
2.7k
Featured
See All Featured
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
The Invisible Side of Design
smashingmag
301
51k
StorybookのUI Testing Handbookを読んだ
zakiyama
30
5.9k
Why You Should Never Use an ORM
jnunemaker
PRO
58
9.4k
Into the Great Unknown - MozCon
thekraken
40
1.9k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
[RailsConf 2023] Rails as a piece of cake
palkan
55
5.7k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
970
Gamification - CAS2011
davidbonilla
81
5.4k
The Language of Interfaces
destraynor
158
25k
Producing Creativity
orderedlist
PRO
346
40k
Transcript
Django Microservices Made Easy
2 Hi, I’m Paul @phalt_
None
*Mandatory Microservice Diagram
5 5
6 *copyright Disney
*Mandatory Microservice Diagram
8
None
None
None
None
13 Merge conflicts
14 Migrations I think there are a lot more issues
you could mention such as spaghetti code due to no clear separation of concerns, deploy time. One thing could break everything etc.
15
16
Problem One 17
18 18 Shared Databases 1st Problem
19 Problem One Solution One
20 20 Isolate Dependencies 1st Solution
21
22
23
24
25
26
27
Problem Two 28
29 29 Inconsistent File Structures 2nd Problem
30 Problem Two Solution Two
Project Templates 2nd Solution
32 32
Django Django REST Framework Docker Configuration Docker file docker-compose Circle
CI Test Runners Linting Test Coverage Reports Error Logging & Performance Sentry New Relic Common Make Commands What’s in the template? *Mandatory Technologies List Slide
None
None
None
Problem Three 37
Inconsistent HTTP Interfaces 2rd Problem
Inconsistent Integrations 2rd Problem
40 Problem Three Solution Three
3rd Solution Education & Guidelines
42 bit.ly/api-best-practices
Education & Guidelines 3rd Solution Client Templates +
None
45
Problem Four 46 (Last One)
Consistent Deployment Problem Four
48 Problem Four Solution Four
49 49 The Galactic Empire Solution Four
50 50 The Galactic Empire Solution Four
51 51 bit.ly/empire-paas
Where We Are Now 52
Consistent… - Consistent Microservice Architecture - Consistent projects - Consistent
integrations - Consistent interfaces - Consistent, autonomous deployments
Productive… - Git init to production in 5 days. -
Tiny outside dependencies. - Increased team autonomy. - Increased development moment.
Where We Want To Be Next? 55
56 Platform
57 Auto-Generation
58 Communication Overhead
59 Serializers Protocol Buffers
Top Questions 60
1. How do you test it? How do you configure
it? How do other systems use it? How do you secure it? How do you discover it? 2. 3. 4. 5. Top 10 Questions
Top 10 Questions 6. How do you scale it? How
do you handle dependencies? How do other systems handle your failure? How do you upgrade it? How do you monitor it? 7. 8. 9. 10.
63 bit.ly/micro-10-q
You can use Django for MicroServices. Always Decouple Dependencies. Use
templates & automation for as much as possible. Establish best practices & guidelines. Ask yourself the 10 questions 64 Wrap Up…
Thanks… @phalt_