Closed Matt-Yorkley closed 2 years ago
Estimates:
I had a quick play with parts 1 and 2 at the weekend, I can drop a couple of PRs in about 20 minutes.
Part 3 might need a bit more finesse, I'd estimate 1-2 hours of dev time and a bit of sysadmin/devops discussion around deployment.
@Matt-Yorkley the main thing left here is ActiveRecord right?
We can probably just close this for now (since most of it is done) and wait and see if we need to switch the session storage from ActiveRecord.
Description
We need to make a couple of changes to our caching backend in order to use StimulusReflex.
Why?
Whilst the basic caching features used by the regular Rails cache are essentially the same in Memcached and Redis, Redis provides some higher-level functionality for interacting with Ruby objects in the cache, and StimulusReflex uses some of those advanced features directly.
Also I think traditional session handling doesn't play nicely with Websockets, but this option does :ok_hand:
Requirements
It should be pretty simple, but the plan looks like this (and should be done one step at a time):
Parts 1 and 2 should be implemented and tester together. Part 3 can be done afterwards.