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
610
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
91
Other Decks in Technology
See All in Technology
ZOZOにおけるAI活用の現在 ~開発組織全体での取り組みと試行錯誤~
zozotech
PRO
5
4.9k
2026年、サーバーレスの現在地 -「制約と戦う技術」から「当たり前の実行基盤」へ- /serverless2026
slsops
2
210
10Xにおける品質保証活動の全体像と改善 #no_more_wait_for_test
nihonbuson
PRO
2
200
FinTech SREのAWSサービス活用/Leveraging AWS Services in FinTech SRE
maaaato
0
120
Ruby版 JSXのRuxが気になる
sansantech
PRO
0
110
Meshy Proプラン課金した
henjin0
0
250
Cosmos World Foundation Model Platform for Physical AI
takmin
0
280
プロポーザルに込める段取り八分
shoheimitani
1
170
月間数億レコードのアクセスログ基盤を無停止・低コストでAWS移行せよ!アプリケーションエンジニアのSREチャレンジ💪
miyamu
0
820
AIと新時代を切り拓く。これからのSREとメルカリIBISの挑戦
0gm
0
790
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
13k
会社紹介資料 / Sansan Company Profile
sansan33
PRO
15
400k
Featured
See All Featured
Information Architects: The Missing Link in Design Systems
soysaucechin
0
770
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.3k
Producing Creativity
orderedlist
PRO
348
40k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
1
1.4k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
750
Google's AI Overviews - The New Search
badams
0
900
How STYLIGHT went responsive
nonsquared
100
6k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.3k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
320
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_