资源描述:
《Redis Cookbook》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、Downloadatwww.Pin5i.ComRedisCookbookDownloadatwww.Pin5i.ComDownloadatwww.Pin5i.ComRedisCookbookTiagoMacedoandFredOliveiraBeijing•Cambridge•Farnham•Köln•Sebastopol•TokyoDownloadatwww.Pin5i.ComRedisCookbookbyTiagoMacedoandFredOliveiraCopyright©2011TiagoMac
2、edoandFredOliveira.Allrightsreserved.PrintedintheUnitedStatesofAmerica.PublishedbyO’ReillyMedia,Inc.,1005GravensteinHighwayNorth,Sebastopol,CA95472.O’Reillybooksmaybepurchasedforeducational,business,orsalespromotionaluse.Onlineeditionsarealsoavailablefor
3、mosttitles(http://my.safaribooksonline.com).Formoreinformation,contactourcorporate/institutionalsalesdepartment:(800)998-9938orcorporate@oreilly.com.Editors:AndyOramandMikeHendricksonCoverDesigner:KarenMontgomeryProductionEditor:JasminePerezInteriorDesig
4、ner:DavidFutatoProofreader:O’ReillyProductionServicesPrintingHistory:August2011:FirstEdition.NutshellHandbook,theNutshellHandbooklogo,andtheO’ReillylogoareregisteredtrademarksofO’ReillyMedia,Inc.RedisCookbook,theimageofthemouseopossum,andrelatedtradedres
5、saretrademarksofO’ReillyMedia,Inc.Manyofthedesignationsusedbymanufacturersandsellerstodistinguishtheirproductsareclaimedastrademarks.Wherethosedesignationsappearinthisbook,andO’ReillyMedia,Inc.wasawareofatrademarkclaim,thedesignationshavebeenprintedincap
6、sorinitialcaps.Whileeveryprecautionhasbeentakeninthepreparationofthisbook,thepublisherandauthorsassumenoresponsibilityforerrorsoromissions,orfordamagesresultingfromtheuseoftheinformationcon-tainedherein.ISBN:978-1-449-30504-8[LSI]1311195806Downloadatwww.
7、Pin5i.ComTableofContentsPreface.....................................................................ix1.AnIntroductiontoRedis.................................................1WhentouseRedis1Problem1Solution1InstallingRedis3Problem3Solution3Discussion3Usi
8、ngRedisDataTypes7Problem7Solution7Discussion72.Clients................................................................9UsingRedisfromtheCommandLine9Problem9Solution9Discussion9UsingRedisfromPythonwithredis-py10Problem10Sol