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

Unique instances per session #298

Open
pl4nty opened this issue May 5, 2024 · 3 comments
Open

Unique instances per session #298

pl4nty opened this issue May 5, 2024 · 3 comments

Comments

@pl4nty
Copy link

pl4nty commented May 5, 2024

I have a few apps that need a unique instance for each session. Would sablier be a good fit for managing these instances? I'm happy to write a PR if so, initially for k8s and the dynamic strategy

@acouvreur
Copy link
Owner

Hello @pl4nty!

Right now Sablier can only wake up a set of instances for you.

If I'm understanding correctly, you'd like to be able to spin up a docker container session, and each session could be assigned to a unique entity.

So that multiple people accessing may have unique and clean instances, is that right ?

If that's the case, that's not something that is currently supported.


It might be supported in the future, however note that it's a core behavior change: instead of simply shutting down and spinning up, you will now have to deal with creating multiple instances, have a stickiness to it etc.

@pl4nty
Copy link
Author

pl4nty commented May 5, 2024

I can start a PR if it's something you'd like to support, but thought I should ask first due to core behaviour changes. I'm hoping the proxies will handle some session affinity, but instance scaling could get tricky. Doesn't seem to be many projects like this either, I could only find one VDI-based approach

@acouvreur
Copy link
Owner

Sure thing if you want to open a PR, feel free to do it :)

Make sure to start from the beta branch!

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

2 participants