Reputation: 1258
I'm building a Rails app which needs to store lots of performance metrics, fed via an API. I'm unable to decide the way to store this data. Since the data will be updated every 10s or so, I don't wish to create ActiveRecord objects.
Are there any alternative ways of storing this type of data?
Upvotes: 0
Views: 169
Reputation: 2129
well 10 seconds per DB transaction is nothing comparing to high scale application, ActiveRecord+PostgreSQL should be ok for your app just configure your PostgreSQL correctly with Vacuum.
i tried once to use Redis for main data store it wasn't a good journey but you can find more info here:
https://muut.com/blog/technology/redis-as-primary-datastore-wtf.html
Upvotes: 1
Reputation: 591
You should try using Redis or Mongo DB. Redis more simple to use.
Upvotes: 1