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
Azure CosmosDB World Tour - ProxyVote
Search
Christopher MANEU
September 27, 2023
Technology
0
30
Azure CosmosDB World Tour - ProxyVote
You can find the code at
https://aka.ms/proxyvote
Christopher MANEU
September 27, 2023
Tweet
Share
More Decks by Christopher MANEU
See All by Christopher MANEU
Answering a simple question with Microsoft Fabric - Azure NL Customer Adoption Community
cmaneu
0
73
Power BI Everywhere - Power BI and SQL Server
cmaneu
0
85
Touraine Tech - On peut écouter 1 fois un utilisateur, ou écouter 1 milliard d'utilisateurs.
cmaneu
0
140
GoL Clinics for Data : Working with Azure Cosmos DB
cmaneu
0
160
GoL Clinics for Data : Exploring the Fundamentals of Azure Cosmos DB
cmaneu
0
170
Listening to your users, from 1 to 1 Billion
cmaneu
0
67
DevOps DDay 2021 - Des projets avec toutes les bonnes pratiques d'infrastructure cloud et du GitOps en un clic
cmaneu
0
56
From IoT data to meaningful data
cmaneu
0
70
SaaS Academy - Start your IoT project
cmaneu
0
52
Other Decks in Technology
See All in Technology
ろう・難聴者のコミュニケーションを円滑化する取り組み
chiemi627
0
130
Next Step: Play Time!
trishagee
2
160
APIファーストで実現する運用性の高い IoT プラットフォーム: SORACOMのアプローチ
soracom
PRO
0
200
Ask! NIKKEI RAG検索技術の深層
hotchpotch
13
2.7k
アジャイル開発とスクラム
araihara
0
140
20250208_OpenAIDeepResearchがやばいという話
doradora09
PRO
0
160
技術負債の「予兆検知」と「状況異変」のススメ / Technology Dept
i35_267
1
930
飲食店予約台帳を支えるインタラクティブ UI 設計と実装
siropaca
5
1.2k
10分で紹介するAmazon Bedrock利用時のセキュリティ対策 / 10-minutes introduction to security measures when using Amazon Bedrock
hideakiaoyagi
0
160
optfit engineer culture deck
optfit
0
230
Kubernetesでメールの大量配信をしている話/k8sjp-20250205
hfukamachi
0
360
CZII - CryoET Object Identification 参加振り返り・解法共有
tattaka
0
110
Featured
See All Featured
YesSQL, Process and Tooling at Scale
rocio
171
14k
Into the Great Unknown - MozCon
thekraken
34
1.6k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
365
25k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
40
2k
Optimizing for Happiness
mojombo
376
70k
It's Worth the Effort
3n
184
28k
Become a Pro
speakerdeck
PRO
26
5.1k
Building Applications with DynamoDB
mza
93
6.2k
Navigating Team Friction
lara
183
15k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
132
33k
Faster Mobile Websites
deanohume
306
31k
Unsuck your backbone
ammeep
669
57k
Transcript
Proxy Vote Designing scalable applications that costs a penny Christopher
MANEU Principal Advocate Data Microsoft maneu.net
None
How Proxy voting works?
None
ProxyVote
Scalability requirements https://observatoire.numerique.gouv.fr/observatoire/
Scalability requirements At time of building. As of Sept 2023:
2.6M https://observatoire.numerique.gouv.fr/observatoire/
Iteration 1: Start Simple PostgreSQL database App Service
Cost-based architecture
Iteration 1: Start Simple Cloud Economics: Yearly cost ~ 3000€
Cost per proxy voting Paper Proxy Voting (1 A4 paper sheet) 0.00304 € / vote 0.00886 €/ vote Iteration 1 Voting x2.9
Iteration 1 Takeaways Cheaper than Paper-based Unknown scalability App service
can autoscale up to 10 instances PostgreSQL Flexible Server can scale. Uneven usage throughout day/week/month. Long no-usage periods
Iteration 2: Serverless architecture Cosmos DB (SQL) Database Serverless APIs
Static Front
Iteration 2: Serverless architecture Process / Steps Function invocation Cosmos
DB RUs Register Proxy Voter Access the homepage 0 0 Login (State OpenId) 0 0 View Application Form 0 0 Submit Application 1 6 - C Validate Application email 1 1 - R Validate Application Identity Access internal app homepage 0 0 Search application by Id 1 1 – R Validate application 1 6 - C Total 4 14
Iteration 2: Serverless Cloud Economics: Cost at @1M Reg: ~5€
/ year, @3M: ~15€ Cost per proxy voting Paper Proxy Voting (1 A4 paper sheet) 0.00304 € / vote 0.00886 €/ vote Iteration 1 Voting x672 0.00000452 € / vote Iteration 2 Voting
Iteration 2 Takeaways Scalability predictable Cosmos DB Serverless Max RU/s:
5000-20000 From 0 to 800-3200 applications / s instantly, 0 engineering effort All France yearly application can be processed in <14 minutes, for less than 15€
https://aka.ms/proxyvote
Q&A Christopher MANEU maneu.net