20 April 2014

The Ruby Reflector

Topic

Redis

  Source Favicon
By Patrick of Kalzumeus Software 17 days ago.
Email

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 …

kalzumeus.com Read
  Source Favicon
By Todd Hoff of High Scalability 1 month ago.
Email

…Snapdeal Selects Aerospike over MongoDB, Couchbase and Redis to Improve Shopper Satisfaction . After experiencing 500% growth in 2013, Snapdeal, India's largest online marketplace, switched from 10 MongoDB servers to just two Linux servers on Amazon EC2 with Aerospike, and reduced response times to less than a millisecond. Read the case study .

Cool Products and Services

Do Continuous MapReduce on Live Data? ScaleOut Software's hServer …

highscalability.com Read
  Source Favicon
By Mike Gunderloy of A Fresh Cup 3 months ago.
Email

Bee - A $ 49 issues client that supports GitHub, FogBugz, and JIRA.

Confidently Manage Business Logic with ActiveInteraction - Gem implementing the Interactor pattern to reorganize your Rails code.

Common Pitfalls of Code Metrics - Don't get too focused on the numbers.

Sedona - Application firewall for Redis, useful if you want to expose a Redis install to untrusted clients.

afreshcup.com Read
  Source Favicon
Email

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)

That bit about "label: " means it just loaded ~/ Library/ LaunchAgents/homebrew.mxcl.mysql.plist with launchctl load .

Let's say MySQL's acting funky. We can easily restart …

robots.thoughtbot.com Read
  Source Favicon
By Todd Hoff of High Scalability 3 months ago.
Email

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 Kyle 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 the Internet has to say on Scalability, click below and become eventually consistent with …

highscalability.com Read
  Source Favicon
By Mike Perham of 4 months ago.
Email

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

ElasticSearch 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 …

mikeperham.com Read
  Source Favicon
On Article RSS Feed 4 months ago.
Email

The January 2013 meeting of LRUG will be on Monday the 13th of December , from 6:30pm to 8:00pm. Our hosts Skills Matter will be providing the space, at their offices on Goswell Road; The Skills Matter eXchange . Registration details are given below .

Agenda

API Analytics with Redis and Bigquery

Javier Ramirez wants to tell us about dealing with big data:

At teowaki we have a system for API usage analytics, with Redis …

lrug.org Read
  Source Favicon
Email

JSON) in any Moneta store, such as Memcache or Redis.

However, we don't always need to cache the entire API response. 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 Foursquare's venue search …

robots.thoughtbot.com Read
  Source Favicon
By Tom of Heroku 5 months ago.
Email

…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 …

blog.heroku.com Read
  Source Favicon
By Fred of Heroku 5 months ago.
Email

…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 …

blog.heroku.com Read