资源描述:
《oreilly.redis.cookbook.jul.2011外语英文电子书》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、RedisCookbookwnloadfromWow!eBookoDRedisCookbookTiagoMacedoandFredOliveiraBeijing•Cambridge•Farnham•Köln•Sebastopol•TokyoRedisCookbookbyTiagoMacedoandFredOliveiraCopyright©2011TiagoMacedoandFredOliveira.Allrightsreserved.PrintedintheUnitedStatesofAmerica.Publishedb
2、yO’ReillyMedia,Inc.,1005GravensteinHighwayNorth,Sebastopol,CA95472.O’Reillybooksmaybepurchasedforeducational,business,orsalespromotionaluse.Onlineeditionsarealsoavailableformosttitles(http://my.safaribooksonline.com).Formoreinformation,contactourcorporate/institutionalsalesdepartme
3、nt:(800)998-9938orcorporate@oreilly.com.Editors:AndyOramandMikeHendricksonCoverDesigner:KarenMontgomeryProductionEditor:JasminePerezInteriorDesigner:DavidFutatoProofreader:O’ReillyProductionServicesPrintingHistory:August2011:FirstEdition.NutshellHandbook,theNutshellHandbooklogo,and
4、theO’ReillylogoareregisteredtrademarksofO’ReillyMedia,Inc.RedisCookbook,theimageofthemouseopossum,andrelatedtradedressaretrademarksofO’ReillyMedia,Inc.Manyofthedesignationsusedbymanufacturersandsellerstodistinguishtheirproductsareclaimedastrademarks.Wherethosedesignationsappearinth
5、isbook,andO’ReillyMedia,Inc.wasawareofatrademarkclaim,thedesignationshavebeenprintedincapsorinitialcaps.Whileeveryprecautionhasbeentakeninthepreparationofthisbook,thepublisherandauthorsassumenoresponsibilityforerrorsoromissions,orfordamagesresultingfromtheuseoftheinformationcon-tai
6、nedherein.ISBN:978-1-449-30504-8[LSI]1311195806TableofContentsPreface.....................................................................ix1.AnIntroductiontoRedis.................................................1WhentouseRedis1Problem1Solution1InstallingRedis3Problem3Solution3Disc
7、ussion3UsingRedisDataTypes7Problem7Solution7Discussion72.Clients................................................................9UsingRedisfromtheCommandLine9Problem9Solution9Discussion9UsingRedisfromPythonwithredis-py10Problem10Solution10Discussion10UsingRedisfromRubywithredis-rb1
8、1Problem11Solution11Discus