`
masterkey
  • 浏览: 339968 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Varnish 2.0.1 released

阅读更多

Varnish 2.0.1 给我们带来很多新的特性:

 

ESI 支持
轮训或随机负载均衡支持
后端健康检查
新型对象过期检查
OpenSolars 支持
修复一些小错误

 

新版本的Varnish更加稳定和健壮,性能更好!

 

 

Changes:

                           Change log for Varnish 2.0

Changes between 1.1.2 and 2.0

  varnishd

     * Only look for sendfile on platforms where we know how to use it,
       which is FreeBSD for now.
     * Make it possible to adjust the shared memory log size and bump the
       size from 8MB to 80MB.
     * Fix up the handling of request bodies to better match what RFC2616
       mandates. This makes PUT, DELETE, OPTIONS and TRACE work in
       addition to POST.
     * Change how backends are defined, to a constant structural defintion
       style. See http://varnish.projects.linpro.no/wiki/VclSyntaxChanges
       for the details.
     * Add directors, which wrap backends. Currently, there's a random
       director and a round-robin director.
     * Add "grace", which is for how long and object will be served, even
       after it has expired. To use this, both the object's and the
       request's grace parameter need to be set.
     * Manual pages have been updated for new VCL syntax and varnishd
       options.
     * Man pages and other docs have been updated.
     * The shared memory log file is now locked in memory, so it should
       not be paged out to disk.
     * We now handle Vary correctly, as well as Expect.
     * ESI include support is implemented.
     * Make it possible to limit how much memory the malloc uses.
     * Solaris is now supported.
     * There is now a regsuball function, which works like regsub except
       it replaces all occurences of the regex, not just the first.
     * Backend and director declarations can have a .connect_timeout
       parameter, which tells us how long to wait for a successful
       connection.
     * It is now possible to select the acceptor to use by changing the
       acceptor parameter.
     * Backends can have probes associated with them, which can be checked
       with req.backend.health in VCL as well as being handled by
       directors which do load-balancing.
     * Support larger-than-2GB files also on 32 bit hosts. Please note
       that this does not mean we can support caches bigger than 2GB, it
       just means logfiles and similar can be bigger.
     * In some cases, we would remove the wrong header when we were
       stripping Content-Transfer-Encoding headers from a request. This
       has been fixed.
     * Backends can have a .max_connections associated with them.
     * On Linux, we need to set the dumpable bit on the child if we want
       core dumps. Make sure it's set.
     * Doing purge.hash() with an empty string would cause us to dump
       core. Fixed so we don't do that any more.
     * We ran into a problem with glibc's malloc on Linux where it seemed
       like it failed to ever give memory back to the OS, causing the
       system to swap. We have now switched to jemalloc which appears not
       to have this problem.
     * max_restarts was never checked, so we always ended up running out
       of workspace. Now, vcl_error is called when we reach max_restarts.

  varnishtest

     * varnishtest is a tool to do correctness tests of varnishd. The test
       suite is run by using make check.

  varnishtop

     * We now set the field widths dynamically based on the size of the
       terminal and the name of the longest field.

  varnishstat

     * varnishstat -1 now displays the uptime too.

  varnishncsa

     * varnishncsa now does fflush after each write. This makes tail -f
       work correctly, as well as avoiding broken lines in the log file.
     * It is possible to get varnishncsa to output the X-Forwarded-For
       instead of the client IP by passing -f to it.

  Build system

     * Various sanity checks have been added to configure, it now
       complains about no ncurses or if SO_RCVTIMEO or SO_SNDTIMEO are
       non-functional. It also aborts if there's no working acceptor
       mechanism
     * The C compiler invocation is decided by the configure script and
       can now be overridden by passing VCC_CC when running configure.
1
0
分享到:
评论

相关推荐

    linux-varnish配置

    Linux Varnish 配置详解 Varnish 是一款高性能的开源HTTP缓存和代理服务器,主要用于提升网站的响应速度和处理能力。它通过缓存静态内容和动态内容的副本,减少对后端服务器的请求,从而提高了整体的Web性能。在...

    varnish+lighttpd配置

    Varnish和Lighttpd是两个非常重要的开源Web服务器软件,它们在Web性能优化和负载均衡方面发挥着关键作用。Varnish作为一个高性能的HTTP缓存代理,常用于减轻后端服务器的压力,提高网站响应速度;而Lighttpd则是一款...

    Varnish 应用技术指南 V3.0 中文版

    在“Varnish应用技术指南 V3.0 中文版”中,你将深入了解到如何利用Varnish来提升你的在线业务效率。 1. Varnish基础:Varnish是基于内存的缓存系统,它可以快速地存储和检索HTTP对象(如HTML页面、图片、CSS和...

    Varnish权威指南(中文)

    《Varnish权威指南》是一本深度探讨Varnish缓存服务器技术的专业书籍,中文版的出版使得更多国内用户能够无障碍地学习和掌握这一高效的内容分发和加速工具。Varnish作为一个开源的HTTP加速器,它在Web性能优化领域...

    varnish.tar.bz2

    本资源包含Varnish的安装文件varnish-3.0.5-1.el6.x86_64.rpm 和varnish-libs-3.0.5-1.el6.x86_64.rpm,是搭建cdn的高性能HTTP加速器Varnish服务器必需的安装包,下载后解压即可,具体安装配置过程清移步我的博客

    squid、varnish、ngx_cache的性能测试对比报告

    本报告对比了Squid、Varnish和Ngx_cache三款缓存软件的性能。首先,从测试环境来看,本次测试所使用的Squid、Ngx_cache(也就是Varnish)、Nginx_cache均运行在具有单硬盘资源的服务器上,并为缓存分配了180G的存储...

    varnish-3.0.7.tgz 源码安装包

    这个“varnish-3.0.7.tgz”源码安装包是Varnish软件版本3.0.7的源代码,适用于需要自定义编译和配置的环境。下面将详细介绍Varnish的原理、功能以及如何安装和使用3.0.7版本。 **Varnish基础概念** Varnish是一个...

    Varnish 2.1.2 安装与配置

    ### Varnish 2.1.2 安装与配置详解 #### Varnish简介 Varnish是一款高性能的HTTP应用层加速器,主要用于提高网站响应速度和承载能力。它通过将频繁访问的内容缓存在内存中来减少后端服务器的压力,并能够作为反向...

    varnish-5.2.1.tar.gz

    在互联网行业中,Varnish被广泛应用于高流量网站,以减轻后端服务器的压力,通过缓存静态和动态内容来降低延迟。 标题中的"varnish-5.2.1.tar.gz"表明这是一个Varnish软件的源代码包,版本号为5.2.1,采用tar.gz...

    varnish-4.0.3.tar.gz

    在标题中提到的"varnish-4.0.3.tar.gz"是一个源代码压缩包,其中包含了Varnish 4.0.3版本的所有源代码和其他相关文件,用户可以下载并编译来在自己的服务器上安装和运行Varnish。 Varnish的核心功能在于其高速的...

    varnish-6.2.0.tgz

    例如,挪威最大的在线报纸 Verdens Gang 就通过使用Varnish减少了服务器数量,但提升了整体性能,这表明Varnish在处理高流量网站时具有显著优势。 在压缩包文件"varnish-6.2.0"中,可能包含了Varnish的源代码、编译...

    Varnish权威指南(中文版).pdf

    但是,根据“【标题】”和“【描述】”中提供的信息,我们可以知道这是一本名为《Varnish权威指南(中文版)》的电子书,这本书是关于Varnish的,Varnish是一个高性能的开源Web应用加速器(也叫做HTTP反向代理服务器...

    Varnish+应用技术指南v3.1(pdf)

    ### Varnish应用技术指南V3.1:深入解析与实战技巧 #### 一、概述:Varnish的诞生与核心价值 Varnish作为一款高性能的开源HTTP加速器,自其诞生以来便受到了广泛的关注与应用。尤其值得一提的是,挪威最大的在线...

    varnish安装包

    varnish 安装包 varnish 安装包 varnish 安装包 varnish 安装包

    varnish-magento

    在Magento电子商务平台中,Varnish扮演着关键角色,它通过缓存静态内容和频繁请求的动态页面来减少数据库负载,从而显著提升用户体验。 首先,我们需要了解Varnish如何与Magento集成。Magento本身支持多种缓存机制...

    Getting Started with Varnish Cache: Accelerate Your Web Applications

    Getting Started with Varnish Cache: Accelerate Your Web Applications by Thijs Feryn English | 13 Mar. 2017 | ASIN: B06XP3D6Z2 | 253 Pages | AZW3 | 720.91 KB How long does it take for your website to ...

    varnish测试报告

    根据提供的文件信息,以下是关于“Varnish测试报告”的详细知识点总结: ### Varnish缓存系统概述 Varnish是一款高性能的HTTP反向代理服务器和缓存服务器,常用于Web应用的加速。它能够将静态内容缓存在内存中,并...

    varnish-3.0.2.tar.gz

    在本文中,我们将深入探讨Varnish 3.0.2这个特定版本的特性和使用方法。 首先,Varnish 3.0.2是Varnish Cache项目的一个稳定版本,发布于2011年。它基于VCL(Varnish Configuration Language),这是一种强大的、...

Global site tag (gtag.js) - Google Analytics