[zz] Using Redis as a Xapian backend

May 25th, 2010

Xapian 是什么 : Open source search engine library written in C++, with bindings to allow use from other languages as well.
Redis 是什么 :A persistent key-value database with built-in net interface written in ANSI-C for Posix systems

Using Redis as a Xapian backend

take is easy

May 25th, 2010

深呼吸~~~呼~~~

我的一些学习原则

May 23rd, 2010

前天看了李笑来老师的《未知的必然、必要和必需》,自己也深有感触。

我自己的一个学习原则就是:

当你对目前的一个东西还无法理解的时候,那么就记下好了,也不用刻意去找到其答案。
这些不理解的东西似乎也不会太影响事情的进程。
随着自己的经验、知识的积累,有些疑问就会自然而解,这个情况在我自己的身上应验了很多次。

MySQL Explain’s type

May 21st, 2010

Explain的type显示的是访问类型,是较为重要的一个指标,结果值从好到坏依次是:

system > const > eq_ref > ref > fulltext > ref_or_null > index_merge > unique_subquery > index_subquery > range > index > ALL

REF :
http://hi.baidu.com/thinkinginlamp/blog/item/eef0cd119239db17b8127b6f.html

隐藏HTTP头中的X-Powered-By

May 13th, 2010

php.ini 设置 expose_php = Off

http://php.net/expose-php

Can’t reopen temporary table

May 12th, 2010

今天碰到MySQL的bug:Can’t reopen temporary table

http://bugs.mysql.com/bug.php?id=10343

再建一个临时表吧。

do

May 11th, 2010

not that perfect but doable and feasible

bzbz

May 7th, 2010

事情比想象的还要多。

Rackspace Cloud Server

April 26th, 2010

转移数据到Amazon S3, 80G的小文件, 单独一个linode速度比较慢。
于是就开了一个Rackspace Cloud Server (256M/10G) . 两个机器一起弄。
出乎意料的好。相当的稳定。不会像linode那样动不动就杀我的转移脚本。。

有机房的缘故吧。
Rackspace Cloud Server 我分配到的ip 上海电信 ping在240ms左右,linode的Fremont机房在160ms左右。

最近用云用上瘾了。逢人就推荐。:)

ONE. 是开始

April 25th, 2010