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
90
Other Decks in Technology
See All in Technology
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
5
43k
そのWAFのブロック、どう活かす? サービスを守るための実践的多層防御と思考法 / WAF blocks defense decision
kaminashi
0
200
速習AGENTS.md:5分で精度を上げる "3ブロック" テンプレ
ismk
6
1.6k
AWS Top Engineer、浮いてませんか? / As an AWS Top Engineer, Are You Out of Place?
yuj1osm
2
210
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
8.8k
Digitization部 紹介資料
sansan33
PRO
1
5.5k
Introduction to Sansan Meishi Maker Development Engineer
sansan33
PRO
0
310
AgentCon Accra: Ctrl + Alt + Assist: AI Agents Edition
bethany
0
110
20201008_ファインディ_品質意識を育てる役目は人かAIか___2_.pdf
findy_eventslides
2
640
20251007: What happens when multi-agent systems become larger? (CyberAgent, Inc)
ornew
1
290
AI Agent Dojo #2 watsonx Orchestrateフローの作成
oniak3ibm
PRO
0
120
OCI Network Firewall 概要
oracle4engineer
PRO
2
7.9k
Featured
See All Featured
Producing Creativity
orderedlist
PRO
347
40k
jQuery: Nuts, Bolts and Bling
dougneiner
65
7.9k
A Modern Web Designer's Workflow
chriscoyier
697
190k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.1k
Navigating Team Friction
lara
190
15k
Optimising Largest Contentful Paint
csswizardry
37
3.5k
RailsConf 2023
tenderlove
30
1.2k
Speed Design
sergeychernyshev
32
1.2k
Fireside Chat
paigeccino
40
3.7k
Git: the NoSQL Database
bkeepers
PRO
431
66k
Product Roadmaps are Hard
iamctodd
PRO
54
11k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
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_