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

Move off MongoDB #1194

Open
zkrising opened this issue Oct 9, 2024 · 0 comments
Open

Move off MongoDB #1194

zkrising opened this issue Oct 9, 2024 · 0 comments
Labels
Difficult This requires some thought.

Comments

@zkrising
Copy link
Owner

zkrising commented Oct 9, 2024

It's becoming more and more clear that the MongoDB setup we have is not good. It was an initial design choice made in Tachi 1 allll the way back in pre-covid times, but it was the wrong choice.

It was always the wrong choice, and although its served me well in quick prototyping... I now just want the site to stand on its own two legs without constant maintenance.

The truth of the matter is that the way we've engineered our database is beyond silly. I am never ever taking risks on my database decisions ever again. We'll be moving over to Postgres and all design decisions that come with that will be changed. This is something akin to a third rewrite of Tachi, as our use of MongoDB finds itself pretty bloody ingrained in the app.

I don't exactly want to spend another 3 weeks of my life rewriting Tachi (I'm working on other, more important things), but there are increasing failure rates in the app, and things are getting progressively less and less tenable. My hand is slowly being forced.

This won't happen for a while, but it is the one issue from which all things descend. This does need to be done, but it's not likely to happen this year.

I won't be accepting any PRs for this, as it is a full scale Tachi rewrite and most likely something only I'm equipped to do reasonably.

🫡

@zkrising zkrising added the Difficult This requires some thought. label Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Difficult This requires some thought.
Projects
None yet
Development

No branches or pull requests

1 participant