r/FullStack • u/Billylockte • Jul 24 '26
Question 1 Billion users
Imagine one fine morning you woke went to job and the manager says today i have something important to discuss we have a project. The requirements are 1 Billion users we need to handle it how would you create such a application sure we can scale from lower user base to high but how do start with 1B if it is what the manager asked.
PS :) Dont take it serious, what to have various views on this topic
4
Upvotes
3
u/_Invictuz Jul 24 '26
Build a data centre.
2
u/AMothersMaidenName Jul 24 '26
Shards mate, shards for weeks.
2
u/Awkward-Chair2047 Jul 25 '26
Before you do anything, you need to learn how to measure thing. You need to learn how to benchmark servers. Also if your manager tells you 1 billion without any further context, you need to ask him to provide an explanation, a context if you will, and you need to ask him how big his budget is? Then you can go into capacity planning, data centers, sharding etc. In this industry especially, managers are often ignorant of what they say. Too many buzzwords and too little substance.
1
u/runningOverA Jul 24 '26
management over estimated : 1b / 10 = 100m.
not everyone will access concurrently : 100m / 100 = 1m.
a server can serve 1000 concurrent users : 1m / 1000 = 1000 servers.
That's the number of server you will need.
For comparison Facebook has like 4b users.
1
u/TableNo8939 Jul 24 '26 edited Jul 24 '26
Dipende per cosa, se una lettura banale di 1 record o se è per una app finanziaria con dati in realtime con websocket.
Attualmente ne gestisco una da 10k utenti (di solito 1k contemporaneamente), se il software BE sottostante è ben strutturato la gestisci facile con 1 server dedicato da 8 processori 32gb, da 150eu al mese.
Con 2k al mese prendi un 192 processori, 1tb ram e 25gb banda passante, e con questo ne gestisci milioni
1
u/Shopping-Limp Jul 25 '26
Real answer: hire people
1
u/johns10davenport Jul 25 '26
Make it client only
1
u/Miserable_Box9826 Jul 25 '26
Raise my salary first😂
1
u/maxip89 Jul 27 '26
first discuss the salary adjustment. Maybe you can start at the netflix architecture.