锘??xml version="1.0" encoding="utf-8" standalone="yes"?>热99re久久国超精品首页,伊人久久免费视频,国产精品欧美久久久久天天影视http://www.shnenglu.com/mysileng/category/20460.htmlzh-cnTue, 09 Apr 2013 23:01:41 GMTTue, 09 Apr 2013 23:01:41 GMT60Redis 璁捐涓庡疄鐜?-4--鍐呴儴鏁版嵁緇撴瀯--璺寵穬琛?/title><link>http://www.shnenglu.com/mysileng/archive/2013/04/06/199160.html</link><dc:creator>閼緳</dc:creator><author>閼緳</author><pubDate>Sat, 06 Apr 2013 12:45:00 GMT</pubDate><guid>http://www.shnenglu.com/mysileng/archive/2013/04/06/199160.html</guid><wfw:comment>http://www.shnenglu.com/mysileng/comments/199160.html</wfw:comment><comments>http://www.shnenglu.com/mysileng/archive/2013/04/06/199160.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/mysileng/comments/commentRss/199160.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/mysileng/services/trackbacks/199160.html</trackback:ping><description><![CDATA[     鎽樿: 杞嚜錛歨ttp://www.redisbook.com 璺寵穬琛?#182;璺寵穬琛紙skiplist錛夋槸涓縐嶉殢鏈哄寲鐨勬暟鎹紝 鐢?William Pugh 鍦ㄨ鏂囥奡kip lists: a probabilistic alternative to balanced trees銆嬩腑鎻愬嚭錛?榪欑鏁版嵁緇撴瀯浠ユ湁搴忕殑鏂瑰紡鍦ㄥ眰嬈″寲鐨勯摼琛ㄤ腑淇濆瓨鍏冪礌錛?瀹冪殑鏁堢巼鍙互鍜屽鉤琛℃爲濯茬編 ——...  <a href='http://www.shnenglu.com/mysileng/archive/2013/04/06/199160.html'>闃呰鍏ㄦ枃</a><img src ="http://www.shnenglu.com/mysileng/aggbug/199160.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/mysileng/" target="_blank">閼緳</a> 2013-04-06 20:45 <a href="http://www.shnenglu.com/mysileng/archive/2013/04/06/199160.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Redis 璁捐涓庡疄鐜?-3--鍐呴儴鏁版嵁緇撴瀯--瀛楀吀http://www.shnenglu.com/mysileng/archive/2013/04/05/199132.html閼緳閼緳Fri, 05 Apr 2013 11:00:00 GMThttp://www.shnenglu.com/mysileng/archive/2013/04/05/199132.htmlhttp://www.shnenglu.com/mysileng/comments/199132.htmlhttp://www.shnenglu.com/mysileng/archive/2013/04/05/199132.html#Feedback0http://www.shnenglu.com/mysileng/comments/commentRss/199132.htmlhttp://www.shnenglu.com/mysileng/services/trackbacks/199132.html闃呰鍏ㄦ枃

閼緳 2013-04-05 19:00 鍙戣〃璇勮
]]>
Redis 璁捐涓庡疄鐜?-2--鍐呴儴鏁版嵁緇撴瀯--鍙岀閾捐〃http://www.shnenglu.com/mysileng/archive/2013/04/05/199130.html閼緳閼緳Fri, 05 Apr 2013 10:05:00 GMThttp://www.shnenglu.com/mysileng/archive/2013/04/05/199130.htmlhttp://www.shnenglu.com/mysileng/comments/199130.htmlhttp://www.shnenglu.com/mysileng/archive/2013/04/05/199130.html#Feedback0http://www.shnenglu.com/mysileng/comments/commentRss/199130.htmlhttp://www.shnenglu.com/mysileng/services/trackbacks/199130.html闃呰鍏ㄦ枃

閼緳 2013-04-05 18:05 鍙戣〃璇勮
]]>
Redis 璁捐涓庡疄鐜?-1--鍐呴儴鏁版嵁緇撴瀯--綆鍗曞姩鎬佸瓧絎︿覆http://www.shnenglu.com/mysileng/archive/2013/04/05/199129.html閼緳閼緳Fri, 05 Apr 2013 09:54:00 GMThttp://www.shnenglu.com/mysileng/archive/2013/04/05/199129.htmlhttp://www.shnenglu.com/mysileng/comments/199129.htmlhttp://www.shnenglu.com/mysileng/archive/2013/04/05/199129.html#Feedback0http://www.shnenglu.com/mysileng/comments/commentRss/199129.htmlhttp://www.shnenglu.com/mysileng/services/trackbacks/199129.html闃呰鍏ㄦ枃

閼緳 2013-04-05 17:54 鍙戣〃璇勮
]]>
Redis緋葷粺鎬т粙緇?/title><link>http://www.shnenglu.com/mysileng/archive/2013/04/05/199122.html</link><dc:creator>閼緳</dc:creator><author>閼緳</author><pubDate>Fri, 05 Apr 2013 06:46:00 GMT</pubDate><guid>http://www.shnenglu.com/mysileng/archive/2013/04/05/199122.html</guid><wfw:comment>http://www.shnenglu.com/mysileng/comments/199122.html</wfw:comment><comments>http://www.shnenglu.com/mysileng/archive/2013/04/05/199122.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/mysileng/comments/commentRss/199122.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/mysileng/services/trackbacks/199122.html</trackback:ping><description><![CDATA[     鎽樿: 铏界劧Redis宸茬粡寰堢伀浜嗭紝鐩鎬俊榪樻槸鏈夊緢澶氬悓瀛﹀Redis鍙槸鏈夋墍鍚椈鎴栬呬簡瑙e茍涓嶅叏闈紝涓嬮潰鏄竴涓瘮杈冪郴緇熺殑Redis浠嬬粛錛屽Redis鐨勭壒鎬у強鍚勭鏁版嵁綾誨瀷鍙婃搷浣滆繘琛屼簡浠嬬粛銆傛槸涓涓緢涓嶉敊鐨凴edis鍏ラ棬鏁欑▼銆?.浠嬬粛1.1 Redis鏄粈涔圧Emote DIctionary Server(Redis) 鏄竴涓敱Salvatore Sanfilippo鍐欑殑key-value瀛樺偍緋葷粺...  <a href='http://www.shnenglu.com/mysileng/archive/2013/04/05/199122.html'>闃呰鍏ㄦ枃</a><img src ="http://www.shnenglu.com/mysileng/aggbug/199122.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/mysileng/" target="_blank">閼緳</a> 2013-04-05 14:46 <a href="http://www.shnenglu.com/mysileng/archive/2013/04/05/199122.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Redis瀹夎鍙婇厤緗富浠庡鍒?/title><link>http://www.shnenglu.com/mysileng/archive/2013/04/03/199077.html</link><dc:creator>閼緳</dc:creator><author>閼緳</author><pubDate>Wed, 03 Apr 2013 10:41:00 GMT</pubDate><guid>http://www.shnenglu.com/mysileng/archive/2013/04/03/199077.html</guid><wfw:comment>http://www.shnenglu.com/mysileng/comments/199077.html</wfw:comment><comments>http://www.shnenglu.com/mysileng/archive/2013/04/03/199077.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/mysileng/comments/commentRss/199077.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/mysileng/services/trackbacks/199077.html</trackback:ping><description><![CDATA[<div></div><div>Redis鏄竴涓猭ey-value瀛樺偍緋葷粺銆傚拰Memcached綾諱技錛屽畠鏀寔瀛樺偍鐨剉alue綾誨瀷鐩稿鏇村錛屽寘鎷瑂tring(瀛楃涓?銆?list(閾捐〃)銆乻et(闆嗗悎)鍜寊set(鏈夊簭闆嗗悎)銆傝繖浜涙暟鎹被鍨嬮兘鏀寔push/pop銆乤dd/remove鍙婂彇浜ら泦騫墮泦鍜屽樊闆嗗強鏇翠赴瀵岀殑鎿?浣滐紝鑰屼笖榪欎簺鎿嶄綔閮芥槸鍘熷瓙鎬х殑銆傚湪姝ゅ熀紜涓婏紝redis鏀寔鍚勭涓嶅悓鏂瑰紡鐨勬帓搴忋備笌memcached涓鏍鳳紝涓轟簡淇濊瘉鏁堢巼錛屾暟鎹兘鏄紦瀛樺湪鍐呭瓨涓傚尯鍒殑 鏄痳edis浼氬懆鏈熸х殑鎶婃洿鏂扮殑鏁版嵁鍐欏叆紓佺洏鎴栬呮妸淇敼鎿嶄綔鍐欏叆榪藉姞鐨勮褰曟枃浠訛紝騫朵笖鍦ㄦ鍩虹涓婂疄鐜頒簡master-slave(涓諱粠)鍚屾銆俁edis 鏄竴涓珮鎬ц兘鐨刱ey-value鏁版嵁搴撱?br /> redis鐨勫嚭鐜幫紝寰堝ぇ紼嬪害琛ュ伩浜唌emcached榪欑被key/value瀛樺偍鐨勪笉瓚籌紝鍦ㄩ儴鍒嗗満鍚堝彲浠ュ鍏崇郴鏁版嵁搴撹搗鍒板緢濂界殑琛ュ厖浣滅敤銆傚畠鎻愪緵浜哖ython錛孯uby錛孍rlang錛孭HP瀹㈡埛绔紝浣跨敤寰堟柟渚褲?浠ヤ笂鍐呭鎽樿嚜鐧懼害鐧劇) <p>涓錛氫笅杞絩edis騫跺畨瑁?/p> <pre><ol><li><span>[root@server11 ~]# wget http://redis.googlecode.com/files/redis-2.6.4.tar.gz  </span></li><li>[root@server11 ~]# tar -zxvpf redis-2.6.4.tar.gz   </li><li>[root@server11 ~]# cd redis-2.6.4  </li><li>[root@server11 redis-2.6.4]# make install </li></ol></pre> <p>32浣嶆搷浣滅郴緇熶笂鍙兘浼氬嚭鐜板涓嬫姤閿欙細<br /> zmalloc.o: In function `zmalloc_used_memory':<br /> /root/redis-2.6.4/src/zmalloc.c:223: undefined reference to `__sync_add_and_fetch_4'<br /> collect2: ld returned 1 exit status<br /> make[1]: *** [redis-server] Error 1<br /> make[1]: Leaving directory `/root/redis-2.6.4/src'<br /> make: *** [all] Error 2</p> <p>瑙e喅鏂規鍙傝冿細<br /> <a >https://groups.google.com/forum/?fromgroups#!topic/redis-db/NI_d00he39o</a></p> <p><a target="_blank" ><img onunload="" onsubmit="" onselect="" onresize="" onreset="" onmouseup="" onmousemove="" onmousedown="" onkeyup="" onkeypress="" onkeydown="" onfocus="" onerror="" ondblclick="" onclick="" onchange="" onblur="" onabort="" onload="if(this.width>650) this.width=650;" alt="" src="http://img1.51cto.com/attachment/201211/095949776.jpg" border="0" width="650"></a></p> <p>浜?緙栬緫redis閰嶇疆鏂囦歡錛屽惎鍔╮edis</p> <pre><ol><li><span>[root@server11 ~]# mkdir -p /usr/local/redis2/{bin,etc,var}  </span></li><li>[root@server11 redis-2.6.4]# cp redis.conf /usr/local/redis2/etc/  </li><li>[root@server11 redis-2.6.4]# cp /usr/local/bin/redis-* /usr/local/redis2/bin/  </li><li> </li><li>[root@server11 ~]# grep -v '^#' /usr/local/redis2/etc/redis.conf |grep -v '^$' //鍚勫弬鏁板惈涔夊湪閰嶇疆鏂囦歡涓湁鍏蜂綋鐨勮В閲婂拰浠嬬粛  </li><li>daemonize yes   </li><li>pidfile /usr/local/redis2/var/redis.pid  </li><li>port 6379  </li><li>bind 192.168.1.112   </li><li>timeout 300   </li><li>loglevel notice  </li><li>logfile stdout  </li><li>databases 16  </li><li>save 900 1  </li><li>save 300 10  </li><li>save 60 10000  </li><li>stop-writes-on-bgsave-error yes  </li><li>rdbcompression yes  </li><li>rdbchecksum yes  </li><li>dbfilename dump.rdb  </li><li>dir ./  </li><li>slave-serve-stale-data yes  </li><li>slave-read-only yes  </li><li>slave-priority 100  </li><li>appendonly no  </li><li>appendfsync everysec  </li><li>no-appendfsync-on-rewrite no  </li><li>auto-aof-rewrite-percentage 100  </li><li>auto-aof-rewrite-min-size 64mb  </li><li>lua-time-limit 5000  </li><li>slowlog-log-slower-than 10000  </li><li>slowlog-max-len 128  </li><li>hash-max-ziplist-entries 512  </li><li>hash-max-ziplist-value 64  </li><li>list-max-ziplist-entries 512  </li><li>list-max-ziplist-value 64  </li><li>set-max-intset-entries 512  </li><li>zset-max-ziplist-entries 128  </li><li>zset-max-ziplist-value 64  </li><li>activerehashing yes  </li><li>client-output-buffer-limit normal 0 0 0  </li><li>client-output-buffer-limit slave 256mb 64mb 60  </li><li>client-output-buffer-limit pubsub 32mb 8mb 60  </li><li> </li><li>[root@server11 ~]# /usr/local/redis2/bin/redis-server  /usr/local/redis2/etc/redis.conf   </li><li>[root@server11 ~]# netstat -ntpl |grep 6379  </li><li>tcp        0      0 192.168.1.112:6379          0.0.0.0:*                   LISTEN      6044/redis-server    </li><li> </li><li>[root@server11 ~]# /usr/local/redis2/bin/redis-cli -h 192.168.1.112  </li><li>redis 192.168.1.112:6379> set number 100  </li><li>OK  </li><li>redis 192.168.1.112:6379> get number  </li><li>"100"  </li><li>redis 192.168.1.112:6379> del number  </li><li>(integer) 1  </li><li>redis 192.168.1.112:6379> get number  </li><li>(nil)  </li><li>redis 192.168.1.112:6379> quit </li></ol></pre> <p>涓? redis涓諱粠閰嶇疆錛屽叧闂富鑺傜偣鐨剅edis瀹炰緥錛屽鍒?usr/local/redis2/鐩綍鑷充粠鑺傜偣</p> <pre><ol><li><span>[root@server11 ~]# ps -ef |grep redis  </span></li><li>root      6044     1  0 09:37 ?        00:00:00 /usr/local/redis2/bin/redis-server /usr/local/redis2/etc/redis.conf  </li><li>root      6072 27475  0 09:44 pts/1    00:00:00 grep redis  </li><li>[root@server11 ~]# kill 6044  </li><li>[root@server11 ~]# scp -rvp /usr/local/redis2/ root@192.168.1.113:/usr/local/  </li><li> </li><li>[root@server12 ~]# grep -v '^#'  /usr/local/redis2/etc/redis.conf  |grep -v '^$' //娉ㄦ剰綰㈣壊瀛椾綋閮ㄥ垎  </li><li>daemonize yes   </li><li>pidfile /usr/local/redis2/var/redis.pid  </li><li>port 6379  </li><li>bind 192.168.1.113  </li><li>timeout 300   </li><li>loglevel notice  </li><li>logfile stdout  </li><li>databases 16  </li><li>save 900 1  </li><li>save 300 10  </li><li>save 60 10000  </li><li>stop-writes-on-bgsave-error yes  </li><li>rdbcompression yes  </li><li>rdbchecksum yes  </li><li><span style="color: #ff0000;">dbfilename salve.rdb  </span></li><li>dir ./  </li><li><span style="color: #ff0000;">slaveof 192.168.1.112 6379</span> </li><li>slave-serve-stale-data yes  </li><li>slave-read-only yes  </li><li>slave-priority 100  </li><li>appendonly no  </li><li>appendfsync everysec  </li><li>no-appendfsync-on-rewrite no  </li><li>auto-aof-rewrite-percentage 100  </li><li>auto-aof-rewrite-min-size 64mb  </li><li>lua-time-limit 5000  </li><li>slowlog-log-slower-than 10000  </li><li>slowlog-max-len 128  </li><li>hash-max-ziplist-entries 512  </li><li>hash-max-ziplist-value 64  </li><li>list-max-ziplist-entries 512  </li><li>list-max-ziplist-value 64  </li><li>set-max-intset-entries 512  </li><li>zset-max-ziplist-entries 128  </li><li>zset-max-ziplist-value 64  </li><li>activerehashing yes  </li><li>client-output-buffer-limit normal 0 0 0  </li><li>client-output-buffer-limit slave 256mb 64mb 60  </li><li>client-output-buffer-limit pubsub 32mb 8mb 60 </li></ol></pre> <p>鍥涳細鍒嗗埆鍚姩涓諱粠鑺傜偣redis瀹炰緥騫舵祴璇?/p> <pre><ol><li><span>[root@server11 ~]# /usr/local/redis2/bin/redis-server /usr/local/redis2/etc/redis.conf   </span></li><li>[root@server12 ~]# /usr/local/redis2/bin/redis-server /usr/local/redis2/etc/redis.conf   </li><li> </li><li>[root@server12 ~]# netstat -ntpl |grep 6379  </li><li>tcp        0      0 192.168.1.113:6379          0.0.0.0:*                   LISTEN      16653/redis-server    </li><li> </li><li>[root@server11 ~]# /usr/local/redis2/bin/redis-cli -h 192.168.1.112  </li><li>redis 192.168.1.112:6379> set number 1  </li><li>OK  </li><li>redis 192.168.1.112:6379> get number   </li><li>"1"  </li><li>redis 192.168.1.112:6379> quit  </li><li> </li><li>[root@server11 ~]# /usr/local/redis2/bin/redis-cli -h 192.168.1.113  </li><li>redis 192.168.1.113:6379> get number  </li><li>"1"  </li><li>redis 192.168.1.113:6379> del number  </li><li>(error) READONLY You can't write against a read only slave.  </li><li>redis 192.168.1.113:6379> quit <br /></li></ol></pre></div><img src ="http://www.shnenglu.com/mysileng/aggbug/199077.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/mysileng/" target="_blank">閼緳</a> 2013-04-03 18:41 <a href="http://www.shnenglu.com/mysileng/archive/2013/04/03/199077.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p> <a href="http://www.shnenglu.com/" title="精品视频久久久久">精品视频久久久久</a> <div class="friend-links"> </div> </div> </footer> <a href="http://www.13xb.com.cn" target="_blank">乱亲女H秽乱长久久久</a>| <a href="http://www.onlymir.cn" target="_blank">精品久久久久久99人妻</a>| <a href="http://www.pu1166.cn" target="_blank">久久国产免费</a>| <a href="http://www.fanglan-tech.cn" target="_blank">久久夜色tv网站</a>| <a href="http://www.cs556.cn" target="_blank">亚洲伊人久久成综合人影院 </a>| <a href="http://www.city24.com.cn" target="_blank">久久se精品一区二区</a>| <a href="http://www.linuxls.cn" target="_blank">国产高清国内精品福利99久久</a>| <a href="http://www.itmr.com.cn" target="_blank">久久久午夜精品福利内容</a>| <a href="http://www.kh875.cn" target="_blank">亚洲午夜久久久影院伊人</a>| <a href="http://www.ziximaker.cn" target="_blank">国产69精品久久久久9999</a>| <a href="http://www.v0008.cn" target="_blank">亚洲精品tv久久久久</a>| <a href="http://www.3gdd.cn" target="_blank">国产欧美一区二区久久</a>| <a href="http://www.818jk.cn" target="_blank">久久综合偷偷噜噜噜色</a>| <a href="http://www.kbsfrp.cn" target="_blank">麻豆精品久久精品色综合</a>| <a href="http://www.mail-lists.cn" target="_blank">囯产精品久久久久久久久蜜桃</a>| <a href="http://www.by1506.cn" target="_blank">国产福利电影一区二区三区久久老子无码午夜伦不 </a>| <a href="http://www.nuonuoxiye.cn" target="_blank">人妻丰满AV无码久久不卡</a>| <a href="http://www.yixue77.cn" target="_blank">亚洲精品国产成人99久久</a>| <a href="http://www.ksszzyy.cn" target="_blank">国内精品久久久久影院亚洲</a>| <a href="http://www.525work.cn" target="_blank">久久九九有精品国产23百花影院</a>| <a href="http://www.ireboot.cn" target="_blank">日日狠狠久久偷偷色综合0</a>| <a href="http://www.sai-shang.cn" target="_blank">婷婷久久久亚洲欧洲日产国码AV </a>| <a href="http://www.tvue.cn" target="_blank">中文字幕无码精品亚洲资源网久久</a>| <a href="http://www.yvresse.cn" target="_blank">国产精品久久影院</a>| <a href="http://www.laigun.cn" target="_blank">亚洲精品国产字幕久久不卡</a>| <a href="http://www.52chaoyang.cn" target="_blank">精品免费久久久久国产一区</a>| <a href="http://www.lueyi.com.cn" target="_blank">国产三级久久久精品麻豆三级</a>| <a href="http://www.tjywmc.cn" target="_blank">亚洲欧美一级久久精品</a>| <a href="http://www.seomog.cn" target="_blank">99久久国产免费福利</a>| <a href="http://www.focuan.cn" target="_blank">久久精品国产99国产电影网</a>| <a href="http://www.uhqw.cn" target="_blank">欧洲精品久久久av无码电影</a>| <a href="http://www.pewn.cn" target="_blank">中文字幕无码精品亚洲资源网久久</a>| <a href="http://www.weixinqun688.cn" target="_blank">欧美无乱码久久久免费午夜一区二区三区中文字幕 </a>| <a href="http://www.kh875.cn" target="_blank">国产精品美女久久久</a>| <a href="http://www.orientalhotel.com.cn" target="_blank">中文字幕无码免费久久</a>| <a href="http://www.dashu0.com.cn" target="_blank">久久天天婷婷五月俺也去</a>| <a href="http://www.fu-shing.cn" target="_blank">久久综合狠狠综合久久97色</a>| <a href="http://www.67yule.cn" target="_blank">久久99国产一区二区三区</a>| <a href="http://www.alichengde.cn" target="_blank">国产精品久久久久久福利漫画</a>| <a href="http://www.hypcba.cn" target="_blank">久久精品国产亚洲av麻豆小说 </a>| <a href="http://www.cq321.cn" target="_blank">国内精品久久久久久99</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>