Powered by NoSQL: All content tagged as Powered by NoSQL in NoSQL databases and polyglot persistence
Friday, 16 March 2012
Polyglot Persistence Architecture at Socialize: Splunk for MapReduce & Big Data Analysis
Very informative post on Socialize blog about their data flow and the data analysis stack used to processing it. The post is missing the architecture diagram, so I took the time to reconstruct it based on the details in the article:

Click to view full size diagram of Socialize architecture
The traditional solution is to use aggregate functions in the RDBMS such as count() to get the aggregate results but this presents a few problems at a large scale:
- Aggregating rows in a database creates unneeded load on the server
- Data could be stored in multiple sharded databases and the aggregated results would be inaccurate.
- Data could be stored in other datastore like a NoSQL datastore or even flat log files.
- Data is stored in an uncommon format across many sources.
Original title and link: Polyglot Persistence Architecture at Socialize: Splunk for MapReduce & Big Data Analysis (©myNoSQL)
Monday, 27 February 2012
LinkedIn NoSQL Paper: Serving Large-Scale Batch Computed Data With Project Voldemort
The abstract of a new paper from a team at LinkedIn (Roshan Sumbaly, Jay Kreps, Lei Gao, Alex Feinberg, Chinmay Soman, Sam Shah):
Current serving systems lack the ability to bulk load massive immutable data sets without affecting serving performance. The performance degradation is largely due to index creation and modification as CPU and memory resources are shared with request serving. We have ex- tended Project Voldemort, a general-purpose distributed storage and serving system inspired by Amazon’s Dy- namo, to support bulk loading terabytes of read-only data. This extension constructs the index offline, by leveraging the fault tolerance and parallelism of Hadoop. Compared to MySQL, our compact storage format and data deploy- ment pipeline scales to twice the request throughput while maintaining sub 5 ms median latency. At LinkedIn, the largest professional social network, this system has been running in production for more than 2 years and serves many of the data-intensive social features on the site.
Read or download the paper after the break.
Saturday, 25 February 2012
Cassandra as the Central Nervous System of Your Distributed Systems with Joe Stein - Powered by NoSQL
In the 4th week of the DataStax’s Cassandra NYC 2011 video series, we have Joe Stein from Medialets talking about the architecture
Before diving into the video here are some interesting data points:
- Medialets serves rich media ads
- they handle 3-4TB of daily data
- microsecond-level response times
- Cassandra is used for time series and aggregate metrics
- all MapReduce jobs written in Python. This reminded me of the recent post about the performance impact of operations in Hadoop Map phase
-
Medialets architecture:

-
Major components of the Medialets’s architecture:
- Kafka
- MySQL
- Cassandra: 6 node cluster, 100k requests, single DC
- Hadoop
- ZooKeeper: coordinates all the services on the platform
- some of the data in MySQL is replicated in Cassandra (and coordinated with ZooKeeper)
- data is fed back to MySQL
- Kafka for collecting analytics data:
- aggregates go into Cassandra
- events in Hadoop
- GROUP BY with Cassandra
- for real-time systems aggregations must be done upfront
- the way data is segmented is critical
- aggregation leads to data explosion
Sunday, 19 February 2012
Cassandra at Clearspring with Chris Burroughs - Powered by NoSQL
For today’s Powered by Cassandra video from the Cassandra NYC 2011 event organized by DataStax, I chose Chris Burroughs’s presentation about Clearspring’s usage of Cassandra. Just in case you wonder what Clearspring is doing, the sharing buttons you see here on myNoSQL are powered by AddThis product from Clearspring.
Saturday, 18 February 2012
Cassandra 101 for System Administrators with Nathan Milford - Powered by NoSQL
While today was supposed to be a new educational video from the Cassandra NYC 2011 video series, I thought that learning from the lessons of operating Cassandra at Outbrain to serve over 30 billion impressions monthly will be quite educational.
Wednesday, 15 February 2012
Polyglot persistence at Pinterest: Redis, Membase, MySQL

I’ve created the diagram above based on this very brief answer on Quora:
We use python + heavily-modified Django at the application layer. Tornado and (very selectively) node.js as web-servers. Memcached and membase / redis for object- and logical-caching, respectively. RabbitMQ as a message queue. Nginx, HAproxy and Varnish for static-delivery and load-balancing. Persistent data storage using MySQL. MrJob on EMR for map-reduce.
Data from October 2011 showed Pinterest having over 3 million users generating 400+ million pageviews. There are plently of questions to be answered though:
-
what is node.js used for? what is RabbitMQ used for?
Note: the whole section in the diagram about node.js and RabbitMQ is speculative.
-
is Amazon Elastic MapReduce used for clickstream analysis only (log based analysis) or more than that?
-
how is data loaded in the Amazon cloud?
Note: if Amazon Elastic MapReduce is used only for analyzing logs, these are probably uploaded regularly on Amazon S3.
-
why the need for both Redis and Membase?
Original title and link: Polyglot persistence at Pinterest: Redis, Membase, MySQL (©myNoSQL)
Sunday, 12 February 2012
Scaling Video Analytics with Cassandra by Ilya Maykov - Powered by NoSQL
To keep with last week’s model—an educational video about Cassandra, followed by a Cassandra case study—today’s video in the Cassandra NYC 2011 video series from DataStax, is Ilya Maykov describe how Cassandra is used at Ooyala for computing multi-dimensional video analytics reports for 100M+ monthly unique users in near-real-time.
Monday, 6 February 2012
The Design of 99designs - A Clean Tens of Millions Pageviews Architecture
By pure coincidence, General Chicken just published on High Scalability a bullet point summary of the 99designs architecture I’ve linked and commented on earlier.
Original title and link: The Design of 99designs - A Clean Tens of Millions Pageviews Architecture (©myNoSQL)
99designs: Powered by Amazon RDS, Redis, MongoDB, and Memcached
While the authoritative storage is Amazon RDS, 99designs is using Redis, MongoDB, and Memcached for transient data:
We log errors and statistics to capped collections in MongoDB, providing us with more insight into our system’s performance. Redis captures per-user information about which features are enabled at any given time; it supports our development stragegy around dark launches, soft launches and incremental feature rollouts.
It’s also worth noting the nice things they say about using Amazon RDS:
An RDS instance configured to use multiple availability zones provides master-master replication, providing crucial redundancy for our DB layer. This feature has already saved our bacon multiple times: the fail over has been smooth enough that by the time we realised anything was wrong, another master was correctly serving requests. Its rolling backups provide a means of disaster recovery. We load-balance reads across multiple slaves as a means of maintaining performance as the load on our database increases.
Original title and link: 99designs: Powered by Amazon RDS, Redis, MongoDB, and Memcached (©myNoSQL)
via: http://99designs.com/tech-blog/blog/2012/01/30/infrastructure-at-99designs/
Sunday, 5 February 2012
Cassandra at SocialFlow with Drew Robb - Powered by NoSQL
To alternate a bit after yesterday’s educational CQL: SQL for Cassandra in the Cassandra NYC 2011 video series from DataStax, today’s video is Drew Robb covering Cassandra usage at SocialFlow for capturing real-time data from Twitter and Bit.ly.
Most Popular Articles
- Translate SQL to MongoDB MapReduce
- Tutorial: Getting Started With Cassandra
- CouchDB vs MongoDB: An attempt for a More Informed Comparison
- Cassandra @ Twitter: An Interview with Ryan King
- A Couple of Nice GUI Tools for MongoDB
- NoSQL benchmarks and performance evaluations
- Ehcache: Distributed Cache or NoSQL Store?
- Document Databases Compared: CouchDB, MongoDB, RavenDB
- Quick Review of Existing Graph Databases
- NoSQL Data Modeling