ALL COVERED TOPICS

NoSQL Benchmarks NoSQL use cases NoSQL Videos NoSQL Hybrid Solutions NoSQL Presentations Big Data Hadoop MapReduce Pig Hive Flume Oozie Sqoop HDFS ZooKeeper Cascading Cascalog BigTable Cassandra HBase Hypertable Couchbase CouchDB MongoDB OrientDB RavenDB Jackrabbit Terrastore Amazon DynamoDB Redis Riak Project Voldemort Tokyo Cabinet Kyoto Cabinet memcached Amazon SimpleDB Datomic MemcacheDB M/DB GT.M Amazon Dynamo Dynomite Mnesia Yahoo! PNUTS/Sherpa Neo4j InfoGrid Sones GraphDB InfiniteGraph AllegroGraph MarkLogic Clustrix CouchDB Case Studies MongoDB Case Studies NoSQL at Adobe NoSQL at Facebook NoSQL at Twitter

NAVIGATE MAIN CATEGORIES

Close

RoR: All content tagged as RoR in NoSQL databases and polyglot persistence

Improvements in Rails 4 ActiveRecord for PostgreSQL

Kevin Faustino:

Out of all the supported databases available in Active Record, PostgreSQL received the most amount of attention during the development of Rails 4. In today’s countdown post, we are going to look at the various additions made to the PostgreSQL database adapter.

Teaser:

  1. hstore and hstore indexes support
  2. arrays
  3. uuid
  4. network address data types
  5. int4range, int8range
  6. json

Original title and link: Improvements in Rails 4 ActiveRecord for PostgreSQL (NoSQL database©myNoSQL)

via: http://blog.remarkablelabs.com/2012/12/a-love-affair-with-postgresql-rails-4-countdown-to-2013


Using Redis with Ruby on Rails

TL;DR: Redis is fucking awesome.

Title and quote says it all. Added to the getting started with NoSQL guides.

Original title and link: Using Redis with Ruby on Rails (NoSQL databases © myNoSQL)

via: http://jimneath.org/2011/03/24/using-redis-with-ruby-on-rails.html


Ruby On Rails: Cron Job Scheduling using Redis, Resque, and Rufus

The 5 R: Ruby on Rails, Redis, Resque, Rufus.

Now the question is what’s the best way to run scheduled tasks in a Rails environment? Generally, Rails developers can use an application specific crontab to run application tasks. […] Downsides of Cron are:

  • Cron works well on a single server but what if you need to scale to multiple app servers? You’ll need to introduce some kind of lock to avoid concurrency problems. Also, you need to maintain these shared locks.
  • The other problem with Cron is that they are difficult to debug.
  • Cron is for scheduling things, not doing them.

This can almost always be better to place jobs in queue and place the worker system to perform or to execute those jobs. Luckily there is a very good gem named ‘resque‘ available in Ruby on Rails.

Original title and link: Ruby On Rails: Cron Job Scheduling using Redis, Resque, and Rufus (NoSQL databases © myNoSQL)

via: http://hemju.com/2011/03/04/rails-cron-job-scheduling-using-redis-resque-and-rufus/


Ruby, Rails, and NoSQL: Cassandra, CouchDB, MongoDB

List of gems and brief installation notes and examples for using Cassandra, CouchDB, and MongoDB from Ruby on Rails:

In order to do so, we will review the following NoSQL databases: Cassandra, MongoDB and CouchDB. Ruby supports each one of them over corresponding gems. In this blog post we will be using Ruby 1.8.7 with Rails 3.0 under Ubuntu 9.10 OS.

Original title and link: Ruby, Rails, and NoSQL: Cassandra, CouchDB, MongoDB (NoSQL databases © myNoSQL)

via: http://blog.sphereinc.com/2010/11/ruby-and-nosql/