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

Proper database support #21

Closed
Perflyst opened this issue Aug 12, 2019 · 3 comments
Closed

Proper database support #21

Perflyst opened this issue Aug 12, 2019 · 3 comments

Comments

@Perflyst
Copy link
Contributor

I know you are currently waiting of moigagoo/norm#19 but this adds MongoDB which is probably not the best database for this kind of caching.

Why not just using PostgreSQL? If MongoDB is just for caching than okay, this will work fine. But if you add user account and following support (maybe also liking etc) I do not think MongoDB is the correct choice.

@zedeus
Copy link
Owner

zedeus commented Aug 13, 2019

Can you elaborate on why you don't think it's a good choice? The main reason I want to use MongoDB is how easy it's going to be thanks to the norm PR. PostgreSQL support isn't nearly as good (regarding storage of objects, lists, optional types, etc).

@Perflyst
Copy link
Contributor Author

If MongoDB grows up in size it will be noticeable slower. Also restart takes much longer.
Of coure if it is easier for you and if Postgres is not supported that well for the data you will store in it than use Mongo.

@zedeus
Copy link
Owner

zedeus commented Jun 12, 2020

Redis is now used which is a blazing fast in-memory multi-model database, suitable for everything nitter could ever want to store

@zedeus zedeus closed this as completed Jun 12, 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