If I have same multiple Redis servers. How connect to multiple database servers, obtain those hashes from each Redis server and then display the first 10 of the combined results ?
For better understanding, I am using the site
StackOverflow
and other Q&A as a case study. Of course, with my architecture.
Central Company Server offers a number of services to private company servers. Each private servers within a Q&A
website that (separately but with the same databases). There is information(Q&A) that the database private server-1, Owner of this information(Q&A), users are private server-1 (similarly to other servers).
Suppose that : PS1(Private Server-1) is stackoverflow.com
, PS2 is superuser.com
, PS3 ham.stackexchange.com
, PS4 android.stackexchange.com
, PS5 anime.stackexchange.com
, PS6 is askubuntu.com
.A user of a server, it opens one of these websites. Information taken from servers, and all this combined with the current server and the result is displayed. So all type of questions and answers will be displayed to the user.
1- Do I should be all the information to the Central Company Server and then combined and send forward to private company servers and users will display? get all data and then display the first 10 of the combined results?
2- How without Central Company Server server do that?
3- What is the best way?
4- What is the optimal way?