-
Notifications
You must be signed in to change notification settings - Fork 138
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
Redesign Bridge Architecture #1144
Comments
Thanks for writing up the mockup api, it looks well thought out and a great candidate for the refactor! Agreed that the bridge is clunky and in need of refactoring / organization. However, I don't think we should refactor the bridge until we stabilize performance on the history network. Maybe the best way forward is to just start with a fresh rewrite of the bridge in a separate workspace rather than refactoring the Given that the current state of the bridge (while clunky & unorganized) works well**, this refactor is not a priority imo and should wait until after we stabilize the 4444s network. ** i'm aware that it's been having some issues, but those seem to be problems with trin / data providers and not the fault of the bridge code |
I think I'm with nick on this one. I love the outline that @ogenev has created for the future of this service. I think that if you guys choose to prioritize refactoring the bridge it should be because the current code is too problematic to keep as-is which IIUC correctly doesn't seem to be the case. I suspect that ogenev is correct that it's not cleanly architected, but I personally fell into the clean architecture trap repeatedly in my career and it slowed projects down. This is probably also a good candidate for a 3rd party contributor (one of some established rust skills) to come in and work on.. |
This issue is stale because it has been open for 180 days with no activity. |
I'm concerned about the lack of bridge architecture and the increasing complexity.
Here are our current known use cases for the bridge:
To support those features and speed up the development process and maintenance in the future, I think we need to adopt a modular and extensible approach.
Here is an example of this approach:
Here is an example mockup code for such an architecture:
The text was updated successfully, but these errors were encountered: