Summary from Effective Life

xiaoxiao2021-03-06  113

[Lucene] 1. Construction index, from the efficiency of the data set index of about 1 minute 2000 (mysql, 50W record,> = 1g), index redundancy is relatively large, basic 1G database data, indexes> 2G. 2. When deleting and updating, it is more annoying, but the speed is good, you must find it first, then delete, then add new to update. 3. Search is very fast, 50W record search speed is very satisfied. 4. Lucene FileFormat Reference: http://jakarta.apache.org/lucene/docs/fileformats.html 5. Dual word is still not very comfortable 6. Sort is very simple. 7. Lucene basically is really a good thing. And the process is clear 8. If the number of visits is large, it is recommended to implement a SearchPool, a pool of IndexSearcher. In addition, the cache is required, such as the result page of the popular search directly. Note: The desktop configuration I use is as follows. : Celeron 2.4 G, 512M, Win2003, Resin 2.1.13, MySQL 4.0.16 The additional RESIN shows good performance, functionality, and integration. But I didn't behave in RESIN3 when I test. [Apache, php4, php5] I often have a friend asked me how to survive php4 and php5. Generally, I will call him to see http://club.phpe.net/index.php?act=st&f=16&t=4661 This article. But some friends still hope Module mode. But you can only run 2 apache, and use 2 ports, install Apache also use 2 service names, such as apache4php4, apache4php5, copy 2 PHP.INI separately to the corresponding Apache bin Directory. Everything is OK, huh, huh. [RsSreader] Recommend a free RssReader: rssowl, http://www.rssowl.org, Powered by Java, SWT. A nice choice, especially you don't want to be FeedDemon, etc. When paying. [JPGraph] JPGraph is a free (QPL) powerful PHP chart class library. I often see some friends sharing their chart classes, I feel very encouraged by my thinking and work, but I recommend JPGraph. Even if you pay 85 euros for business applications, it is also worth it. JPGraph I launched the latest version 1.16, http://www.aditus.nu/jpgraph/ [sharpdevelop] SharpDevelop Japan has also launched RC1, a lot, and it is also strong, it is more and more smooth. Http: // www .icsharpcode.com [IT Company Speed-check Manual] Remember that IT company quick-see manual? Wait a few months later, he heard that there was a good person to open it, just the domain name changed to http : //www.bewww.com. This is very beneficial to our Employee.

From: http://0926.net/blog/? Catid = 3 & blogID = 1

转载请注明原文地址:https://www.9cbs.com/read-125618.html

New Post(0)