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
52
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
100
Power BI Everywhere - Power BI and SQL Server
cmaneu
0
120
Touraine Tech - On peut écouter 1 fois un utilisateur, ou écouter 1 milliard d'utilisateurs.
cmaneu
0
180
GoL Clinics for Data : Working with Azure Cosmos DB
cmaneu
0
230
GoL Clinics for Data : Exploring the Fundamentals of Azure Cosmos DB
cmaneu
0
190
Listening to your users, from 1 to 1 Billion
cmaneu
0
92
DevOps DDay 2021 - Des projets avec toutes les bonnes pratiques d'infrastructure cloud et du GitOps en un clic
cmaneu
0
81
From IoT data to meaningful data
cmaneu
0
100
SaaS Academy - Start your IoT project
cmaneu
0
72
Other Decks in Technology
See All in Technology
登壇駆動学習のすすめ — CfPのネタの見つけ方と書くときに意識していること
bicstone
3
130
学生・新卒・ジュニアから目指すSRE
hiroyaonoe
2
760
Codex 5.3 と Opus 4.6 にコーポレートサイトを作らせてみた / Codex 5.3 vs Opus 4.6
ama_ch
0
200
Embedded SREの終わりを設計する 「なんとなく」から計画的な自立支援へ
sansantech
PRO
3
2.6k
CDKで始めるTypeScript開発のススメ
tsukuboshi
1
550
ECS障害を例に学ぶ、インシデント対応に備えたAIエージェントの育て方 / How to develop AI agents for incident response with ECS outage
iselegant
3
330
Oracle AI Database移行・アップグレード勉強会 - RAT活用編
oracle4engineer
PRO
0
110
今日から始めるAmazon Bedrock AgentCore
har1101
4
420
【Ubie】AIを活用した広告アセット「爆速」生成事例 | AI_Ops_Community_Vol.2
yoshiki_0316
1
120
インフラエンジニア必見!Kubernetesを用いたクラウドネイティブ設計ポイント大全
daitak
1
390
SREが向き合う大規模リアーキテクチャ 〜信頼性とアジリティの両立〜
zepprix
0
480
AIと新時代を切り拓く。これからのSREとメルカリIBISの挑戦
0gm
2
3.1k
Featured
See All Featured
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
380
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.6k
So, you think you're a good person
axbom
PRO
2
1.9k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
87
Facilitating Awesome Meetings
lara
57
6.8k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
280
sira's awesome portfolio website redesign presentation
elsirapls
0
150
Why Our Code Smells
bkeepers
PRO
340
58k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
2.1k
The browser strikes back
jonoalderson
0
420
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