分类存档: FAMP

WP升级

欢迎使用 WordPress 3.3.1
感谢升级到最新版本!使用 WordPress 3.3.1 不仅可以让男生更帅,女生更美、改良人格,还可以大幅提升您的网上发布体验。
诶,开玩笑的,其实她只能提升您的使用体验,但是光这一点就很不错了 :)

FreeBSD 9.0-RELEASE Announcement

生产适用版更新为 v9.0; 旧式生产适用版当前为v8.2.

The FreeBSD Release Engineering Team is pleased to announce the availability of FreeBSD 9.0-RELEASE. This is the first release from the stable/9 branch, which improves on stable/8 and adds many new features. Some of the highlights:

A new installer, bsdinstall(8) has been added and is the installer used by the ISO images provided as part of this release

The Fast Filesystem now supports softupdates journaling

ZFS updated to version 28

Updated ATA/SATA drivers support AHCI, moved into updated CAM framework

Highly Available Storage (HAST) framework

Kernel support for Capsicum Capability Mode, an experimental set of features for sandboxing support

User-level DTrace

The TCP/IP stack now supports pluggable congestion control framework and five congestion control algorithm implementations available

NFS subsystem updated, new implementation supports NFSv4 in addition to NFSv3 and NFSv2

High Performance SSH (HPN-SSH)

Flattened device tree (FDT), simplifying FreeBSD configuration for embedded platforms

The powerpc architecture now supports Sony Playstation 3

The LLVM compiler infrastructure and clang have been imported

Gnome version 2.32.1, KDE version 4.7.3

For a complete list of new features and known problems, please see the online release notes and errata list available at:

http://www.FreeBSD.org/releases/9.0R/relnotes.html

http://www.FreeBSD.org/releases/9.0R/errata.html

For more information about FreeBSD release engineering activities please see:

http://www.FreeBSD.org/releng/

Dedication

The FreeBSD Project dedicates the FreeBSD 9.0-RELEASE to the memory of Dennis M. Ritchie, one of the founding fathers of the UNIX[tm] operating system. It is on the foundation laid by the work of visionaries like Dennis that software like the FreeBSD operating system came to be. The fact that his work of so many years ago continues to influence new design decisions to this very day speaks for the brilliant engineer that he was.

May he rest in peace.

Availability

FreeBSD 9.0-RELEASE is now available for the amd64, i386, ia64, powerpc, powerpc64, and sparc64 architectures.

FreeBSD 9.0 can be installed from bootable ISO images or over the network. Some architectures also support installing from a USB memory stick. The required files can be downloaded via FTP or BitTorrent as described in the sections below. While some of the smaller FTP mirrors may not carry all architectures, they will all generally contain the more common ones such as amd64 and i386.

NOTE: A problem was discovered with the DVD images for amd64 and i386 architectures shortly after they were loaded on the FTP distribution server. Those images have since been replaced and we have allowed enough time that the newer images should have distributed to all the FTP servers that carry the release. If you downloaded the amd64 or i386 DVD images prior to this announcement it would be a good idea to verify the checksums of the image you downloaded with the checksums provided as part of this Release Announcement. The only thing wrong with the images that were replaced is that sysinstall(8) can not be used to install the pre-built packages on the DVD. Other than that there is nothing different on the updated images. The bad DVD images were never available on BitTorrent.

MD5 and SHA256 hashes for the release ISO images are included at the bottom of this message.

The purpose of the images provided as part of the release are as follows:

dvd1
This contains everything necessary to install the base FreeBSD operating system, a collection of pre-built packages aimed at getting a graphical workstation up and running. It also supports booting into a “livefs” based rescue mode. This should be all you need if you can burn and use DVD-sized media.

disc1
This contains the base FreeBSD operating system. It also supports booting into a “livefs” based rescue mode. There are no pre-built packages.

bootonly
This supports booting a machine using the CDROM drive but does not contain the support for installing FreeBSD from the CD itself. You would need to perform a network based install (e.g. from an FTP server) after booting from the CD.

memstick
This can be written to an USB memory stick (flash drive) and used to do an install on machines capable of booting off USB drives. It also supports booting into a “livefs” based rescue mode. There are no pre-built packages.

As one example of how to use the memstick image, assuming the USB drive appears as /dev/da0 on your machine something like this should work:

# dd if=FreeBSD-9.0-RELEASE-amd64-memstick.img of=/dev/da0 bs=10240 conv=sync
Be careful to make sure you get the target (of=) correct.

FreeBSD 9.0-RELEASE can also be purchased on CD-ROM or DVD from several vendors. One of the vendors that will be offering FreeBSD 9.0-based products is:

FreeBSD Mall, Inc. http://www.freebsdmall.com/

BitTorrent

9.0-RELEASE ISOs are available via BitTorrent. A collection of torrent files to download the images is available at:

http://torrents.FreeBSD.org:8080/

FTP

At the time of this announcement the following FTP sites have FreeBSD 9.0-RELEASE available.

ftp://ftp.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/9.0/
ftp://ftp5.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/9.0/
ftp://ftp7.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/9.0/
ftp://ftp8.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/9.0/
ftp://ftp.au.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/9.0/
ftp://ftp.cn.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/9.0/
ftp://ftp.cz.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/9.0/
ftp://ftp.dk.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/9.0/
ftp://ftp.fr.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/9.0/
ftp://ftp.jp.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/9.0/
ftp://ftp.ru.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/9.0/
ftp://ftp.tw.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/9.0/
ftp://ftp.uk.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/9.0/
ftp://ftp2.us.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/9.0/
ftp://ftp10.us.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/9.0/
ftp://ftp.za.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/9.0/
However before trying these sites please check your regional mirror(s) first by going to:

ftp://ftp..FreeBSD.org/pub/FreeBSD

Any additional mirror sites will be labeled ftp2, ftp3 and so on.

More information about FreeBSD mirror sites can be found at:

http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/mirrors-ftp.html

For instructions on installing FreeBSD or updating an existing machine to 9.0-RELEASE please see:

http://www.FreeBSD.org/releases/9.0R/installation.html

Support

The FreeBSD Security Team currently plans to support FreeBSD 9.0 until January 31st, 2013. For more information on the Security Team and their support of the various FreeBSD branches see:

http://www.FreeBSD.org/security/

Other Projects Based on FreeBSD

There are many “third party” Projects based on FreeBSD. The Projects range from re-packaging FreeBSD into a more “novice friendly” distribution to making FreeBSD available on Amazon’s EC2 infrastructure. For more information about these Third Party Projects see:

http://wiki.freebsd.org/3rdPartyProjects

Acknowledgments

Many companies donated equipment, network access, or man-hours to support the release engineering activities for FreeBSD 9.0 including The FreeBSD Foundation, Yahoo!, NetApp, Internet Systems Consortium, Sentex Communications, New York Internet, Juniper Networks, and iXsystems.

The release engineering team for 9.0-RELEASE includes:

Ken Smith Release Engineering, amd64, i386, sparc64 Release Building, Mirror Site Coordination
Robert Watson Release Engineering, Security
Konstantin Belousov Release Engineering
Marc Fonvieille Release Engineering, Documentation
Josh Paetzel Release Engineering
Hiroki Sato
Release Engineering, Documentation
Bjoern Zeeb Release Engineering
Marcel Moolenaar ia64, powerpc Release Building
Nathan Whitehorn powerpc64 Release Building
Joe Marcus Clarke Package Building
Erwin Lansing Package Building
Mark Linimon Package Building
Pav Lucistnik Package Building
Ion-Mihai Tetcu Package Building
Martin Wilke Package Building, Ports Security
Colin Percival Security Officer
Trademark

FreeBSD is a registered trademark of The FreeBSD Foundation.

ISO Image Checksums

MD5 (FreeBSD-9.0-RELEASE-amd64-bootonly.iso) = 477019a305797186a8b3e4147f44edec
MD5 (FreeBSD-9.0-RELEASE-amd64-disc1.iso) = b23ef73412bd50ed62ef8613ca1a4199
MD5 (FreeBSD-9.0-RELEASE-amd64-dvd1.iso) = 61221643ebeefeeb74bd552311e07070
MD5 (FreeBSD-9.0-RELEASE-amd64-memstick.img) = b37217292ad626d6ab2d3a9c1d215d2d
MD5 (FreeBSD-9.0-RELEASE-i386-bootonly.iso) = 70b4b0dd42c309da79ce63ba2789cfe3
MD5 (FreeBSD-9.0-RELEASE-i386-disc1.iso) = 5bf615f286ee6eeb3ecce45bd8d1622c
MD5 (FreeBSD-9.0-RELEASE-i386-dvd1.iso) = fee32ba2041285b971daf7ea429e36e4
MD5 (FreeBSD-9.0-RELEASE-i386-memstick.img) = 79ddd8f3422e209ae9bd11fee4e399eb
MD5 (FreeBSD-9.0-RELEASE-ia64-bootonly.iso) = 5c83f9a5bf359b2971059d1664ef5f7e
MD5 (FreeBSD-9.0-RELEASE-ia64-memstick) = ee1d5196eb281966b9ef95b953a36d8d
MD5 (FreeBSD-9.0-RELEASE-ia64-release.iso) = 73ca213db21379eb2527dcea37eeb824
MD5 (FreeBSD-9.0-RELEASE-powerpc-bootonly.iso) = bfe036760daac0cddfe8ce2915eaec54
MD5 (FreeBSD-9.0-RELEASE-powerpc-memstick) = e7a09f343ee248ee538954b39549c241
MD5 (FreeBSD-9.0-RELEASE-powerpc-release.iso) = 2431f52b2f9cc1951b0e568b3cd0f126
MD5 (FreeBSD-9.0-RELEASE-powerpc64-bootonly.iso) = 377714742e5f2e16e34b7818347d4e3f
MD5 (FreeBSD-9.0-RELEASE-powerpc64-memstick) = 9e4ee64a7460c3c930d0e3e2e3cd03b9
MD5 (FreeBSD-9.0-RELEASE-powerpc64-release.iso) = 347e51ceb3e65c1eff3cc3acdb519ffb
MD5 (FreeBSD-9.0-RELEASE-sparc64-bootonly.iso) = 81778b8ee1a8881b8597ee4275cc3b4e
MD5 (FreeBSD-9.0-RELEASE-sparc64-disc1.iso) = a63a07e3c45275568db2cead1b3e7167
SHA256 (FreeBSD-9.0-RELEASE-amd64-bootonly.iso) = d16fd5f32c9483177a01241f37ed84f347484c65e52aba4dbf8a2f3108fb457d
SHA256 (FreeBSD-9.0-RELEASE-amd64-disc1.iso) = bcc69320cd2f227411d55967113abc8ffa5ede0a6526090ca3fb5ab776fead9d
SHA256 (FreeBSD-9.0-RELEASE-amd64-dvd1.iso) = f338e24645f0bcc792b8417411ed737d8057cd2f470f9d2b601c143352d6d459
SHA256 (FreeBSD-9.0-RELEASE-amd64-memstick.img) = b8c964f362200d758e06dc6ea8dd556a4d6fedc2f3cd44c300318d9c2f4fb7a5
SHA256 (FreeBSD-9.0-RELEASE-i386-bootonly.iso) = e655de649040269ffdaa40179c3b91c59c8febef7486e340c3a5a5493097366d
SHA256 (FreeBSD-9.0-RELEASE-i386-disc1.iso) = b03df5fbd345781cab7dcab1fd0ea4d84c7c48712a6035476a709e6c0d5763f0
SHA256 (FreeBSD-9.0-RELEASE-i386-dvd1.iso) = ebc75ecdbd0580fbe9e59373962e0fc452c4480082af563e5cd765aca1ecd705
SHA256 (FreeBSD-9.0-RELEASE-i386-memstick.img) = 99193a7895109d415936ba89e4f2c24227af48f064073dee7c4b49722c3656f8
SHA256 (FreeBSD-9.0-RELEASE-ia64-bootonly.iso) = 1d25fc52d868877eb3cbdc012be895827f9c2bd808f886755d7ca2e9257af108
SHA256 (FreeBSD-9.0-RELEASE-ia64-memstick) = af147d20765bdbe6f71a8fb113fdba64de4d152b554c1fc8d78dc6f941e4737c
SHA256 (FreeBSD-9.0-RELEASE-ia64-release.iso) = 289f31e0dadfa46f51e9a44e26cd9cf6652ff4b5a631a21dca065dcd0d66890d
SHA256 (FreeBSD-9.0-RELEASE-powerpc-bootonly.iso) = 7ca03f71d2dd0cad929d0005601b4c994a54b02ab140d4218fa326b0fce7dad8
SHA256 (FreeBSD-9.0-RELEASE-powerpc-memstick) = 042bb4d473b615cf0d3c46d48d4db1fb457a54695e6ef3e47ee1b2dc6a4f3d9b
SHA256 (FreeBSD-9.0-RELEASE-powerpc-release.iso) = 0a7af5c74ebc0e13e79dfde03d54d3d752f3c71aff39659406ad6e5bcc0cefc3
SHA256 (FreeBSD-9.0-RELEASE-powerpc64-bootonly.iso) = 2eb5f141fb702a9c757f91a54ff8ea5ded13d51b29dfa86e5ba6bfbe9bb8e48e
SHA256 (FreeBSD-9.0-RELEASE-powerpc64-memstick) = 91648a0377cd4cf8dc5453e48416dd16ac99a30e5439534053a1ca16f9944a0d
SHA256 (FreeBSD-9.0-RELEASE-powerpc64-release.iso) = 17ab67fe62e1da232038b1ff598be1aef5fe8ccea620e0fbd67d8e262992fd66
SHA256 (FreeBSD-9.0-RELEASE-sparc64-bootonly.iso) = 1f633899cf42be1fecc61f82aa9fd9197da0cf88dda25aabbbf67250653459f5
SHA256 (FreeBSD-9.0-RELEASE-sparc64-disc1.iso) = 8414abb3a501a9f712fe137a2f3667249ab3d2666815a877a93c934ced5d1110

http://www.freebsd.org/releases/9.0R/announce.html

让你的安卓设备跟IBM网络联接

Android Devices on IBM Network
Want to get your Android device on IBM network? If you have root access and the Android SDK installed, here’s how:

run ‘adb shell ls -l /data/misc/wifi’ and note the permission and owner of ‘wpa_supplicant.conf’ (important!)
run ‘adb pull /data/misc/wifi/wpa_supplicant.conf .’
edit the file on your computer, adding the entry at the end of this post (keep the original copy as a backup). You should see your other WiFi networks registered here – don’t remove them.
run ‘adb push wpa_supplicant.conf /data/misc/wifi/wpa_supplicant.conf’
run ‘adb shell ls -l /data/misc/wifi’ again and make sure the file’s permission is okay (it’s probably now owned by root but as long as it is readable/writable by anyone, you’re good). If you’re wifi doesn’t work after this, check wpa_supplicant.conf permission.

IBM WiFi network entry

network={
ssid=”IBM”
scan_ssid=1
key_mgmt=WPA-EAP IEEE8021X
auth_alg=OPEN SHARED LEAP
eap=LEAP
identity=[your intranet id]
password=[your wifi password]
}
*Tested on the Nexus One, Nexus S and Motorola Xoom WiFi

来源:

http://www.bernie-eng.com/blog/2011/06/01/android-devices-on-ibm-network/

这也是一个如何在adb里pull/push 文件的方法说明.
同时也是一个IBM网络的conf文件的在android系统里的写法例子.

【火花玩机】解放你的电源键,搜索键修改为锁屏、挂机!

1、打开R.E.管理器,点挂载为读写
2.依次打开system-usr-keylayout文件夹
3.按住qwerty.kl文件跳出菜单,点文本编辑器方式查看
4.找到key 217 SEARCH WAKE_DROPPED与key 127 SEARCH WAKE_DROPPED 这两行
5.把SEARCH修改为ENDCALL,注意这里一定为大写字母
5.保存并退出,文本编辑器会自动备份的 ,然后并重启手机生效

华为 s8600 双卡双模单通手机 android v2.3.4
来源: http://www.in189.com/thread-317772-1-1.html

转: 杨卫华谈新浪微博架构:MySQL和NoSQL

来源: PHPchina 发布者:纳美人
时间:2011年7月21日
在2010年的QCon北京大会上,记者对杨卫华进行了采访,其中谈到了关于新浪微博系统平台应对各种问题的解决方案,以及正在开发中的新浪云。
  杨卫华,新浪产品部技术经理,目前工作以新浪微博技术平台为主,曾负责过新浪IM等通讯服务端架构设计。对互联网后端技术,分布式,网络编程,XMPP即时通讯等领域感兴趣。曾组织多次广州及珠三角技术沙龙活动。个人blog 为:http://timyang.net/。
  记者:大家都知道,在美国有一个非常有名的信息分享平台叫做Twitter,而在中国,我们也有同样的方式,就是现在非常流行的新浪微博,它还有个非常温馨的名字,叫做围脖。而新浪微博的架构就是杨卫华先生主持开发的。
  今天我有幸采访到杨卫华先生,让他来给大家谈一谈,在新浪微博的技术架构方面,他们是如何为用户提供更好的性能、更好的服务的。
  卫华先生你好,我的第一个问题是,在新浪微博上有很多名人,名人的微博一般都是非常热的,对它们的访问量也特别高,那么对于这些微博,您采用了什么样的方式来支持这种大数据量的访问呢?
  杨卫华(以下简称卫华):对于这个问题,我们做过专门的分析。因为最近新浪微博有名人扎堆的现象,我们根据这个现象,从以下几个角度来进行解决。
  首先根据中国的网络现状,比如说网通和电信,之间的网络访问速度会比较慢,我们考虑让用户能够访问就近的服务器,这样使用体验、速度都能达到要求。我们根据新浪以往的经验,在全国部署了大量服务器,这样就为微博提供了硬件上的保证。
  第二个方面,在程序优化的方面,在产品上线之前,我们进行了全方面的压力测试,如果系统在某个方面可能会出现瓶颈,比如名人的访问量比较高的话,我们就从那个角度去优化。比如说Cache是否够用,数据库访问是不是瓶颈,这方面我们预先都有对压力的估计,然后会针对那些方面去做优化。
  第三个方面,对于那些静态资源,比如图片、视频、JS脚本,我们有专业的CDN来解决的,这样就能够保证全国的用户在访问新浪微博时都能够得到比较好的体验。
  记者:现在的服务器大概都架设在哪几个部分?覆盖全国哪几个地区?
  卫华:全国基本上大部分省份都有服务器,特别是一些比较核心的节点,比如北京、上海、广州,在这些核心的节点可能部署了更多的服务器,而在其它一些二线城市、其它省份也都有部署的。
  记者:您也是为这种大数据量做了充分的准备。最近大家都知道,玉树发生地震,对于这种突发事件,我们也会把微博作为一种信息交流、信息分享的平台,大家的访问也会造成大数据量访问,那么对于这种突发事件,您在技术架构上也做了相应的准备吗?
  卫华:对,这种突发事件以及访问峰值,是微博上经常出现的现象。突发事件的访问峰值有两种,一种是可以预测的,比如说我们将来要搞的世界杯,比如春节,大家都相互拜年这种;另外一种是不可预测的,比如地震这种。对可以预测的这种,我们事先会做准备,比如说世界杯,我们要增加相关的服务器来完成。而面对这种不可预测的情况时,我们平时会有个数字,那就是我们平时的平均流量,硬件设备要比它高一定量,这样就能够应对这种峰值的请求。
  另外从程序上来说,我们可能有一些专门的机制,比如说用户发表微博,并不是一发表就存到数据库中,简单地理解,他不是这样操作的。业界中微博之类的产品都有一种机制,叫做异步机制,也就是说,在发表的时候,我会把这个信息放到消息队列里面,然后再用另外一个专门的业务处理程序来处理它。当某一时刻发表量非常大,比如说地震了,很多人都会发表,那这个时候系统依然能够有条不紊的来处理这个业务,这样子就能让我们的系统稳定运行,并具有高可用性。
  记者:也就是要对整个事务的进行有效的控制?
  卫华:对。
  记者:大家应该知道,因为有这么多的微博,有那么多名人,而且还有很多平民的、草根的微博,系统的数据量也是非常非常大的,而且还有很多很多的评论,很多很多的留言等等。那么对于这种海量存储,是不是也要做技术架构上的准备?
  卫华:对,微博这个产品从技术上来说,有一个很大的特征,就是每天用户发表特别容易,这造成每天新增的数据量都是百万级的、上千万级的这样一个量。这样你经常要面对的一个问题就是增加服务器,因为一般一台mySQL服务器,它可能支撑的规模也就是几千万,或者说复杂一点只有几百万,这样,你可能每天都要增加服务器,从而解决所你面对的这些问题。你要考虑,如果每天要加服务器,你的程序上、访问上会不会有问题,会不会间断。
  我们其实有一些优化的方法,比如说我们会考虑热点数据和冷数据,如果经常要访问的这个数据,也就是热数据,而过几天才会访问的就是冷数据,我们会把它们合并,这样就可以按这个时间来分段,也就是把热数据放在一起,冷数据放在一起,这样可以解决这个访问热点的问题。
  另外业界还有种思路,刚才说的用MySQL,我们采用Shade的技术会按时间分片,这是一种解决思路;另外还有一种解决思路,业界特别现在国外流行的一种方法,也就是NoSQL的方法。有一种比较好的产品,现在大家比较关注,叫Cassandra,就可以解决这个问题。如果我们每天要加一台服务器的话,那么我们程序、运维这些能不能跟上呢,是否有一种产品可以让你程序不需要做丝毫改动呢?Cassandra这个产品就可以帮你来解决这个问题,你只需要把服务器插进去,那它马上可以使用,那个产品内部就有这样的机制。
 记者:那样的话对我们整个产品的维护就比较方便了?
  卫华:对,这个可能就是说以后业界发展的一种方向,使用这种分布式的存储来解决这种海量增长的问题。
  记者:你觉得NoSQL的数据库和传统的关系型的数据库,那种更适合微博这种形式的网站?
  卫华:从长远来说,NoSQL这个更适合一些,特别是分布式的NoSQL,刚才我也讲了,如果能全部下来的话,那可能经常要面对这种扩充的困扰,需要的干扰,可能是说,如果要保证服务不间断,可能就会面临一种很大的挑战,NoSQL,特别是这些分布式的NoSQL产品在内部就解决了这种问题,你不用停机,就可以加服务器,加设备。
  记者:这会对我们用户造成很大的方便?
  卫华:对。
  记者:那么在性能方面,还有一种我们常采用的方式就是Cache的方式,那么在新浪微博系统里面,Cache方式有什么样的特点?
  卫华:在像微博这样的Web2.0产品里面,技术界有一种很重要的说法,Cache就是RAM,RAM就是Memory的意思,RAM也就是New Disk,内存已经成为新的磁盘,代替磁盘的访问了。当我们大量使用Cache的时候,可能会存在很多问题,比如很多那种Web2.0的产品,它在Cache的数量已经不是G的概念了,不是几G、4G、8G的,可能达到一个TB的概念了,一个T相当于1024G,面对这样海量的数据,那我们访问的时候可能就会出现很多新的问题,比如我们的带宽,因为用户请求我的首页的时候,他会获取很多资源,比如有50个人关注你的微博,他需要从Cache里面把这50个人的数据都聚合起来,同时还会有很多人也在访问这个服务器,假如说,有一千个人访问,这一千个人里面,每个人都从五十个里面选,那么这个Cache的带宽将是一个比较大的问题,这是以前那种我们使用Cache时没有遇到过的。然后,为了解决这个带宽的问题,我们可以使用压缩的技术,我们保持Cache里面的数据,经过一种快速的压缩算法,比较传统的我们可以使用GZip,那实际上在这种对时效性要求比较高的技术里面,我们是要求更快速的算法,比如说有一些DOZO算法,它对CPU消耗很小,但它压缩很快,效果也非常好。
  另外的一个新问题,单点故障,我们非常依赖那个Cache,假如某个时候它突然崩溃了,那么应用访问可能就会遇到很大的问题,也就是响应速度会出问题,为了解决这个问题,我推荐的做法是,使用一致性的哈希算法,就说送我一个业务,他可以用多个Cache服务器来完成,然后我们使用一致性的哈希算法,当一个Cache崩溃之后,它的请求就可以分散到其它的Cache来完成,总体的那个振荡不会太大,也就是说这个延迟会分散开来,让用户访问页面的时候感觉不到,实际上后台它可能有一台服务器,刚才经历一次Crash,可能造成一次波动,经过我们这样改造之后,用户可能察觉不到这种变化。
  记者:用其它的服务器,同时来弥补这个地方的失误?
  卫华:对,使用一致性的哈希算法,能够巧妙地达到这个目的。
  记者:您刚才提到了NoSQL,另外在最近的业界还有一个流行的词就是Cloud,云计算,我们是不是有计划以后会把微博系统推广到云平台上,或者说采用云计算的方式来处理呢?
  卫华:没错,我们微博现在有一部分跟云计算结合比较密切,我们现在微博正打算推出一个开放平台,开放平台什么意思呢?就是说,第三方的开发者可以在我们上面写应用,可以连接到新浪微博,比如说可以获取信息,可以发表微博,而这些应用程序,可以放在我们的开发的另外一个服务上,叫新浪云。这个新浪云有什么好处呢?这些第三方开发的应用,可能他刚开发的时候,请求量不大,但有可能因为这个创意很好,忽然访问量大了。如果你用你自己的解决方案的话,可能就达不到这种要求。比如说最大的问题,可能就是全国访问不畅,或者访问量突然增长了,原来的服务器不够用,你要自己去加硬件,来不及处理。如果你放在那个新浪云上面的话,那我们系统自动会帮你解决这个问题,不管你的一个非常小的程序,比如一天只有几百个访问,还是一个海量的应用,我们都能够放在这个平台里面。在这个云应用里面,你不需要自己操心,系统自动会帮你把这个任务完成。另外它还有一个好处就是,这个云自动实现了全国分布,你只要Host在上面,全国的用户不管从哪里访问,他可以访问一个就近的服务器,这在速度比自己部署都具有很大的优势。
  记者:那咱们新浪云现在已经正式推出来,还是正在计划中?
  卫华:我们现在还处于测试阶段,我们采用一种邀请式,希望邀请更多的开发者来试用它,我们根据开发者的反馈来改善它,等到一定程度,我们再去大规模地推广。
  记者:以后对于大家来维护自己的微博、访问别人微博,是不是也更方便,不一定非要到各种各样的网页上,或者是手机等等,可以在自己开发的程序上就可以做这些事了,对吧?
  卫华:对,以后结合这个微博的开放平台,结合新浪云,可以形成一个良好的生态圈,第三方的开发者要有一个很好的环境,给微博增加各种创意,增加各种应用。
  记者:这应该是对开发者带来的一个福音。
  卫华:对。
  记者:感谢杨卫华先生接受我们的采访。谢谢!

新浪推荐应用: 微博与博客 免费的主机空间和程序

XWeibo http://x.weibo.com/
Xweibo 2.1标准版(beta)是基于新浪api开发的一套微博标准版系统,拥有新浪微博的基础功能,开发者可以在此版本上进行二次开发。
对于从2.0升级的用户,请先备份数据库,然后删除config domain后再升级安装;
详情参考升级说明:http://bbs.x.weibo.com/viewthread.php?tid=11221

WordPress for sae http://code.google.com/p/wp4sae/
基于wordpress3.1.2中文版[当前最新版v3.2.1]修改而成的SAE专用版本. 特性如下
SAE可用
支持文件上传
数据库主从分离
使用Memcache作为object cache
移除了dashboard上的RSS抓取
插件和主题的安装链接改为了下载链接

TeamToy http://ftqq.com/teamsns/
TeamToy是一个用于团队沟通的在线交流工具.

http://sae.sina.com.cn/?m=recommendapps

WP新主题:Theme zBench

更新完WordPress, 随手换了一个新主题,Theme zBench,同时把备案号也补上去。

更新:WP更新到v3.1.3; WordPress连接微博更新到v1.5.2

这次安全更形主要涉及一下方面:
提升WordPress的整体安全水平。
增强WordPress分类调用功能的安全。
防止未授权用户通过非正常渠道获取用户信息。
修复WordPress多媒体安全问题。
增强WordPress的上传功能。
增强清理功能,以解决在用户导入不完全时产生的垃圾数据。

WordPress连接微博
支持使用微博帐号登录 WordPress 博客,并且支持同步文章的 标题和链接 到各大微博和社区。

Fring+SIP+VOIP+WIFI 手机上的免费网络电话

Fring支持 Gtalk,MSN,ICQ,SIP,只要建立一个SIP/VOIP服务器,再带上Wifi无线路由,一整个的无线移动电信公司啊,现在的智能手机都可以直接用对话,不用再通过交费的电信和移动线路.
Fring在 android下的运行使用简单快速. 同时也支持 iPhone、Symbian,也可使用Skype的付费服务,直接的MP2PC on NET。

google手机下载 https://market.android.com/details?id=com.fring
apple手机下载 http://itunes.apple.com/app/fring/id290948830?mt=8
nokia手机下载 http://store.ovi.com/content/9356?cid=ovistore-fw-bac-ftr-acq-na-fringsite-g0-na-1

建立wifi很容易搞定, 中小企业可以选择2-3台的带WDS功能的无线路由,可以直接覆盖比较大的地方,想像一个大型超市/卖场, 或是 活动舞台, 可以不用带无线对讲机了. 一台对讲机也要好几百元吧, 一台无线路由也就这个价.

关键的SIP/VOIP服务器, 通过网络找到了不少好的方案,成熟的开源系统也不少.如kamailio , OpenSIPS, yate, miniSipServer, 3CXphoneSystem.在linux/win下都可以可用的方案.

我得在家里安装一个无线路由器了,这样我可以躺床上直接跟msn/gtalk/icq好友语音聊天. iphone也是支持gtalk的,只要有gtalk帐号,直接安装个fring软件就行. 改天在公司建立一个SIP服务器,不知道在nat下工作如何.

nginx-1.0.0 stable 发布

2011-04-12
Here we go!
nginx-1.0.0 stable version has been released.
The repository is available at svn://svn.nginx.org.

nginx development was started about 9 years ago. The first public version 0.1.0 has been released on October 4, 2004. Now W3Techs reports that 6.8% of the top 1 million sites on the web (according to Alexa) use nginx. And 46.9% of top Russian sites use nginx.

Netcraft reports similar 6.52% nginx share of the million busiest sites in April 2011.