Development

共368篇文章。

BerkeleyDB使用中的cache同步问题

• Development

今天被一个程序折腾了很久。大致的流程是这样:

事件处理:

  • 打开db文件,如果已经打开,直接使用该handle
  • 获得排他锁,并读某一key对应的value
  • 根据value和一些环境信息以及事件所附带的输入计算新的value
  • 更新value,并同步文件、释放排他锁

锁的机制没有大毛病,可是数据死活不对。

阅读全文… ( 本文约166字,阅读大致需要1分钟 )

FreeBSD 6.0-RC2

• Development

I think we would be going to release 6.0-RC2 soon, to encourage more testing against the recently caught issues that addressed several race conditions, etc.

参与评论

Preparing for 6.0-RC1

• Development

Well, this Saturday and Sunday is not for rest, because we have a 7-days’ vacation from October 1.

I think FreeBSD 6.0-STABLE (RELENG_6) is in a quite nice shape and it’s a good time to cut 6.0-RC1 (also RELENG_6_0) and be more careful committing code against RELENG_6. However, according to my diff service there are still a lot of unmerged changes.

I have submitted a plenty (about 4 or 5 or even 6 dozens) of MFC requests last week. I wish that the diff reduction part of these changes, in conjunction with important bugfixes, would got approved soon so we will have a healthy RC1 for test.

参与评论

www.delphij.net 改用 lighttpd

• Development

易帜了!易帜了!

经过测试发现,lighttpd的性能要比Apache好。虽然还不是很熟悉,但是这一步迟早要迈出去的。我觉得一个技术人员的生命终结的标志就是开始毫无理由地拒绝尝试新事物。

阅读全文… ( 本文约153字,阅读大致需要1分钟 )