Changes with nginx 0.7.5 01 Jul 2008 *) Bugfixes in variables support in the "access_log" directive; the bug had appeared in 0.7 ...
Changes with nginx 0.7.4 30 Jun 2008
*) Feature: variables support in the "access_log" directive.
*) Feature: the &q ...
In the June 2008
survey we received responses from
172,338,726
sites.
The total number of sites has increased by 3.9 million this month, with the largest gain being seen at ThePlanet.com
, where 632,000 new sites maintain its position as the 6th largest hosting company in the world.
...
Changes with nginx 0.7.3 23 Jun 2008 *) Change: the "rss" extension MIME type has been changed to "application/rss+xml". & ...
Changes with nginx 0.7.2 16 Jun 2008 *) Feature: now nginx supports EDH key exchange ciphers. *) Feature: the "ssl_dhparam" directive.&n ...
2008/06,nginx的主机数持续增长,已经突破200W,已经超过了lighttpd.很难想象google的GFE已经超过1000W,真是很庞大。
VendorProductWeb Sites
Apache
Apache
84,309,103
Microsoft
IIS
60,987,087
Google
GFE
10,465,178
Unknown
Unknown
4,903,174
nginx
nginx
2,125,160
Oversee
Oversee
1,953,848
...
Released
haproxy versions 1.3.15.1 and 1.3.14.5
with
minor fixes : build fix for GCC 4.3
, fix for
early truncate of stats output
in certain circumstances,
and better handling of large amounts of highly active sockets
.
I indeed discovered during testing that
the sep ...
In the May 2008
survey we received responses from
168,408,112
sites.
The total number of sites has increased by 2.7 million, with 554 thousand new sites being hosted by the Dutch company XL Internet Services
. Similar growth is seen at Akamai
, a web content and application delivery comp ...
File.metaClass.copy={
if (delegate.isFile())
{
new File(it).withOutputStream()
{
it.write delegate.readBytes();
}
}
}
new File("1.txt").copy("2.txt");
Groovy很帅,名不虚传!
- 17:45
- 浏览 (303)
- 评论 (0)
- 分类: 技术
- 发布在 Groovy on Grails 圈子
Changes with nginx 0.7.1 26 May 2008 *) Change: now locations are searched in a tree. *) Change: the "optimize_server_names" directive w ...
Changes with nginx 0.7.0 19 May 2008 *) Change: now the 0x00-0x1F, '"' and '\' characters are escaped as \xXX in an access_log.& ...
The HTTP/1.1 RFC
Section 8.1.4 of the HTTP/1.1 RFC says a “single-user client SHOULD NOT maintain more than 2 connections with any server or proxy.” The key here is the word “should.” Web clients don’t have to follow this guideline. IE8 isn’t the first to ...
对于Web应用,我们通常采用数据压缩和数据缓存等不同方式对Web应用进行性能优化,web 缓存数据的命中率至关重要,如何提高命中率是我
们对于Web应用性能优化的一个重要手段。
下面我们做一个实验,针对一个url (静态页面文件) 不同请求方式。
我们采用的版本:
Server: Apache/2.2.4 (Unix)
Squid Cache: Version 2.6.STABLE9
以一个静态页面为例.
http://172.17.12.101/docs/toc.html
apache 未配置压缩方式
1.apache 未配置压缩方式,非支持压缩方式请求:
curl ...
看到一篇关于Cache-Control的文章,尽管是2002年的文章,还是不错的,算是记录以下吧,赫赫! 详细的阐述了Cache-Control的各个属性及用法,以及HTTP/1.0中仅支持的"Pragma: no-cache " 等价于HTTP/1.1"Cache-Control : private",更多的大家自己看吧。
Any valid HTTP headers can be put in these files. This provides another way to a ...
一直关注着nginx,最近其作者进行了更新。
Changes with nginx 0.6.30 29 Apr 2008
*) Change: now if an "include" directive pattern does not match any
file, then nginx does not issue an error.
*) Feature: now the time in directives may be specified without spaces,
...
hibernate的缓存机制是其成为主流持久层霸主地位的重要组成部分。二级缓存是SessionFactory级别的全局缓存,可以通过配置文件的hibernate.cache.provider_class 进行指定。
目前Hiberante 的二级缓存实现方式:
1.EhCache
2,Hashtable
3.JndiBoundTreeCache
4.NoCache
5.OptimisticTreeCache
6.OSCache
7.TreeCache
8.SwarmCache
大致分为上述8种缓存方案的实现,主要分为内存和文件两种方式进行存储。
hibernate的 ...
Zero ICE我们已经掌握其基本运行原理。下面我们主要介绍一下ICe的多端口邦定的问题。
ICE使用TCP/IP 和UDP协议,以及基于TCP/IP之上的SSL协议。SSL协议可以充分保障Server/Client数据传输的加密安全性问题。
在这里,Server如何在同一台主机监听多个端口。
关于TCP/IP还是UDP还是SSL协议的选择,还是要看具有应用的要求,通常情况下TCP/IP协议的ICE应用已经足够了。
在同一个主机主机上,ICE服务支持多端口的监听。
服务端注册: tcp -h host -p port1:tcp -h host -p port2形式,
例如:
IP: ...
Slice是在ICE所特有的特殊语言,ICE 提供基于Ice语言的多语言映射工具。Slice主要针对程序所涉及到的接口和类型进行定义。不涉及到具体实现和具体语言的特征。
既然ICE支持跨语言的调用,那么是不是Slice支持每种的特有数据类型呢?
当然不是,ICE只是保留各种具体语言数据类型的最小交集。
提供:
1.bool (false or true,>=1bit)
2.byte (-128-127@,>=8bits)
3.short (-2^15 to 2^15-1,>=16bits)
4.int (-2^31 to 2^31-1,>=32bits)
5.long ...
Ice的服务端可以采用C++/Java/Python/C#等实现,客户端可以采用C++/Java/Python/C#/VB/PHP/Ruby来实现,就是说我的一个服务端采用C++实现,客户端可以采用java/php/vb/c# 等其他语言实现。
这个特性也是Ice的很重要的优势之一.
Ice的多语言之间如何确保对象的正确传输,每种语言都有各自的特点,数据类型,Ice是如何达到各种语言之间的互通互联的呢?
那么就一定提到Slice语言.Slice是保证各种语言的互通互联的关键,它是独立于其它任何语言,Ice可以通过把Slice代码片断转化为各自的
语言描述.
-rwxr-xr-x ...
书接上回,今天基于C++的Ice实现,在我们的环境下已经安装了Ice相关的库。
还是采用相同的demo.ice.
module Demo{
interface test{
string execute(string mth,string cmd);
};
};
btw:
关于ICE的介绍
http://masterkey.javaeye.com/blog/182954
ZeroC ICE之旅------java
http://masterkey.javaeye.com/blog/182975
ZeroC ICE之旅------多语言互通互联
http://masterkey. ...
关于Ice请见,
ICE之轻量级分布式通讯中间件
http://masterkey.javaeye.com/blog/182954
ZeroC ICE之旅------C++
http://masterkey.javaeye.com/blog/183307
ZeroC ICE之旅------Slice
http://masterkey.javaeye.com/blog/184064
ZeroC ICE之旅------多语言互通互联
http://masterkey.javaeye.com/blog/183742
ZeroC ICE之旅------集群和容错
http://masterkey.j ...
Ice 是 Internet Communications Engine 的简称,出自ZeroC名门之下。
Ice 是一种面向对象的中间件平台。从根本上说,这意味着Ice 为构建面向对象的客户-服务器应用提供了工具、API 和库支持。Ice 应用适合于异构平台环境中使用:客户和服务器可以采用不同的编程语言,可以运行在不同的操作系统和机器架构上,并且可以使用多种网络技术进行通信。无论部署环境如何,这些应用的源码都是可移植的。
其采用C/S 模式结构,支持同步调用方式和异步调用方式,异步派发调用方式。支持跨语言的对象调用。多种语言之间采用共同的Slice(Specification Lang ...
apache3.0时代的到来,为我们的网络应用带入了全新的境界,其在配置方面,工作效率,运行机制,工作模式,协议接口等方面都产生了巨大变化。基于waka的传输协议会更加高效。
关键词:
spooning model,waka,Canned Error Responses
It’s time for Apache 3.0
One process model per common platform
no more guessing who is running how on what
no more support for platforms that suck (use 1.3.x)
if y ...
从http://survey.netcraft.com/Reports/200804/得到的数据:nginx主机数持续上升,已经突破100W,与lighttpd的差距正在缩小。VendorProductWeb SitesApacheApache83,206,564MicrosoftIIS58,540,275GoogleGFE10,075,991UnknownUnknown3,262,802OverseeOversee1,926,812lighttpdlighttpd1,495,308OtherOther1,118,642nginxnginx1,018,503
推荐:Asynchronous HTTP and Comet architectures 很不错的一篇介绍异步http,Comet原理,客户端实现原理和服务端实现原理。
作者是:Gregor Roth, creator of the xSocket network library
http://www.javaworld.com/javaworld/jw-03-2008/jw-03-asynchhttp.html?page=1
当看到这个标题的时候<<Nginx and Memcached, a 400% boost!>>,感觉很震惊,仔细看了一下,这篇文章,其实文章的标题就有断章取义之嫌。
400%提升仅仅是"Rails applications resulted in ~850 req/s on commodity,...and a quick test later: ~3,550 req/s, or almost a 400% improvement",简单结果得出来的,其实Rails本来就是慢速应用,TPS主要受限于Rails自身的慢速,而memcached起到缓存结果的中间件作用,类似于apa ...
有的时候,解决问题的方式,方法,随知识领域的不同,会有很大的差异。
关于luncene索引数据内存加载问题?
其实,我们完全可以抛开lucene之外,考虑把索引数据加载到内存中。
前提是你的索引数据不大。(索引数据<1/2*机器内存,不是绝对的)
如果你采用的Linux操作系统,可以采用(tmpfs)
tmpfs是一个虚拟内存文件系统,tmpfs可以使用物理内存,也可以使用交换分区。
mount到一个目录,把你的索引数据文件放到这个目录,就可以直接达到你的效果了,对于开发人员而言,此方案完全透明。
windows也有类似的程序,通过内存虚拟磁盘方式。
我想如果你的索引数 ...
赫赫,这个话题有意思,我想应该是:
1.DBM(QDBM,NDBM,BDB等)存储用户的ID以及Memcached信息
key--->ID
value--->memcahcedID(location)
2.通过Memcached获取用户相关信息
相关信息包含:
1.用户个人信息,状态
2.好友信息
3.行为状态
key--->id
value--->user(info,friend,action)
关于如何获取用户的相关信息,robbin已经提到了,通过用户的crud获取相关变化信息。
基于memcached的get/set是足够快的。对数据库压力 ...
引用Good news everyone!
http://danga.com/memcached/dist/memcached-1.3.0.tar.gz
We're having a development cycle!
The 1.3.x series of memcached will be a (I really hope) short series of
releases around the finalization of the binary protocol.
1.3.0 includes:
- A server implementation from Dustin S ...
In the March 2008 survey, we received responses from 162,662,052 sites. Growth has continued to rise over the past few months, with this month seeing a gain of four and a half million new sites. The largest changes this month are once again seen amongst the blogging and social network providers. Goo ...
- 浏览: 26756 次
- 性别:

- 来自: 北京

- 详细资料
搜索本博客
最近加入圈子
最新评论
-
nginx 0.7.1 release
我发现discuz已经在用nginx7.0,那说明这个版本已经完全可以运用于商业 ...
-- by Arden -
nginx 0.7.1 release
这是开发版
-- by 剑 事 -
各个浏览器并发连接数比较
你混淆概念了! keepalive仅仅是建立一个通道,多数据传输,避免多次握手 ...
-- by masterkey -
各个浏览器并发连接数比较
没考虑keepalive不算数
-- by ShiningRay -
我看<赢在中国>
我觉得第二赛季的比较不错
-- by davis129






评论排行榜