Skip to content
This repository has been archived by the owner on Nov 23, 2019. It is now read-only.

Persistent DB #44

Open
pjotrp opened this issue Apr 23, 2013 · 4 comments
Open

Persistent DB #44

pjotrp opened this issue Apr 23, 2013 · 4 comments

Comments

@pjotrp
Copy link
Owner

pjotrp commented Apr 23, 2013

Would be good to have some persistent storage - for when some services fail to update a few days.

@mamarjan
Copy link
Contributor

Are you thinking about a full database for this information, or more about something like a key-value store for caching pages which can't be reached?

@pjotrp
Copy link
Owner Author

pjotrp commented Aug 13, 2013

I think just serializing to disk would be enough.

@mamarjan
Copy link
Contributor

So basically something like this:

http://stackoverflow.com/a/13386602

"It turns out that the best option for me was to use plain Hash along with Marshal to serialize it to disk.
YAML is definitely too slow for that number of objects."

@pjotrp
Copy link
Owner Author

pjotrp commented Aug 14, 2013

Yes, I like it because there are no dependencies. And RAM is not an issue.

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

No branches or pull requests

2 participants