sul-dlss / dlme

Digital Library of the Middle East web application, based on Spotlight
https://dlmenetwork.org/
Other
20 stars 2 forks source link

Flush the Rails cache for each new deploy #1447

Closed thatbudakguy closed 2 years ago

thatbudakguy commented 2 years ago

Ordinary capistrano deploys flush caches, which is super handy for seeing changes reflected immediately after a deploy, but our AWS environments cache data in a cache that persists across deploys.

AWS might not cooperate with us, because both the new + current versions of the container co-exist at some point.

Do we need to:

corylown commented 2 years ago

I'm curious whether we can use EventBridge to detect that a new deploy has happened and flush the cache when it is triggered: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-get-started.html

corylown commented 2 years ago

Closing because the plan is to move the DLME web application on premise.