how to use redis?

Hi, I upgraded an emoncms to v7 (following https://github.com/emoncms/emoncms -> upgrade) ; I have no error, all is ok.

But I can't find where can I choose redis intead of mysql? I can find only these repositories: mysql, timestore, phptimeseries and the new graphite. 

 

thanks

modenet's picture

Re: how to use redis?

no info about redis?

AllenConquest's picture

Re: how to use redis?

If you look on the page http://emoncms.org/site/docs/installlinux it tells you about Redis. My understanding is that it's been introduced to speed up the system, and is not a new data store. It just needs to be installed and configured correctly for v7 and then it's work, no need to change any settings (that I know of).

modenet's picture

Re: how to use redis?

thank you, I still do not understand the usefulness of redis on emoncmsv7 .. I'll explain: I like so much redis (a beatiful project adopted in different contests), so I'd like to replace timestore with redis.

TrystanLea's picture

Re: how to use redis?

hello modenet, redis is currently used for storing metadata rather than historical feed data in emoncms. Things like the last value of a feed and the last time it was updated. These small things actually reduced the amount of reads and writes to disk considerably and so resulted in the performance improvements.

If you can create a redis based feed engine, Id be interested to learn about how you would implement it. Even if there was partial storage or caching of a feed in redis there could be benefits for performance.
 

TrystanLea's picture

Re: how to use redis?

You might be interested in this blogpost:

http://openenergymonitor.blogspot.co.uk/2013/11/improving-emoncms-perfor...

and there are a list of related blog posts here:

http://emoncms.org/site/docs/developdatastorage

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.