rails: All content tagged as rails in NoSQL databases and polyglot persistence
FnordMetric looks like an interesting library for collecting and visualizing timeseries:
According to the docs, the framework has 3 components:
FnordMetric Classic: a DSL for processing data streams and building web-based dashboards.
It’s built in Ruby and uses Redis.
FnordMetric Enterprise: a JVM-based timeseries databases
My only question is why building a new storage engine for the Enterprise component when there are already so many good tools for doing this. Other than that, I really liked the screenshot.
Original title and link: FnordMetric: A Framework for Collecting and Visualizing Timeseries ( ©myNoSQL)
Though it looks like mongo-store demonstrates the best overall performance, it should be noted that a mongo server is unlikely to be used solely for caching (the same applies to redis), it is likely that non-caching related queries will be running concurrently on a mongo/redis server which could affect the suitability of these benchkmarks.
I’m not a Rails user, so please take these with a grain of salt:
without knowing the size of the cached objects, at 20000 iterations most probably neither MongoDB, nor Redis have had to persist to disk.
This means that all three of memcached, MongoDB, Redis stored data in memory only
if no custom object serialization is used by any of the memcached, MongoDB, Redis caches, then the performance difference is mostly caused by the performance of the driver
it should not be a surprise to anyone that the size of the cached objects can and will influence the results of such benchmarks
there doesn’t seem to be any concurrent access to caches. Concurrent access and concurrent updates of caches are real-life scenarios and not including them in a benchmark greatly reduces the value of the results
none of these benchmarks doesn’t seem to contain code that measure the performance of cache eviction
Except the case where any of these forces a disk write ↩
Original title and link: Rails Caching Benchmarked: MongoDB, Redis, Memcached ( ©myNoSQL)