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
43
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
83
Power BI Everywhere - Power BI and SQL Server
cmaneu
0
110
Touraine Tech - On peut écouter 1 fois un utilisateur, ou écouter 1 milliard d'utilisateurs.
cmaneu
0
160
GoL Clinics for Data : Working with Azure Cosmos DB
cmaneu
0
200
GoL Clinics for Data : Exploring the Fundamentals of Azure Cosmos DB
cmaneu
0
180
Listening to your users, from 1 to 1 Billion
cmaneu
0
80
DevOps DDay 2021 - Des projets avec toutes les bonnes pratiques d'infrastructure cloud et du GitOps en un clic
cmaneu
0
64
From IoT data to meaningful data
cmaneu
0
86
SaaS Academy - Start your IoT project
cmaneu
0
60
Other Decks in Technology
See All in Technology
クラウドセキュリティを支える技術と運用の最前線 / Cutting-edge Technologies and Operations Supporting Cloud Security
yuj1osm
2
300
品質視点から考える組織デザイン/Organizational Design from Quality
mii3king
0
150
会社紹介資料 / Sansan Company Profile
sansan33
PRO
6
380k
共有と分離 - Compose Multiplatform "本番導入" の設計指針
error96num
1
220
DevIO2025_継続的なサービス開発のための技術的意思決定のポイント / how-to-tech-decision-makaing-devio2025
nologyance
1
320
シークレット管理だけじゃない!HashiCorp Vault でデータ暗号化をしよう / Beyond Secret Management! Let's Encrypt Data with HashiCorp Vault
nnstt1
3
230
250905 大吉祥寺.pm 2025 前夜祭 「プログラミングに出会って20年、『今』が1番楽しい」
msykd
PRO
1
570
dbt開発 with Claude Codeのためのガードレール設計
10xinc
1
830
大「個人開発サービス」時代に僕たちはどう生きるか
sotarok
20
9.5k
現場で効くClaude Code ─ 最新動向と企業導入
takaakikakei
1
190
DDD集約とサービスコンテキスト境界との関係性
pandayumi
2
270
AI時代に非連続な成長を実現するエンジニアリング戦略
sansantech
PRO
3
1.1k
Featured
See All Featured
Building Adaptive Systems
keathley
43
2.7k
The Straight Up "How To Draw Better" Workshop
denniskardys
236
140k
Scaling GitHub
holman
463
140k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
840
Context Engineering - Making Every Token Count
addyosmani
1
17
Imperfection Machines: The Place of Print at Facebook
scottboms
268
13k
Product Roadmaps are Hard
iamctodd
PRO
54
11k
Designing Experiences People Love
moore
142
24k
Faster Mobile Websites
deanohume
309
31k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
It's Worth the Effort
3n
187
28k
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