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

Question about data retention #26

Closed
Lars- opened this issue Mar 12, 2020 · 2 comments
Closed

Question about data retention #26

Lars- opened this issue Mar 12, 2020 · 2 comments

Comments

@Lars-
Copy link

Lars- commented Mar 12, 2020

Hi,

I love what you did with this data and I am planning to use it in our product. Quick question: how long will data be stored? I am planning to run this on a very low end server with 512MB RAM. Is there a way to limit the maximum memory usage or is this already managed withing the package?

@geertw
Copy link
Member

geertw commented Mar 12, 2020

Unfortunately not, as you'll ideally kepp all incoming data until the train has gone. Data about a train service is sent out approximately 5 days before departure and is kept until the train is gone (so 5 days in total). Typical memory usage is around 3600 MB virtual, ~ 780 MB resident memory. A server with only 512 MB would be a bit too scarce on memory.

@Lars-
Copy link
Author

Lars- commented Mar 13, 2020

Thank you for the clear answer. A follow up question in that case: why can I query departures from yesterday? If they are deleted after departure, I should not be able to query them, right?

@geertw geertw closed this as completed Dec 20, 2020
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

2 participants