My abstraction for how much data I have is "One MySQL database and one Redis database containing records on tens of thousands of people on behalf of hundreds of customers. That data is worth hundreds of thousands of dollars to me." I have no bloody clue how large it is in bytes, and — accordingly — had to both measure that and then do Excel modeling (factoring in expected rate of growth, compression ratios, deduplication, etc etc) to guess what Tarsnap would cost me in the …
…Snapdeal Selects Aerospike over case study ., and Redis to Improve Shopper Satisfaction . After experiencing 500% growth in , Snapdeal, largest online marketplace, switched from 10 MongoDB servers to just two servers on with , and reduced response times to less than a millisecond. Read the
Do Continuouson Live Data? ScaleOut 's hServer …
Bee - A $ 49 issues client that supports , , and .
Confidently Manage Business Logic with ActiveInteraction - implementing the Interactor pattern to reorganize your code.
Common Pitfalls of - Metrics 't get too focused on the numbers.
Sedona - firewall for Redis, useful if you want to expose a Redis install to untrusted clients.
For Redis, you'd run: # `brew info redis` will tell you what to run if you missed it ln -sfv /usr/local/opt/redis/*.plist ~/Library/LaunchAgents
And so on. Now you're ready to brew a service: $ brew services start mysql ==> Successfully started `mysql` (label: homebrew.mxcl.mysql)
Let's say MySQL's acting funky. We can easily restart …
Knossos: Redis and linearizability . Kyle Kingsbury delivers an amazingly indepth model based analysis of "a hypothetical linearizable system built on top of Redis WAIT and a strong coordinator." The lesson: don't get mad.
If a dead startup had a spirit, this is what it would look like: About Everpix . A truly fine memorial.
Don't miss all that thehas to say on , click below and become eventually consistent with …
Redis 2.4 - 100% uptime
memcached 1.4 - 100% uptime
nginx 1.1 - 100% uptime
sidekiq - 100% uptime, memory bloat 3
elasticsearch 0.90 - some downtime, configuration and setup complexity bit us
unicorn 4.6 - 100% uptime, expensive
has proven the least reliable part of our stack: getting indexing and sharding working reliably took several months with a handful of extended outages. Luckily we built in a "Search is not available right now" fallback …
API Analytics with Redis and
Javier Ramirez wants to tell us about dealing with big data:
At teowaki we have a system for usage analytics, with Redis …
…Moneta store, such as or Redis.) in any
However, we don't always need to cache the entireresponse. We can save space, avoid adding the operational overhead of Memcache or Redis, and avoid repeating the JSON parsing step if we cache only the URL requested.
Foursquare venue search
In the following example, our app only needs a venue's name, latitude, longitude, and street address. We'll get the data from's venue search …
…server are authenticated using that access token. For example, if you use addons.heroku.com to add Redis To Go or New Relic to your app, that results in addons.heroku.com decrypting your session cookie (after verification of the HMAC tag), extracting the OAuth access token, and making a backpost to api.heroku.com to execute the change. We use this same "save token in encrypted cookie" approach across all Heroku properties that require API access.
Yo dawg, I heard you …
…load shedding in each process that writes to the outside world: the tail buffers, and we have the Redis buffers locally and within each single drain. To work this way, the drain can be thought of as a combination of two state machines:
a state machine representing the connection or protocol negotiation state for the socket to the remote endpoint;
a state machine handling the buffering of log lines (both on input and output).
For the first type, the most basic machine is:
This means that …