19 Jul '12, 6am

To Redis or Not To Redis? (Key-Value Stores Part 4) | Engine Yard Ruby on Rails Blog:

Second, notice that you don’t need to initialize a counter before using it. If you reference a key in an increment or decrement operation that doesn’t exist, it will be automatically vivified for you. Finally, as mentioned just a moment ago, numbers don’t appear anywhere in the list of Redis data types, so the increment/decrement operations work on a simple principle—try to interpret the value as a long, and then work with whatever you get. So, be careful not to increment or decrement a key that has non-numeric data in it. Rather than throwing some sort of exception, Redis will happily attempt to do what you are asking, and clobber your data along the way.

Full article: http://www.engineyard.com/blog/2009/key-value-stores-for-...

Tweets

@jennypoke You have to read this! Sums up every...

quaintly.net 19 Jul '12, 10am

there are very many things that have happened and been roosting at the forefront of my mind since i last wrote, or even th...

Cucumber: More Advanced | Engine Yard Blog:

engineyard.com 21 Jul '12, 6pm

, I gave you some introductory information on Cucumber, a great framework for writing and executing high level description...

@langalex and

@langalex and

engineyard.com 30 Jul '12, 2pm

We use Ilya Grigorik’s em-proxy to fork traffic in real time from our production environment to a load testing environment...

ERR unknown command blpop for Resque, Redis and...

rubyflow.com 15 Jul '12, 10pm

ERR unknown command blpop for Resque, Redis and Rails Posted by mencio on July 15, 2012 — 0 comments I just posted small n...

Looking at Lithium #li3

engineyard.com 25 Jul '12, 7pm

In the announcement , Elizabeth told us about a little Lithium and why Engine Yard chose to sponsor the project. In this p...

Six Tips for Improving Ruby App Performance Web...

engineyard.com 17 Jul '12, 7am

Rapidly Deploy Applications to Hybrid Clouds with Engine Yard and CloudStack Gain Competitive Advantage with Platform as a...

Gamification is pretty hot right now, don't you think?

Gamification is pretty hot right now, don't you...

engineyard.com 24 Jul '12, 6pm

Gamification is not necessarily a new concept; games–and the elements of game play–have been a part of society for ages. S...

The State of PaaS | Engine Yard Blog | Engine Yard Blog

The State of PaaS | Engine Yard Blog | Engine Y...

engineyard.com 11 Jul '12, 6pm

But setting aside predictions about the future of PaaS, what is the state of the current PaaS market? We at Engine Yard we...

Treasure Data is now listed at @engineyard add-...

engineyard.com 31 Jul '12, 4pm

A few months ago we launched Database-less environments . This has been a very popular feature and today we are happy to a...