-
Notifications
You must be signed in to change notification settings - Fork 17
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
Re-check/assess the choose of firecracker #450
Comments
I'm happy to help shape this - although, I'm rather hoping that the forthcoming OCI side of NEX might help shape future Firecracker thinking as well. |
We will be merging the |
@jordan-rash wow thats really interesting. Many thanks for all your work on this! |
Exciting times ahoy! Thanks for the update. |
since we are all very excited: would you mind sharing some early thoughts/sneak peak on this "replacement firecracker agent"? |
As soon as I have something I can share, I will. At this point, we are still working on defining the agent SDK, which I hope to be finished with next week 🤞🏼 (no promises 😅) |
Not sure if this is in scope for the agent SDK (should this be another issue), but please consider a restart on fail capability somewhere in / around the SDK. Currently, if the agent dies, Nex can't do anything about it. We don't even know it's died. This gives us a headache: if the agent fails - we have to restart and redeploy. It's the only part of the landscape that I find slightly uncomfortable: a single misbehaving script can kill an entire implementation, rather than just killing itself! |
its imho both :-) would you mind open in addition a new issue for this topic? |
separate issue on this: Agent respawn upon death #454 |
To be honest I would be weary of throwing the baby out with the bathwater. Rather than dump firecracker support, it should be kept as a supported option. Firecracker should be both supported and documented as such going forward. Using firecracker could suit many environments. The fact it does not suit yours does not mean NATS should throw away all the hard work done to date on ensuring interop with firecracker. |
you are absolutely right! Using firecracker could suit many environments. @jordan-rash presented to imho best way to go: pluggable agent capabilities |
As @hpvd points out, I dont think we are looking to dump anything, just separate where it makes sense. The core of nex needs to be as light weight as possible and we'll hopefully keep moving in that direction. At the same time, it needs to be as extensible as we can make it so that it supports any agent that the community develops. |
Proposed change
With origin at aws lambda, firecracker is a stunning approach to run short lived functions.
Nex tastes awesome. It seems to be about easily manage/deploy/run
With this, there are some drawbacks coming with firecracker (used in Nex https://docs.nats.io/using-nats/nex/internals/node_process) which have to be know and valued carefully:
No, I do not have a perfect solution, but it's imho worth to know, think and discuss about to pave the way to an even brighter future of Nex :-)
Use case
geo-distributed long running services
Contribution
today only input for discussion, more possibly in the future...
The text was updated successfully, but these errors were encountered: