• Use a Content Delivery Network

    使用内容分发网络(CDN

    tag: server

    tag: server

    The user's proximity to your web server has an impact on response times. Deploying your content across multiple, geographically dispersed servers will make your pages load faster from the user's perspective. But where should you start?

    服务器的远近对于用户访问的响应时间是有影响的。分发你的内容到多个平台多个地区的服务器上将让用户更快加载的页面。但是你从哪里开始呢?

    As a first step to implementing geographically dispersed content, don't attempt to redesign your web application to work in a distributed architecture. Depending on the application, changing the architecture could include daunting tasks such as synchronizing session state and replicating database transactions across server locations. Attempts to reduce the distance between users and your content could be delayed by, or never pass, this application architecture step.

    首先第一步要实现地理位置上的分发内容,不要尝试去重新设计你的web应用来应对分布式架构。根据应用,改变架构包含了很多艰巨的任务如同步session状态和复制不同地区服务器上数据库事务。试图减少用户和你的内容的距离将被延迟或者从不通过这不应用程序架构。