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
14
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
46
Power BI Everywhere - Power BI and SQL Server
cmaneu
0
65
Touraine Tech - On peut écouter 1 fois un utilisateur, ou écouter 1 milliard d'utilisateurs.
cmaneu
0
110
GoL Clinics for Data : Working with Azure Cosmos DB
cmaneu
0
110
GoL Clinics for Data : Exploring the Fundamentals of Azure Cosmos DB
cmaneu
0
150
Listening to your users, from 1 to 1 Billion
cmaneu
0
53
DevOps DDay 2021 - Des projets avec toutes les bonnes pratiques d'infrastructure cloud et du GitOps en un clic
cmaneu
0
47
From IoT data to meaningful data
cmaneu
0
47
SaaS Academy - Start your IoT project
cmaneu
0
42
Other Decks in Technology
See All in Technology
Cracking the KubeCon CfP
inductor
2
250
エンジニア候補者向け資料2024.04.24.pdf
macloud
0
3.3k
反実仮想機械学習とは何か
usaito
PRO
12
4.7k
MapLibreとAmazon Location Service
dayjournal
1
160
require(ESM)とECMAScript仕様
uhyo
3
790
VS CodeでAWSを操作しよう
smt7174
8
1.7k
今年のRubyKaigiはProfiler Year🤘
osyoyu
0
180
地理空間データ可視化・解析・活用ソリューション Pacific Spatial Solutions (PSS)
pacificspatialsolutions
0
300
よく聞くけど使ったことないソフトウェアNo.1 KafkaとSnowflake
foursue
4
360
Azureの基本的な権限管理の勉強会
yhana
0
680
ChatworkのSRE部って実は 半分くらいPlatform Engineering部かもしれない
saramune
0
160
レガシーをぶっ壊せ。AEONで始めるDevRelの話 / Qiita Night 2024-2-22
aeonpeople
3
1.3k
Featured
See All Featured
How to train your dragon (web standard)
notwaldorf
73
5.2k
Designing on Purpose - Digital PM Summit 2013
jponch
110
6.5k
Building Applications with DynamoDB
mza
88
5.6k
Web Components: a chance to create the future
zenorocha
305
41k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
19
1.7k
Designing Experiences People Love
moore
136
23k
The Invisible Customer
myddelton
114
12k
The MySQL Ecosystem @ GitHub 2015
samlambert
243
12k
Agile that works and the tools we love
rasmusluckow
325
20k
Faster Mobile Websites
deanohume
299
30k
Designing with Data
zakiwarfel
96
4.8k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
187
16k
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