Analysis of Tianya bbs system architecture

Source: Internet
Author: User
The study begins with the entrance. Tianya uses the ip address 221.11.172.154 Hainan Netcom 124.225.65.154 Hunan Telecom 218.77.130.151 Hainan Telecom. These ip addresses are estimated to be used by Tianya to distribute bandwidth. At this time of my test, the ip address 218.77.130.151 may be migrating to 124.225.65.154. The next step is a group of four studies, starting from the entrance.

IP address used by Tianya

221.11.172.154 Hainan Netcom
124.225.65.154 Hunan Telecom
218.77.130.151 Hainan Telecom

These ip addresses are estimated to be used by Tianya to distribute bandwidth. At this time of my test, the ip address 218.77.130.151 may be migrating to 124.225.65.154.

Next is the squ of four sets. IdEach group of hosts (squid/2.6.STABLE4) is responsible for several sections. According to statistics, there are at least three groups, that is, 12. A group is called universal, a group is called popular, and a group can be called New. To distribute URLs in these squid Groups, there must be a layer-7 proxy pull. Based on the record before Tianya, this layer-7 proxy is F5. After reading other things, all domain names, traffic, and concurrency of Tianya are basically handled through these two F5 sets. It seems that f5. However, it is said that drinking is not drunk.

Then the cache is the web host. Tianya uses the most popular windows 2000 and Microsoft IIS 5. The number of hosts should be three Based on the cache group. It is not clear whether three SQL servers will be widely used. It is highly likely that databases are installed on web servers. In addition, some sections do not go to the cache server, and those machines will also be used. Are these machines reused? I will make statistics later when I have time. There are also two projects in Tianya, which cannot be named yet. The two are the complete solutions provided by google.

Most of Tianya's programs are asp, some are asp.net, and some are jsp running by resin. In BbsIn, it is estimated that most of the asp is used, and then supplemented with jsp in several key points, that is, the structure of asp jsp, is changeable and cannot be learned. IIS6 has never been practical for five years, so I will not comment on it. Resin has good performance, but it cannot be regarded as a stable server. I have not used SQL server for many years, but I was very uncomfortable using it. Now I am still very fond of it and occasionally feel the same headache.

Draw ArchitectureThe figure shows your favorites.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.