Our community is getting a makeover! We will be migrating to a new community that integrates more closely with our support and knowledge base tools, as well as the core Domino product, to give you a more unified experience. Existing community articles have been added to our knowledge base, which you can preview here with your community credentials: https://tickets.dominodatalab.com/hc/en-us/community/topics Watch this space for further updates and send any feedback to [email protected] with subject "Community Feedback".

Retrieve/Change Model Configuration with the REST API

I have jobs that will call a Model API. Ideally, I could scale up the number of instances hosting my model when my job runs and scale back down after it is done so that I could quickly finish my job but also have the model available to query at will. Right now, the model is configured with a lot of instances and I start and stop it using the REST API when I run my job.

Another issue I have noticed is that depending how busy our cluster is, I will not receive the configured number of instances when starting the Model. If I could retrieve the number of healthy nodes from the REST API, I could configure my workers calling the Model accordingly.

While all of this is doable with the GUI, being able to query this information programatically has clear advantages in the context of scheduled jobs.

7 votes

Active · Last Updated

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!