新浪发起的UNIX开源软件项目

| |
[不指定 2008-1-10 08:45 | by 张宴 ]
  Memcachedb

  协议:New BSD License
  作者:stvchu, gary.caokai, forever.sky81
  团队:新浪互动社区事业部──博客产品
  网址:http://www.memcachedb.org/

  Memcachedb = memcache + Berkeley DB

  Memcachedb是一款支持高并发的分布式持久存储系统,对任何原有memcached客户端来讲,它仍旧是个memcached,但是,它的数据是可以持久存储的。
  前端:memcached的网络层
  后端:Berkeley DB存储

  写速度:从本地服务器通过memcache客户端(libmemcache) set 2亿条16字节长的key,10字节长的Value的记录,耗时16572秒,平均速度12000条记录/秒。
  读速度:从本地服务器通过memcache客户端(libmemcache) get 100万条16字节长的key,10字节长的Value的记录,耗时103秒,平均速度10000条记录/秒。

  • 支持的memcache命令
  get, set, add, replace
  incr, decr
  delete
  stats
  flush_all

  • 私有命令
  db_checkpoint, db_archive
  db_ismaster, db_whoismaster (for replication)

  编译及安装方法:
  http://blog.csdn.net/simonlsy/archive/2008/01/07/2027940.aspx

  点击在新窗口中浏览此图片



  ncache

  协议:New BSD License
  作者:shinepf, shuiyang
  团队:新浪互动社区事业部──博客产品
  网址:http://code.google.com/p/ncache/

  ncache是一款基于nginx的缓存系统,比Squid更快更高效。

  01
  点击在新窗口中浏览此图片

  02
  点击在新窗口中浏览此图片

  03
  点击在新窗口中浏览此图片

  04
  点击在新窗口中浏览此图片

  05
  点击在新窗口中浏览此图片

  06
  点击在新窗口中浏览此图片

  07
  点击在新窗口中浏览此图片

  08
  点击在新窗口中浏览此图片

  09
  点击在新窗口中浏览此图片

  10
  点击在新窗口中浏览此图片

  以上图片来自PPT:http://ncache.googlecode.com/files/ncache.ppt



技术大类 » Cache与存储 | 评论(41) | 引用(0) | 阅读(52263)
sad
2009-6-29 10:03
vinson Email
2009-9-18 11:49
[root@localhost memcachedb-1.2.0]# make
make  all-recursive
make[1]: Entering directory `/home/soft/memcachedb-1.2.0'
Making all in doc
make[2]: Entering directory `/home/soft/memcachedb-1.2.0/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/soft/memcachedb-1.2.0/doc'
Making all in tools
make[2]: Entering directory `/home/soft/memcachedb-1.2.0/tools'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/soft/memcachedb-1.2.0/tools'
Making all in conf
make[2]: Entering directory `/home/soft/memcachedb-1.2.0/conf'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/soft/memcachedb-1.2.0/conf'
make[2]: Entering directory `/home/soft/memcachedb-1.2.0'
gcc -DHAVE_CONFIG_H -I.   -I/usr/local/BerkeleyDB.4.7/include   -g -O2 -MT memcachedb.o -MD -MP -MF .deps/memcachedb.Tpo -c -o memcachedb.o memcachedb.c
memcachedb.c: In function `process_rep_command':
memcachedb.c:1284: error: structure has no member named `rep_set_priority'
memcachedb.c:1299: error: structure has no member named `repmgr_set_ack_policy'
memcachedb.c: In function `process_bdb_command':
memcachedb.c:1342: error: `DB_COMPACT' undeclared (first use in this function)
memcachedb.c:1342: error: (Each undeclared identifier is reported only once
memcachedb.c:1342: error: for each function it appears in.)
memcachedb.c:1342: error: syntax error before "c_data"
memcachedb.c:1343: error: structure has no member named `compact'
memcachedb.c:1343: error: `c_data' undeclared (first use in this function)
memcachedb.c:1343: error: `DB_FREE_SPACE' undeclared (first use in this function)
make[2]: *** [memcachedb.o] Error 1
make[2]: Leaving directory `/home/soft/memcachedb-1.2.0'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/soft/memcachedb-1.2.0'
make: *** [all] Error 2



安裝的時候出現這個,過不去,google下沒有發現相關資料?請教下要怎么處理?
白开水
2010-4-9 10:45
张宴你好,我按照你写的memcachedb的方法做了个实验,现在有一个问题就是:
#第二种,读写分离/备份模式
1.主服务器192.168.3.26读写监听21211 ,同步通过31211的端口完成:
memcachedb -p21211 -d -r -u root -H /data/mdb_11211_m -N -R 192.168.3.26:31211 -M -v >/data/21211.log 2>&12.
2.辅服务器 192.168.3.20  只读监听 21212,从192.168.3.26 的 31211端口同步数据,同时再开一个31212端口对外提供数据同步服务
memcachedb -p21212 -d -r -u root -H /data/mdb_11211_from_16801_s -N -R 192.168.3.20:31212 -O 192.168.3.26:31211 -S -v >/data/21212.log 2>&1
为什么我从主服务器缓存的东西辅服务器同步不过来呢,双方的日志如下:
主服务器log:
memcachedb: PANIC: fatal region error detected; run recovery
memcachedb: ignoring event 1
辅服务器log:
db_open: No such file or directory
dbp->close: OK
请指点一下,谢谢了!!
yifei
2010-4-9 11:53
张宴你好,我做了个memcachedb实验,现在有一个问题就是:
#第二种,读写分离/备份模式
1.主服务器192.168.3.26读写监听21211 ,同步通过31211的端口完成:
memcachedb -p21211 -d -r -u root -H /data/mdb_11211_m -N -R 192.168.3.26:31211 -M -v >/data/21211.log 2>&12.
2.辅服务器 192.168.3.20   只读监听 21212,从192.168.3.26 的 31211端口同步数据,同时再开一个31212端口对外提供数据同步服务
memcachedb -p21212 -d -r -u root -H /data/mdb_11211_from_16801_s -N -R 192.168.3.20:31212 -O 192.168.3.26:31211 -S -v >/data/21212.log 2>&1
为什么我从主服务器缓存的东西辅服务器同步不过来呢,双方的日志如下:
主服务器log:
memcachedb: PANIC: fatal region error detected; run recovery
memcachedb: ignoring event 1
辅服务器log:
db_open: No such file or directory
dbp->close: OK
请指点一下,谢谢了!!
wiwiboy
2010-8-23 23:30
Memcachedb产生的db文件怎么不会变小?我循环插入50万条数据,然后过了一段时间挨个删除,结果db文件停在44M就没有变化,这是什么原因呢?望高手赐教!
louis vuitton uk Email Homepage
2011-11-23 08:56
This louis vuitton uk for sale belongs to the sounding just what are termed as Louis Vuitton vintage best sellers, many other products and services for the reason that range appearing companies.You will easily notice the unfold zippers of this coach outlet store online. That is the decoration. There are some inside pockets for you as well. They are easy to match your clothes and to carry.Let us inspire your inner beauty with fine christian louboutin sale. Purse the elegance in bridal wedding. Enjoy the fashion.
coach factory outlet Email Homepage
2012-5-17 11:18
Today, following half a century, mentor leather-bases coach factory outlet continues to be the delicate craft of leather-based master is accountable for,Would you like to meet more friends, or go with the times? If yes, coach factory online is opening welcome doors to you.in the market you definitely can find various colorways that are designed in as well as the high quality that applied in. For most of you would like to come. So just come to our coach factory outlet online store to choose one.
louis vuitton sale Email Homepage
2012-5-17 11:18
Louis Vuitton belt at louis vuitton sale is one kind of fashion accessory with high cost performance among the Louis Vuitton accessories.Offering quality LV products with favorable prices, louis vuitton outlet store is at your service. Hurry up, or you can not seize the chance.in fact, louis vuitton is one of the most famous fashion design master.he opened the fist suitcase shop called after his name.
coach outlet online Email Homepage
2012-5-17 11:19
I heard of coach outlet online through the advertisement when I was shopping. And now I often brow the webpage and buy Coach bags online.It is a symbol regarding position not to mention nature.Here I would like to launch a excellent bags pertaining to business men.Which may be coach outlet store.coach outlet has always been simple,durable style features to win consumers.The products are more flexible,with easy bleaching,wear characteristics,and simply use a damp cloth.
coach outlet, Email Homepage
2012-5-17 11:19
Remember the coach outlet provide coach bags which won't be deteriorated into its overall styles by any means. It will maintain its looks, colors, and uniqueness for long time.coach outlet store online has been voted by Hour Detroit magazine readers as the Best of Detroit in their 12th annual readers'poll.Lots of women like which usually amount normally include a coach outlet online ,it provides coziness to many girls that don't even think it is a great bushel of great interest directly to them.
xujie777 Email
2012-5-18 16:31
We aim to make all our customers satisfy with our products. You will find a variety of Men's fashion louis vuitton uk, fashion Women's cheap Louis Vuitton bags in our store at affordable price.Thinking of interesting ways to cost a milestone birthday? louis vuitton online shop had one of the most distinctive distinctive celebrations.bakery along with living room operated by means of about three moment louis vuitton online Most effective Pastry Chef’s of the year Rammy Nominee Chef’s.
xujie777 Email
2012-5-18 16:31
The choices are likely to be basically countless seeing that louis vuitton outlet occurs with the help of completely new and also incredible concepts once in a while.Louis vuitton Wholesale Monogram Canvas HandbagsLouis Vuitton Collection Beach Handbags louis vuitton bags outlet Damier Canvas HandbagsLouis vuitton Mahina HandbagsLouis Vuitton Monogram Mini Lin HandbagsLouis Vuitton Monogram Multicolore HandbagsLouis vuitton Monogram Vernis HandbagsLouis Vuitton Wholesale Epi Leather HandbagsLouis Vuitton For Men HandbagsLouis Vuitton Damier Canvas WalletsLouis Vuitton Epi Leather WalletsLouis Vuitton Monogram Canvas WalletsLouis Vuitton Monogram Vernis WalleLouis Vuitton ShoesLouis Vuitton Men wallets.As the Authentic Louis Vuitton are so high-priced, so came the louis vuitton handbags outlet.
xujie777 Email
2012-5-18 16:31
coach outlet has become a popular shopping experience for consumers around the world, and a desirable distribution channel for manufacturer's and retailers.Getting your hands on coach outlet store online can be a hefty investment of hundreds of dollars.But do not despair,the Coach Outlet store could be the answer to your prayers.coach outlet online is your smart choice when you want to get the discount Coach accessory. You can find the exact Coach Bags and other accessory you want at a low price that's right for you. My dear friends, let the coach outlet online pave your way into the world of high fashion with their ultimate fashion factory.
xujie123
2012-5-21 11:15
Our online store offers you discounted Designer louis vuitton replica wallet at present. You could find them in desirable quality and price. If you don't mind high class louis vuitton uk, have a good time here.louis vuitton Store Online Handbags can also bring great accuracy as well as practical applicability and fashionable.Have you ever dreamed of being as charming as Madonna? Have you ever thought of becoming an envy of all your friends? If so, come to louis vuitton outlet.<br/>
xujie555
2012-5-21 13:38
coach factory outlet uses graceful accessories to match the classical logo of coach, which is the best combination of coach. The handmade coach products?can make you more charming and graceful.coach factory online provides people many coach goods. If you wish to snatch the coach handbag, then this best method is made for that you like for coach discount.coach factory outlet online is a fashion brand to ensure its quality. With designer coach shoulder bags, you will always attract people's attention. The bags will emphasize your personal style and taste.<br/>
xujie333
2012-5-21 14:59
coach outlet online Store guarantee that all the coach handbags offered are own high quality. In addition , all of them are sold at an unexpected low price.If you want to purchase, just visit their website.coach factory outlet is really sizzling kinds of shopping way for you. With the usage of the replica designer coach bags, you can surely be able to change your individual looks in a stunning manner.Coach bags on sale from the coach outlet are cheap or discount prices that you certainly will stand out from the crowd on your next camping trip!<br/>
coach88888888 Email
2012-8-13 17:44
If you desire to go to Coach Factory Outlet, but have no idea in which to go, you can research online. It is no doubt that there is drastically information and details about it for the reference.Coach Factory Online are loved by many people, when you walk in the street, you could see many people take coach styles.hat experts claim Coach Outlet Online shopping is in the changes they are available in.Coach Outlet will send you a coupon in the post to use in their upon only after you type a achieve. The Coach bags are customarily somewhat many than the ones in the stores.
分页: 2/3 第一页 上页 1 2 3 下页 最后页
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]