You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now we cache fetched posthog events on disk, in a .json file.
Problem is, in production, when deployed to Heroku, this file is lost whenever a dyno (Heroku instance) is restarted, which can happen quite often on Heroku, possibly even daily (Heroku restarts dynos often to keep them "healthy").
Solution is to store the file somewhere on persistent storage -> most likely on S3.
The text was updated successfully, but these errors were encountered:
Yeah @infomiho solved this by putting us on Fly -> I think we are good for now, no need to push for this at the moment. Would be cool still, so we don't have to refetch all of them if server gets reset/destroyed, but not a priority I think. I would leave the issue open for now I think. We can Icebox it though.
Right now we cache fetched posthog events on disk, in a .json file.
Problem is, in production, when deployed to Heroku, this file is lost whenever a dyno (Heroku instance) is restarted, which can happen quite often on Heroku, possibly even daily (Heroku restarts dynos often to keep them "healthy").
Solution is to store the file somewhere on persistent storage -> most likely on S3.
The text was updated successfully, but these errors were encountered: