Development

共 367 篇文章。

选课系统……

• Development

今天发生的事情让我只能用一个四个字母的单词来形容选课系统——不知道又是哪个学校的研究生设计的,不过,这一次,让人生气的是系统的设计者恐怕没有一点关于性能的常识,系统显然是给一二十人并发访问设计的,而这次选课的人,往少了说也得有三四千……

所有的力量显然都浪费在了做那个华而不实的界面上,用以性能差著称的TomCat承担如此重要的关键性生产服务,而又不采取任何提高性能的措施,例如,分散负荷,或者,仅仅是简单地分散数据库访问,甚至极其简单的将静态页分离的方法。

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

Profile-based compile optimization

• Development

junsu has pointed out that gcc has the ablity to do profile, record the data and optimize the generated code according to the data. The nearest compiler guru I can visit is Prof. Husheng LIAO (sorry, the link here is not available to the Internet at the time writing, but this is hopefully to be changed soon) who recently concentrate his research in optimization for the Java Language Compiling process.

Further information will be available here soon.

参与评论

Google grabbed the whole Frontfree Article Library!!

• Development

beastie# cat www-access.log.20040203 | grep googlebot
64.68.82.164 - - [03/Feb/2004:00:01:11 +0800] “GET /view/article_772.html HTTP/1.0” 200 32445 “-” “Googlebot/2.1 (+http://www.googlebot.com/bot.html)”
64.68.82.37 - - [03/Feb/2004:00:07:17 +0800] “GET /view/article_743.html HTTP/1.0” 200 9764 “-” “Googlebot/2.1 (+http://www.googlebot.com/bot.html)”
64.68.82.68 - - [03/Feb/2004:00:07:23 +0800] “GET /robots.txt HTTP/1.0” 200 - “-” “Googlebot/2.1 (+http://www.googlebot.com/bot.html)”
64.68.82.68 - - [03/Feb/2004:00:07:24 +0800] “GET /view/article_770.html HTTP/1.0” 200 17389 “-” “Googlebot/2.1 (+http://www.googlebot.com/bot.html)”
64.68.82.68 - - [03/Feb/2004:00:13:01 +0800] “GET /view/article_736.html HTTP/1.0” 200 16292 “-” “Googlebot/2.1 (+http://www.googlebot.com/bot.html)”
64.68.82.55 - - [03/Feb/2004:00:13:01 +0800] “GET /view/article_777.html HTTP/1.0” 200 14202 “-” “Googlebot/2.1 (+http://www.googlebot.com/bot.html)”
64.68.82.37 - - [03/Feb/2004:00:16:07 +0800] “GET /view/article_819.html HTTP/1.0” 200 7515 “-” “Googlebot/2.1 (+http://www.googlebot.com/bot.html)”
64.68.82.136 - - [03/Feb/2004:00:16:08 +0800] “GET /view/article_790.html HTTP/1.0” 200 16910 “-” “Googlebot/2.1 (+http://www.googlebot.com/bot.html)”
64.68.82.181 - - [03/Feb/2004:00:18:07 +0800] “GET /view/article_769.html HTTP/1.0” 200 20162 “-” “Googlebot/2.1 (+http://www.googlebot.com/bot.html)”
64.68.82.37 - - [03/Feb/2004:00:18:09 +0800] “GET /view/article_771.html HTTP/1.0” 200 18290 “-” “Googlebot/2.1 (+http://www.googlebot.com/bot.html)”
64.68.82.55 - - [03/Feb/2004:00:19:08 +0800] “GET /view/article_554.html HTTP/1.0” 200 13881 “-” “Googlebot/2.1 (+http://www.googlebot.com/bot.html)”
64.68.82.37 - - [03/Feb/2004:00:20:57 +0800] “GET /view/article_741.html HTTP/1.0” 200 42974 “-” “Googlebot/2.1 (+http://www.googlebot.com/bot.html)”
64.68.82.79 - - [03/Feb/2004:00:25:15 +0800] “GET /view/article_779.html HTTP/1.0” 200 37964 “-” “Googlebot/2.1 (+http://www.googlebot.com/bot.html)”
64.68.82.135 - - [03/Feb/2004:00:28:34 +0800] “GET /view/article_830.html HTTP/1.0” 200 9338 “-” “Googlebot/2.1 (+http://www.googlebot.com/bot.html)”
64.68.82.37 - - [03/Feb/2004:00:32:16 +0800] “GET /view/article_656.html HTTP/1.0” 200 33950 “-” “Googlebot/2.1 (+http://www.googlebot.com/bot.html)”
64.68.82.164 - - [03/Feb/2004:00:33:05 +0800] “GET /view/article_754.html HTTP/1.0” 200 44973 “-” “Googlebot/2.1 (+http://www.googlebot.com/bot.html)”
64.68.82.55 - - [03/Feb/2004:00:33:36 +0800] “GET /view/article_740.html HTTP/1.0” 200 13074 “-” “Googlebot/2.1 (+http://www.googlebot.com/bot.html)”
64.68.82.164 - - [03/Feb/2004:00:33:45 +0800] “GET /view/article_800.html HTTP/1.0” 200 27723 “-” “Googlebot/2.1 (+http://www.googlebot.com/bot.html)”
64.68.82.178 - - [03/Feb/2004:00:33:52 +0800] “GET /view/article_707.html HTTP/1.0” 200 14763 “-” “Googlebot/2.1 (+http://www.googlebot.com/bot.html)”
64.68.82.181 - - [03/Feb/2004:00:34:12 +0800] “GET /view/article_711.html HTTP/1.0” 200 17980 “-” “Googlebot/2.1 (+http://www.googlebot.com/bot.html)”
64.68.82.159 - - [03/Feb/2004:00:34:12 +0800] “GET /view/article_803.html HTTP/1.0” 200 7039 “-” “Googlebot/2.1 (+http://www.googlebot.com/bot.html)”
64.68.82.37 - - [03/Feb/2004:00:34:26 +0800] “GET /view/article_757.html HTTP/1.0” 200 32888 “-” “Googlebot/2.1 (+http://www.googlebot.com/bot.html)”
64.68.82.54 - - [03/Feb/2004:00:34:28 +0800] “GET /view/article_710.html HTTP/1.0” 200 17788 “-” “Googlebot/2.1 (+http://www.googlebot.com/bot.html)”
64.68.82.159 - - [03/Feb/2004:00:34:42 +0800] “GET /view/article_797.html HTTP/1.0” 200 30979 “-” “Googlebot/2.1 (+http://www.googlebot.com/bot.html)”
64.68.82.46 - - [03/Feb/2004:00:34:47 +0800] “GET /view/article_806.html HTTP/1.0” 200 7727 “-” “Googlebot/2.1 (+http://www.googlebot.com/bot.html)”
64.68.82.164 - - [03/Feb/2004:00:34:51 +0800] “GET /view/article_727.html HTTP/1.0” 200 8025 “-” “Googlebot/2.1 (+http://www.googlebot.com/bot.html)”
64.68.82.79 - - [03/Feb/2004:00:59:15 +0800] “GET /view/article_742.html HTTP/1.0” 200 26076 “-” “Googlebot/2.1 (+http://www.googlebot.com/bot.html)”
64.68.82.208 - - [03/Feb/2004:00:59:24 +0800] “GET /view/article_737.html HTTP/1.0” 200 14338 “-” “Googlebot/2.1 (+http://www.googlebot.com/bot.html)”
64.68.82.27 - - [03/Feb/2004:00:59:28 +0800] “GET /view/article_702.html HTTP/1.0” 200 39867 “-” “Googlebot/2.1 (+http://www.googlebot.com/bot.html)”
64.68.82.176 - - [03/Feb/2004:00:59:41 +0800] “GET /view/article_768.html HTTP/1.0” 200 13076 “-” “Googlebot/2.1 (+http://www.googlebot.com/bot.html)”

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

IIS on FreeBSD :D

• Development

As a result of recent changes on the Frontfree Reverse Proxy Server, the server signature has been changed from “Apache 2.0.48 on FreeBSD” to “IIS 6.0 on FreeBSD”.

I’m not concerned about the disclosure of what server I am using because it acts nothing when we call IIS a “Apache”, well, I think it’s silly to do things like that, but, well, a IIS running on FreeBSD is somewhat not normal on others’ sight.

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

Why BSD Licence, not GPL?

• Development

I was asked this question in many scenarios. Well, here’s the answer. This blob does not intend to have a compare between GPL and BSDL, which is extensively discussed in many places, and basically, GPLers and BSDers all have what the counterpart could not accept.

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

RSS 2.0 Implementation for Frontfree Technology Network

• Development

Today, I saw CSDN announced their RSS 2.0 Feed (UPDATE: weber said that was announced a couple of weeks before), and I rushed into implementing one for Frontfree Technology Network.

RSS Feed is an important feature for modern websites, which permits visitors to “subscribe” the feeds, and syndicate the contents with other websites.

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

A new design for FreeBSDChina's new forum system

• Development

As Che Dong suggested, we will have a new forum that provides a blog style view, which will hopefully attract more visitors. I believed that this is a Good Idea(TM), even while it has some slight difference (seriously, conflicits) with my original design, but I’d adopt this idea, because it’s simply better :)

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

URL Rewrite under Windows?

• Development

A discussion with junsu has finally result in my implementation of URL rewrite on the reverse proxy instead of IIS. He told me that there’s no official implementation of URL Rewrite and he have an ISAPI implementation several weeks ago.

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