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

Separate frontend service from local content store #16

Open
mithrandi opened this issue Jan 19, 2015 · 0 comments
Open

Separate frontend service from local content store #16

mithrandi opened this issue Jan 19, 2015 · 0 comments

Comments

@mithrandi
Copy link
Member

The current implementation conflates the idea of a local content store on disk with the configuration for which content stores are used, and when. This has some undesireable implications for performance (you can't stream an object from a backend, for example, it has to be fetched and stored locally first), as well as complicating the code significantly.

Instead, the frontend service should just be an interface to a configuration of content stores. These would have three types: read stores (for fetching an object), synchronous write stores (an object being stored must be successfully stored in each of these before the frontend operation completes), and asynchronous write stores (an object being stored will be stored in each of these, but the operation will be scheduled asynchronously and the frontend operation will complete without waiting on this).

This would also pave the way for having multiple service endpoints which expose different content store configurations.

@mithrandi mithrandi self-assigned this Jan 19, 2015
@mithrandi mithrandi removed their assignment Oct 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant