1、删除Ubuntu 10.04系统默认输入法:sudo apt-get autoremove ibus
2、下载输入法并安装,下载地址:http://fcitx.googlecode.com/files/fcitx-utf8-svn_3.6.3-20100713-r388_i386.deb
3、解决小企鹅输入法(fcitx)界面乱码:sudo apt-get install ttf-arphic-uming
4、设置系统默认输入法:System->Administration[......]
1、删除Ubuntu 10.04系统默认输入法:sudo apt-get autoremove ibus
2、下载输入法并安装,下载地址:http://fcitx.googlecode.com/files/fcitx-utf8-svn_3.6.3-20100713-r388_i386.deb
3、解决小企鹅输入法(fcitx)界面乱码:sudo apt-get install ttf-arphic-uming
4、设置系统默认输入法:System->Administration[......]
之所以放弃Google code的原因是,
(1)不支持Private project,所有人都能浏览
(2)速度不稳定,经常被墙。
http://www.xp-dev.com/
拥有svn免费150Mb,足够用了,可以开2个用户,2个私有项目,公开项目无限。[......]
1、安装依赖的库
需要安装bzip2和zlib
zlib很简单,yum搞定:
yum install zlib-devel
但是yum上的bzip2似乎不符合作者推荐的版本最低要求,所以手动安装吧……
wget http://www.bzip.org/1.0.5/bzip2-1.0.5.tar.gz
tar -xzvf bzip2-1.0.5.tar.gz
cd bzip2-1.0.5
make -f Makefile-libbz2_so
make in[......]
关于TC中的Bucket的大小设置。
作者原文如下:
Tokyo Cabinet attains improvement in retrieval by loading RAM with the whole of a bucket array. If a bucket array is on RAM, it is possible to access a region of a target record by about one path of file operations. A[......]
我们来进行一些测试,论证是否有必要采用NoSQL。
因为没有条件造成同时并发读、写,因此暂时只测试单独的读和写。
MySQL
数据量:195W(行)
表结构:
ID(自增)
P_ID(逻辑上外键于另外一个表,考虑到效率,这里我们没有做这个外键)
URL(网页的URL)
主要测试的业务逻辑:根据某个P_ID来找出所有URL
插入速度:每秒1K行左右。
没有索引时候: 10.204(s) 10.172(s) 10.078(s)
对P_ID[......]