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

Support service sources #41

Closed
gracicot opened this issue Mar 10, 2017 · 4 comments
Closed

Support service sources #41

gracicot opened this issue Mar 10, 2017 · 4 comments
Labels

Comments

@gracicot
Copy link
Owner

Right now, the container has only one allocation strategy and one way to store services. What if one would like to control how services are allocated and where they are contained? We should explore solutions that would allow that.

@gracicot gracicot added this to the 4.0 milestone Mar 10, 2017
@gracicot gracicot removed this from the 4.0 milestone Apr 17, 2017
@gracicot
Copy link
Owner Author

We could provide a constant time access service source. Right now the unordered map is fast, but not as fast as a constant time access. This will be done when supporting service source, or wathever name we find for that.

@gracicot
Copy link
Owner Author

gracicot commented Nov 2, 2018

In dev-4.2.x, the container is pretty much decoupled from the storage strategy. However, the interface between the container and the source is quite unclear and assumes many things.

@gracicot gracicot modified the milestone: 4.2 Nov 15, 2018
@gracicot
Copy link
Owner Author

In dev-4.2.x , the container is now separated from the storage strategy. The interface between the two is now clear. We won't ship customizable service source right now because doing so is not trivial. The kgr::container_service cannot be as trivial as it is today and might need type erasure to support our current injection model. This might go into 5.0.0.

@gracicot gracicot reopened this Apr 25, 2019
@gracicot
Copy link
Owner Author

Kangaru 5 is based on sources. I think it's safe to close this issue. Custom sources are containers are service definition. They are all composable and customizable.

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

No branches or pull requests

1 participant