You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CloudCache.ws
If you've already been using ActiveSupport::Cache in your Ruby on
Rails app, then you'll only need to change one line to use CloudCache:
config.cache_store = CloudCache.new(CC_ACCESS_KEY, CC_SECRET_KEY)
Counters are another area where CloudCache is your friend - writing to
the db every time your page gets a view for example is a sure way to
limit your scale. The incr (and decr) functions on CloudCache, on the
other hand, are capable of handling very large scale. That's because
incr (and decr) are atomic operations, guaranteed to be tolerant of
race conditions no matter how large your scale.
Keep an eye out for an upcoming note on how to leverage CloudCache for
view counting.