how google facebook or other bigcompanies stores username and password | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

how google facebook or other bigcompanies stores username and password

if they use only table like 'users' so there will be millions of fields then the fetching will be slow how they manage to log in so fast

8th Nov 2017, 5:52 AM
swapnil Singh
swapnil Singh - avatar
2 Answers
+ 7
there are many different approaches .. most use distributed db structure to enhance performance and to enable api services.shortly seperating huge dbs will increase speed performance security stability blah blah blah... but in any case this happens when you became big enough to need more servers to respond over 1000 request at same time . so to that day you keep the user table in same database
8th Nov 2017, 6:09 AM
Melih Melik Sonmez
Melih Melik Sonmez - avatar
+ 3
They have much of tables, databases and of course, they have server farms to distribute all data
8th Nov 2017, 6:06 AM
Daniel
Daniel - avatar