- 出版社: Manning Publications; Pap/Psc (2013年5月28日)
- 平装: 438页
- 语种： 英语
- ISBN: 1617290858
- 条形码: 9781617290855
- 商品尺寸: 18.7 x 1.7 x 23.5 cm
- 商品重量: 540 g
- ASIN: 1617290858
- 用户评分: 分享我的评价
- 亚马逊热销商品排名: 图书商品里排第964,667名 (查看图书商品销售排行榜)
Redis in Action (英语) 平装 – 2013年5月28日
Dr. Josiah L Carlson is well known as an active and helpful contributor on the Redis mailing list. He has given talks about real-world uses of Redis, including building a self-service ad network, prioritizing task queues, web spiders, a Twitter analytics platform, real-time search engines, and more.
|5 星 (0%)|
|4 星 (0%)|
|3 星 (0%)|
|2 星 (0%)|
|1 星 (0%)|
Now that that's out of the way, I've been a pretty heavy user of Redis for the last few years as part of my job, and have been programming with Python over a half-dozen years. Given my experience, most of chapters 1-4 were too basic for me, but at least the book got me used to the way Josiah writes.
There were a few interesting topics in chapters 5 and 6, but I really think the author hits his stride in chapter 7 with searching. He pulls together a few different topics from earlier in the book to basically build an ad server with Redis. He leaves the reader with a full page listing of how to make the ad server better, which at least got me thinking, even though I hate ads.
I wasn't interested in chapter 8's social network buildout, and the section on the streaming API probably shouldn't have even been there (it's more Python than Redis). But in chapter 9 he brings it all back together and shows how you can cut memory use in about half of the situations that I've at least come across. Then in chapter 10 he continues on the scaling side of things, again bringing up older examples.
We finally get a taste of Lua scripting in chapter 11, where Josiah revisits even more previous problems. I really think that chapter 11 should have been longer, because there are a lot more interesting problems out there that Lua solves. And I wasn't interested in the sharded lists, but I guess it completes the reduced-memory sharding of structures he started in chapter 9.
If I were a new Redis user, I would give this book a 5. There is gradual buildup through the first few chapters in preparation for the more intermediate and advanced topics later on. Some of the earlier problems are a bit contrived, but it will get a new Redis user asking the right questions. If you aren't a Python user, some of the code might be a bit tough to work through, but it's a lot easier (and shorter) than if the book was in Java.
As a more advanced user of Redis, I wanted more of the advanced topics, but Josiah covered enough interesting problems to make it a worthwhile read. I'd consider this a solid 4, maybe 4.5 for a more advanced user, but I'm going to give it a 5 just because it is so much better than anything else out there for documenting best practices with Redis and covering topics that you just can't find anywhere else.