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
610
0
Share
Django Microservices Made Easy
Paul Hallett
March 31, 2016
More Decks by Paul Hallett
See All by Paul Hallett
What it's really like building RESTful Web APIs with Django
phalt
0
94
Other Decks in Technology
See All in Technology
個人最適 から 全体最適 へ AI情報共有会・AIギルド・AI-DLC で進める カンリーの組織展開
rfdnxbro
0
640
APIテストとは?
nagix
0
170
React、まだ楽しくて草
uhyo
7
3.9k
ChatworkとBPaaS 異なる特性で学んだAI機能開発の ベストプラクティス
kubell_hr
2
1.8k
もりもり新機能を一挙紹介! AgentCoreに入門して、AWS上にAIエージェントを構築しよう
minorun365
PRO
6
680
AI活用を推進するために ファインディが下した、一つの小さな決断
starfish719
0
190
サプライチェーンセキュリティの空白地帯 - 信頼できる”依存性”の未来を考える
rung
PRO
2
640
さきさん文庫の書籍ができるまで
sakiengineer
0
330
Strands Agents超入門
kintotechdev
1
160
20260528_生成AIを専属DSに_Howの次にすべきことを考える
doradora09
PRO
0
280
Gradle×GitHub_ActionsでCI時間を約50%短縮 ジョブ分割の設計と落とし穴 / Cutting CI Time by ~50% with Gradle and GitHub Actions: Job-Splitting Design and Pitfalls
takatty
0
600
Spring AI × MCP 入門〜AIエージェントへのツール公開、境界設計から始める最小構成 〜
yuyamiyamoto
0
200
Featured
See All Featured
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
530
The agentic SEO stack - context over prompts
schlessera
0
790
Google's AI Overviews - The New Search
badams
0
1k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
210
Thoughts on Productivity
jonyablonski
76
5.2k
The Pragmatic Product Professional
lauravandoore
37
7.3k
Building Flexible Design Systems
yeseniaperezcruz
330
40k
Optimising Largest Contentful Paint
csswizardry
37
3.7k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Agile that works and the tools we love
rasmusluckow
331
21k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2k
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_