Build your own tennis lounge .. in your city
Part 2 : Cloning
by, 04-26-2010 at 09:07 AM (2167 Views)
Now that we have had some years of experience in one big city, that is, in Moscow, the question is, how do we get another big city involved? Just repeating the whole of the installation at a different server makes it, but the complexity of management doubles. It is clear that the correct approach lies in creating a single front-end, or gateway, and separate backends for various geographic locations. A user (or a player, to be more exact) gets registered into a location for his/her city, creates and keeps her profile just there. This player does not need visit other locations, so at the gate we must have A. selector of locations. We must also have B. interface language selector, because we don't expect everybody speak the same tongue. So, the final solution is as follows: one program running on one site, and many backends which may possibly run on many servers. Each of the backends is a clone of the first backend, i.e., the structures of the databases are the same for all locations. However, each location, as a club lounge in a big city, is completely separate from others, so that the profiles and matches played in one big city do not mix with other cities' matches and profiles. This January I copied about twenty empty templates for big Russian citis as well as for some cities in other countries (including New York, Miami, and Paris, France), wrote scripts to automize the database backing up and maintenance and launched the whole thing into the Internet. I also informed people on these empty lounges through city forums and offered to use them to their best. Currently we have a big progress in Kiev lounge, - the Ukrainian capital is a 3-million city; there are also active lounges in Kaluga and the second largest Russian city - St.Petersburg.