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

Enhancement: Split app #85

Open
JacobCoffee opened this issue Oct 11, 2024 · 0 comments
Open

Enhancement: Split app #85

JacobCoffee opened this issue Oct 11, 2024 · 0 comments
Labels
byte 🤖 Related to the Byte bot service database 📦 Related to the Byte database service enhancement ➕ This is a brand new feature or request web 🌐 Related to the Byte web service

Comments

@JacobCoffee
Copy link
Owner

JacobCoffee commented Oct 11, 2024

Summary

Currently we deploy the app as a single unit. It's fine as it but it has grown to become cumbersome in deployments (specifically due to Railway constraints... if we just hosted on a VM it'd be fine I guess)

Basic Example

  • Split byte (Discord bot) into its own service
  • Split server (API) into its own service
  • Database remains in its own service

Drawbacks and Impact

This will allow us to eventually do least-diff deploys whereby we only deploy service X if X is changed, and not if Y is changed, etc.

Unresolved questions

We will need to figure out the current web of calls in between the two services. Currently they can call around each other, import similar utils, etc.

This may be a good chance to use uv workspaces?


Note

We utilize Polar.sh to engage in regular as well as pledge-based > sponsorship.

Check out all issues funded or available for funding on our Polar.sh dashboard

  • If you would like to see an issue prioritized, make a pledge towards it!
  • We receive the pledge once the issue is completed & verified
  • This, along with engagement in the community, helps us know which features are a priority to our users.
Fund with Polar
@JacobCoffee JacobCoffee added enhancement ➕ This is a brand new feature or request byte 🤖 Related to the Byte bot service web 🌐 Related to the Byte web service database 📦 Related to the Byte database service labels Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
byte 🤖 Related to the Byte bot service database 📦 Related to the Byte database service enhancement ➕ This is a brand new feature or request web 🌐 Related to the Byte web service
Projects
None yet
Development

No branches or pull requests

1 participant