On Sunday, March 9, 2014 6:35:35 AM UTC-7, Roland Groza wrote: > > I'm in doubt how to check if the sequel model plugin :caching actually > works and stores the data in the memcached store. I'm using Dalli with > memcached: > > Sequel::Model.plugin :caching, Dalli::Client.new, :ignore_exceptions => > true > > I am aware that only when I use Model[primary_key] lookups it will store > data, but I do not know how to check if the data is coming from the > memcached store or it's a database call. Is there a way to find this out ? >
Add a logger to the database and see if it is sending the database a query. Thanks, Jeremy -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sequel-talk. For more options, visit https://groups.google.com/d/optout.
