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
600
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
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
3k
クレジットカード決済基盤を支えるSRE - 厳格な監査とSRE運用の両立 (SRE Kaigi 2026)
capytan
6
2.5k
AzureでのIaC - Bicep? Terraform? それ早く言ってよ会議
torumakabe
1
250
プロダクト成長を支える開発基盤とスケールに伴う課題
yuu26
4
1.3k
FinTech SREのAWSサービス活用/Leveraging AWS Services in FinTech SRE
maaaato
0
120
Introduction to Bill One Development Engineer
sansan33
PRO
0
360
Bill One 開発エンジニア 紹介資料
sansan33
PRO
4
17k
Databricks Free Edition講座 データサイエンス編
taka_aki
0
290
Tebiki Engineering Team Deck
tebiki
0
24k
Sansan Engineering Unit 紹介資料
sansan33
PRO
1
3.8k
Digitization部 紹介資料
sansan33
PRO
1
6.8k
Bill One急成長の舞台裏 開発組織が直面した失敗と教訓
sansantech
PRO
1
290
Featured
See All Featured
How to Think Like a Performance Engineer
csswizardry
28
2.4k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.4k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
200
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.3k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.4k
Evolving SEO for Evolving Search Engines
ryanjones
0
120
ラッコキーワード サービス紹介資料
rakko
1
2.2M
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
290
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
34k
Done Done
chrislema
186
16k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
140
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_