主权项 |
1. A computer-implemented method comprising:
receiving, by an online system, user profiles describing users of a system; storing a first copy of user profiles in a first plurality of servers, such that a set of user profiles is mapped to each server of the first plurality of servers; for each server from the first plurality, the server storing a set of user profiles:
mapping the set of user profiles to a second plurality of servers, such that a subset of user profiles from the set is mapped to each server of the second plurality;storing a second copy of the set of user profiles in the second plurality of servers according to the mapping; receiving information describing failure of a server from the first plurality; receiving requests for information stored on the failed server, each request identifying a user profile stored on the failed server; and for each request identifying a user profile, identifying a server storing a second copy of the user profile and redirecting the request to the identified server.
|