ImageVerifierCode 换一换
格式:DOCX , 页数:5 ,大小:19.08KB ,
资源ID:4138798      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bdocx.com/down/4138798.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(提升大型网站并发访问性能Enhancing concurrent access performance of large websites.docx)为本站会员(b****6)主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(发送邮件至service@bdocx.com或直接QQ联系客服),我们立即给予删除!

提升大型网站并发访问性能Enhancing concurrent access performance of large websites.docx

1、提升大型网站并发访问性能Enhancing concurrent access performance of large websites提升大型网站并发访问性能(Enhancing concurrent access performance of large websites)A small web site, you can use the HTML static page the most simple realization, with some pictures to beautify the effect, all of the pages are stored in a dire

2、ctory, the website requirements on the system structure, the performance is very simple. With the Internet business and constantly enrich the web related technology after years of development, has been subdivided into very fine aspects, especially for large web sites, the technology is very wide, fr

3、om hardware to software, programming language, database, WebServer, firewall and other fields have a very high demand, is not the original simple static HTML website can be compared.Large sites, such as portals, requests in the face of a large number of user access, high concurrency, the basic solut

4、ion concentrated in the following aspects: the use of high performance server, high performance and high efficiency of the database programming language, and high performance Web container. These solutions, to some extent, mean greater investment.1, HTML staticIn fact, we all know, the highest effic

5、iency and the minimum consumption is pure static HTML pages, so we make our website page static page to achieve the most simple method is the most effective method. But for a lot of content and frequent updates to the site, we can all go one by one to achieve manually so there, our common informatio

6、n system CMS, as we visited each portal site news channel, even they are through other channels, information release system to manage and realize the information release system can realize the most simple information input can automatically generate static pages, with channel management, authority m

7、anagement, automatic capture and other functions, for a large site, has a set of efficient and manageable CMS is essential.In addition to the portal and information release type website, for community website interactivity demanding, as far as possible static is a necessary means to improve the perf

8、ormance of the community in the post, the static and real-time updates when re static also use a lot of strategies, like Mops a is the use of such a strategy, so is the community NetEase.At the same time, HTML static is also a means of using some cache policies. For the applications that frequently

9、use database queries in the system, but the content updates are very small, we can consider using HTML static to implement. For example, in the public forum forum set information, this information can be the mainstream of the current forum management background and stored in the database, this infor

10、mation is actually a lot in front of the program call, but the update frequency is very small, can be considered to be part of the contents of this background when the static, thus avoiding a large number of database access request.2, the picture server separationYou know, to the Web server, whether

11、 it is Apache or IIS or other containers, the picture is the consumption of resources, so it is necessary for us to the picture and page separation, which is basically a large site will adopt a strategy, they are independent, and even a lot of Taiwan image server. Such an architecture can reduce the

12、 server system pressure to provide page access requests, and ensure that the system does not crash because of picture problems.In the application server and image server, you can configure different optimization, such as Apache in the configuration of the ContentType can be as little as possible to

13、support, as little as possible to ensure the system LoadModule, higher consumption and efficiency.3, database cluster, library table hashLarge sites have complex applications, these applications must use the database, so in the face of a large number of access to the database, the bottleneck will be

14、 revealed soon, then a database will soon be unable to meet the application, so we need to use the cluster database or table hash.In terms of database clustering,Many databases have their own solutions, Oracle and Sybase have a very good program, commonly used MySQL Master/Slave are similar, you use

15、 what kind of DB, refer to the corresponding solution to the implementation.The above mentioned database cluster due to the structure, cost and expansion will be the DB type restrictions, so we need to improve the system architecture to consider from the application point of view, table hash solutio

16、n is commonly used and most effective.We install the business and application or function module in the application database separation, different modules corresponding to different database or table, then the smaller database for a page or hash function according to certain strategies, such as user

17、 table, table hash according to user ID, so it can improve system performance and low cost and has a good scalability.The Sohu forum is the use of such a framework, the database user settings, and separate forum posts and other information, and then to the post, the user in accordance with the plate

18、 and ID hash tables in the database, the end can be simple in configuration files can make the system with the increase of a low cost database in supplement the performance of the system.4, cacheThe word cache has come into contact with technology and has been used in many places. Caching in Web arc

19、hitecture and web development is also important. Here are the two basic caches. Advanced and distributed caching is described later.The cache architecture, more familiar to Apache people can know that Apache provides its own cache module, the Squid module can also use the external cache, these two m

20、ethods can effectively improve the response ability to access Apache.Web application development cache, available on the Linux Memory Cache is a commonly used cache interface, can be used in the development of web, such as when using Java development can call MemoryCache on some data cache sharing a

21、nd communication, some large communities using this architecture. In addition, in the use of web language development, all kinds of languages have their own caching modules and methods, PHP has Pear Cache module, Java more,.Net is not very familiar with, I believe there must be.5, mirrorThe mirror i

22、s a large site used to improve the performance and data security, mirroring technology can solve different network access providers and area user access speed difference, such as the difference between ChinaNet and EduNet has prompted a lot of websites in the education network structures in the mirr

23、or site, data update or update. In terms of the details of mirror images, this is not too elaborate, and there are many professional ready-made solution architectures and products available. There are also cheap ideas that can be implemented by software, such as Rsync on Linux.6 、 load balancingLoad

24、 balancing will be a high-end solution for large web sites addressing high load access and a large number of concurrent requests.Load balancing technology has developed for many years, there are many professional service providers and products can choose, I personally contacted a number of solutions

25、, of which there are two architecture for you to make reference.(1) hardware four layer switching;The fourth layer exchange uses the header information of third layers and fourth layers of information packets, and identifies the service flow according to the application interval, and the service flo

26、w of the whole interval section is allocated to the appropriate application server for processing.The fourth layer exchange function is like virtual IP, pointing to the physical server. The business it transmits is subject to a variety of protocols, such as HTTP, FTP, NFS, Telnet, or other protocols

27、. These services require complex load balancing algorithms based on physical servers. In the IP world, the business type is determined by the terminal TCP or the UDP port address, and the application interval in the fourth layer switching is determined by the source and terminal IP addresses, the TC

28、P and the UDP ports.Switch products in four layers of hardware,There are a number of well-known products to choose from, such as Alteon, F5, etc., these products are expensive, but value for money, can provide excellent performance and flexibility of management. Yahoo China was close to 2000 servers

29、, using only three or four sets of Alteon.(2) software four layer switching;As you all know, the principle of the hardware four layer switch, the four layer exchange of software based on the OSI model came into being. The solution is consistent, but the performance is slightly worse. However, to mee

30、t a certain amount of pressure or ease of effort, some people say that the software implementation is actually more flexible, processing capacity depends entirely on your ability to configure the familiar.We can use the four layer exchange software commonly used on the Linux LVS LVS Linux Virtual is

31、 to solve Server, he provides real-time disaster response heartbeat based on heartbeat scheme, improve the robustness of system, at the same time for the virtual VIP configuration and management function of flexible, can meet various application requirements, the distributed the system is essential.

32、A typical use of load balancing strategy is based on the exchange of software or hardware of the four layer structures of the squid clusters, this idea in many large websites including search engines are used, so the architecture of high performance and low cost and strong expansion, to increase or

33、decrease the structure of the inside nodes are very easy.For large websites, each of the methods mentioned earlier may be used at the same time. It is easy to introduce here. In the process of implementation, many details still need to be learned and understood. Sometimes a small squid parameter or Apache parameter settin

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1