-
Notifications
You must be signed in to change notification settings - Fork 40
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
Vase microservices to use clj-client to connect to peers. #82
Comments
I'm definitely thinking about how we can support both the peer model and the client library. Their APIs are just a bit different, so it's not clear that the same set of literals can work effectively with both. I'd be interested in your opinion. Given these choices, what makes more sense?
|
I went reasonably far down the rabbit hole of producing my own fork of Vase to run on the client API recently - my use case is that I would really like to deploy a Vase service on AWS Lambda. I will share what I found in the hopes that it proves useful.
I would suggest, based on what I've learned, that approach |
Thanks, that is very helpful information. |
Yes, I agree with 3 being the easiest option. It should also be the default option since that's the way Datomic wants microservices to work with it. Sorry to be pushy, but is there any timeline on when the support would be implemented. It's just that I would help us plan on when start using Vase in production. |
Just my 2cc: creating a new set of literals (the proposal number |
Support for datomic via new tagged literals recently landed master. How to support both the Datomic cloud and on-prem clients needs to be investigated. |
Description
According to Datomic documentation in a microservice environment the peers are recommended to be running outside of the microservice process that way the actual microservice memory footprint can stay small, a peer can be shared amongst microservice instances and not be restarted as often as the microservice instance itself. It looks to me that the vase services do not have the option of using the datomic API client (http://docs.datomic.com/project-setup.html).
If that's the case, are there any plans on supporting using the client right out-of-the-box in the future vase versions? If not, that it might be prohibitive for us to use Vase, since we plan on using Ditomic peers.
The text was updated successfully, but these errors were encountered: