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

Roadmap: Riju architecture improvements #151

Open
raxod502 opened this issue Jan 23, 2022 · 19 comments
Open

Roadmap: Riju architecture improvements #151

raxod502 opened this issue Jan 23, 2022 · 19 comments

Comments

@raxod502
Copy link
Member

raxod502 commented Jan 23, 2022

Riju has some serious scalability and maintainability problems, and I've been thinking for the last few months about how to address them. For transparency, I created the following roadmap outlining my plans:

https://nextcloud.intuitiveexplanations.com/s/mHoFwFGMNCpLjim
[note: moved from Google Drive to Nextcloud]

Feedback is of course welcome!

@raxod502 raxod502 pinned this issue Jan 23, 2022
@hello-smile6
Copy link

Riju has some serious scalability and maintainability problems, and I've been thinking for the last few months about how to address them. For transparency, I created the following roadmap outlining my plans:

https://docs.google.com/document/d/e/2PACX-1vRKkmilDiHXW8wpwFCplLrXRo-ANCLLTPpJ7vl4pI4diZAxr56vyuAo6NQ0ZTVYhf-X5HcQlVx3Ud9u/pub

Feedback is of course welcome!

Don't have access to the Google Doc, could you share it as a PDF?

@LuckyHookin
Copy link

@raxod502
Copy link
Member Author

I'm curious what issue you ran into, I seem to be able to access the link in your comment using unauthenticated curl, without even any JavaScript?

@hello-smile6
Copy link

I'm curious what issue you ran into, I seem to be able to access the link in your comment using unauthenticated curl, without even any JavaScript?

Permissions issues with non-gmail account.

@raxod502
Copy link
Member Author

You probably saw the original version of the link, which was broken. I edited the issue shortly after posting it. Try it again.

@hello-smile6
Copy link

You probably saw the original version of the link, which was broken. I edited the issue shortly after posting it. Try it again.

Okay

@hello-smile6
Copy link

You probably saw the original version of the link, which was broken. I edited the issue shortly after posting it. Try it again.

image
Yes, I removed my email.

@raxod502
Copy link
Member Author

Huh, not sure what to say. When signed into another Google account that doesn't have access to that document, it works for me. Also works if I'm not signed into any Google account. It's not an IP address restriction either since I can even access it through Tor. And, as I mentioned, curl works fine with no authentication whatsoever. Perhaps it's some kind of issue that affects your account specifically. Seems like a pretty rare issue judging by the lack of discussion online about the error message.

@hello-smile6
Copy link

Huh, not sure what to say. When signed into another Google account that doesn't have access to that document, it works for me. Also works if I'm not signed into any Google account. It's not an IP address restriction either since I can even access it through Tor. And, as I mentioned, curl works fine with no authentication whatsoever. Perhaps it's some kind of issue that affects your account specifically. Seems like a pretty rare issue judging by the lack of discussion online about the error message.

Okay, maybe use this link? It goes through a CORS proxy.
https://cors-anywhere.9pfs.repl.co/docs.google.com/document/d/e/2PACX-1vRKkmilDiHXW8wpwFCplLrXRo-ANCLLTPpJ7vl4pI4diZAxr56vyuAo6NQ0ZTVYhf-X5HcQlVx3Ud9u/pub

@hello-smile6
Copy link

@raxod502 I just used Tor as a test (for the first time) to open it, and I can confirm that it works.

@plondon
Copy link
Contributor

plondon commented Feb 1, 2022

Wow this is a super exciting proposal!

@raxod502
Copy link
Member Author

Prometheus metrics are 🔥 and much better than CloudWatch.

image

@hello-smile6
Copy link

Did you have an outage at 21:55 in that screenshot?

@raxod502
Copy link
Member Author

No, this is all on a staging instance not serving any live traffic.

@hello-smile6
Copy link

No, this is all on a staging instance not serving any live traffic.

Oh.

@plondon
Copy link
Contributor

plondon commented Jun 21, 2022

Hi @raxod502!

Checking in on the progress and timeline (if any) of this roadmap?

@raxod502
Copy link
Member Author

raxod502 commented Jul 8, 2022

Hey @plondon. Sorry for the delay - I've moved apartments and have been spending the last few weeks unpacking boxes and putting together furniture.

I haven't done much work on this specific roadmap, mostly because I've had other ideas about how to rebuild things from scratch using the knowledge I've gained over the last year from other infrastructure-related personal projects as well as my experience operating Kubernetes at Plaid.

I have a project in progress that is a Heroku-like platform with true user authentication and workload scheduling on Kubernetes, and a separate project that rewrites Riju to use Go microservices and a relational database. Neither of those are MVP enough that I've put them up on GitHub yet. Learning a bunch of things, but since these are all things I'm working on ad hoc in my free time, they compete with all the other stuff going on.

Let me know if I can answer any specific questions!

@raxod502 raxod502 unpinned this issue Nov 12, 2022
@nyabinary
Copy link

What the progress on this so far now?

@raxod502
Copy link
Member Author

Unfortunately, still #168. Considerable architectural work is needed to get Riju back into a state where I am able to deploy changes, and I haven't had time yet with all the other things that have taken time in my personal computing and non-computing life.

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

No branches or pull requests

5 participants