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
25
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
63
Power BI Everywhere - Power BI and SQL Server
cmaneu
0
76
Touraine Tech - On peut écouter 1 fois un utilisateur, ou écouter 1 milliard d'utilisateurs.
cmaneu
0
120
GoL Clinics for Data : Working with Azure Cosmos DB
cmaneu
0
130
GoL Clinics for Data : Exploring the Fundamentals of Azure Cosmos DB
cmaneu
0
160
Listening to your users, from 1 to 1 Billion
cmaneu
0
57
DevOps DDay 2021 - Des projets avec toutes les bonnes pratiques d'infrastructure cloud et du GitOps en un clic
cmaneu
0
52
From IoT data to meaningful data
cmaneu
0
64
SaaS Academy - Start your IoT project
cmaneu
0
50
Other Decks in Technology
See All in Technology
デジタル化・DX推進あるある
y150saya
0
230
SORACOMで実現するIoTのマルチクラウド対応 - IoTでのクリーンアーキテクチャの実現 -
kenichirokimura
0
290
Practical GenAI with Go - Elastic and Golang Sydney
adriancole
0
140
Azure Cosmos DB での時系列ログの運用と改善
sansantech
PRO
0
210
Estrategias de escalabilidade para projetos web
jessilyneh
2
200
リクルート新人研修2024 テキスト生成AI活用
recruitengineers
PRO
10
480
自社サービスのための独自リリース版Redmine「RedMica」の取り組み
vividtone
0
780
タイミーのBraze活用 ~PUSH通知を活用したレコメンド~
ozeshun
2
150
分野に潜むツールの紹介
pojiro
1
350
日経電子版から始まった内製開発の現在地と向き合っている課題/inhouse
nishiuma
0
240
セキュリティ監視の内製化 効率とリスク
mixi_engineers
PRO
7
840
自社開発した大規模言語モデルをどうプロダクションに乗せて運用していくか〜インフラ編〜
pfn
PRO
11
3.2k
Featured
See All Featured
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
42
2k
Thoughts on Productivity
jonyablonski
66
4.2k
How GitHub (no longer) Works
holman
310
140k
Testing 201, or: Great Expectations
jmmastey
35
6.9k
[RailsConf 2023] Rails as a piece of cake
palkan
45
4.6k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
25
2k
Infographics Made Easy
chrislema
239
18k
Designing Experiences People Love
moore
138
23k
What’s in a name? Adding method to the madness
productmarketing
PRO
21
3k
Happy Clients
brianwarren
96
6.6k
Documentation Writing (for coders)
carmenintech
65
4.3k
Teambox: Starting and Learning
jrom
131
8.7k
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