开发者

How are mobile service provider databases so fast?

开发者 https://www.devze.com 2022-12-14 22:55 出处:网络
i was wondering on how t开发者_JAVA百科hese databases which have over millions of records and millions of lookups per second soo fast.

i was wondering on how t开发者_JAVA百科hese databases

which have over millions of records and

millions of lookups per second soo fast.

how are they optimised?

are there any special servers hosting these databases? how are they scaled?


large applications are scaled out across multiple servers. Your ID is usually hashed into a bucket of some finite number (ex. 50) and these 50 server can handle 1,000's of requests per second. Usage is presumed to be split fairly evenly over all 50 servers. Backup and recovery are a bit more complicated in that "some" users may lose data while others won't.

0

精彩评论

暂无评论...
验证码 换一张
取 消