Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache posthog events on S3 or some other persistent storage instead of caching them on disk #20

Open
Martinsos opened this issue Nov 15, 2023 · 0 comments

Comments

@Martinsos
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant