集中式緩存系統 Memcached 1.4.10 發布
memcached是一套分布式的快取系統,當初是Danga Interactive為了LiveJournal所發展的,但目前被許多軟件(如MediaWiki)所使用。這是一套開放源代碼軟件,以BSD license授權釋出。
memcached缺乏認證以及安全管制,這代表應該將memcached服務器放置在防火墻后。
memcached的API使用三十二位元的循環冗余校驗(CRC-32)計算鍵值后,將資料分散在不同的機器上。當表格滿了以后,接下來新增的資料會以LRU機制替換掉。由于memcached通常只是當作快取系統使用,所以使用memcached的應用程式在寫回較慢的系統時(像是后端的數據庫)需要額外的程式碼更新memcached內的資料。
memcached具有多種語言的客戶端開發包,包括:Perl/PHP/JAVA/C/Python/Ruby/C#/MySQL/。
下載地址:
http://memcached.googlecode.com/files/memcached-1.4.10.tar.gz
該版本主要側重于線程可伸縮性以及性能方面的提升,同時修復了如下 bug:
- Disable issue 140 's test.
- Push cache_lock deeper into item_alloc
- Use item partitioned lock for as much as possible
- Remove the depth search from item_alloc
- Move hash calls outside of cache_lock
- Use spinlocks for main cache lock
- Remove uncommon branch from asciiprot hot path
- Allow all tests to run as root
本文由用戶 fmms 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!