Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

Create Issues for federation, identity, push and app services endpoints. #118

Open
farodin91 opened this issue Dec 4, 2016 · 7 comments

Comments

@jimmycuadra
Copy link
Member

These will all be separate binaries/repositories. ruma-federation is the only one that exists so far. Not much to do while the client-server API is still in flux and the specs for the other APIs are unstable.

@farodin91
Copy link
Member Author

Why you want to separate these parts?

@jimmycuadra
Copy link
Member

They're all separate APIs, none of which are necessary to run the core client-server API. This allows people to only run the components they need. Looking forward to a deployment of a large homeserver like matrix.org (and hopefully much bigger), it also allows the individual APIs to be horizontally scaled independently based on actual traffic patterns.

@farodin91
Copy link
Member Author

We need the same storages for some, than we need to think of spliting storage/models in different repo to integrated, it easily without writing all functions multiple time.

@jimmycuadra
Copy link
Member

Yeah, for sure. I think it will become more clear how we should organized shared code once we start to work on some of these other APIs.

@farodin91
Copy link
Member Author

At the time we integrate ruma-client-api, we should think of sharing Endpoint.

@jimmycuadra
Copy link
Member

Oh, good idea. Maybe that whole interface should be in a crate on its own, ruma-api. Then ruma-client-api just implements that interface for all the client-server API endpoints.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

2 participants