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

[Remote API] --max-occupancy usage? #1446

Closed
WeeknightMVP opened this issue Sep 30, 2022 · 2 comments
Closed

[Remote API] --max-occupancy usage? #1446

WeeknightMVP opened this issue Sep 30, 2022 · 2 comments
Labels
remote-api Related to Cryptol's remote API

Comments

@WeeknightMVP
Copy link

How would clients interact with the cryptol-remote-api --max-occupancy option in the Python API?

@RyanGlScott
Copy link
Contributor

To my knowledge, there isn't any way to access the value of --max-occupancy in the remote API. Is your use case needing to query it from Python?

@RyanGlScott RyanGlScott added the remote-api Related to Cryptol's remote API label Oct 3, 2022
@WeeknightMVP
Copy link
Author

My use case is to parallelize Python API interactions. A --max-occupancy option suggests that cryptol-remote-api might be able to serve multiple "occupants", in which case the next question is how would different occupants productively interact with the same cryptol-remote-api process, e.g. could they have different modules loaded at the same time?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
remote-api Related to Cryptol's remote API
Projects
None yet
Development

No branches or pull requests

2 participants