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
44
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
86
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
210
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
82
DevOps DDay 2021 - Des projets avec toutes les bonnes pratiques d'infrastructure cloud et du GitOps en un clic
cmaneu
0
70
From IoT data to meaningful data
cmaneu
0
92
SaaS Academy - Start your IoT project
cmaneu
0
61
Other Decks in Technology
See All in Technology
Claude Code 10連ガチャ
uhyo
3
680
JJUG CCC 2025 Fall バッチ性能!!劇的ビフォーアフター
hayashiyuu1
1
310
クレジットカードの不正を防止する技術
yutadayo
16
7.4k
バグと向き合い、仕組みで防ぐ
____rina____
0
280
それでは聞いてください「Impeller導入に失敗しました」 #FlutterKaigi #skia
tacck
PRO
0
120
Datadog On-Call と Cloud SIEM で作る SOC 基盤
kuriyosh
0
180
コンピューティングリソース何を使えばいいの?
tomokusaba
1
160
「もっと正確に、もっと効率的に」ANDPADの写真書き込み機能における、 現場の声を形にしたエンハンス
andpad
0
100
Master Dataグループ紹介資料
sansan33
PRO
1
3.9k
なぜThrottleではなくDebounceだったのか? 700並列リクエストと戦うサーバーサイド実装のすべて
yoshiori
13
4.5k
CloudFormationコンソールから、実際に作られたリソースを辿れるようになろう!
amixedcolor
1
190
Flutterにしてよかった?出前館アプリを2年運用して気づいたことを全部話します
demaecan
0
140
Featured
See All Featured
We Have a Design System, Now What?
morganepeng
54
7.9k
Building an army of robots
kneath
306
46k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
A Tale of Four Properties
chriscoyier
162
23k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
24
1.6k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
9
970
Why Our Code Smells
bkeepers
PRO
340
57k
Art, The Web, and Tiny UX
lynnandtonic
303
21k
Git: the NoSQL Database
bkeepers
PRO
432
66k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
2.9k
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