CiscoUcs / ucsmsdk

Python SDK for Cisco UCSM
Other
80 stars 60 forks source link

Increasing performance of query_classids in a scaled system #196

Closed paregupt closed 11 months ago

paregupt commented 4 years ago

Hi

I am polling metrics by querying ~15 classes via query_classids. It works great. However, in some of the scaled up systems, it takes long time (40-50 seconds) to get a response.

Is there a way to reduce the query time? Would it help to create multiple threads and distribute classes among the threads? For example, instead of a single query with 15 classes, make 3 queries with 5 classes each?

Also,I do not see a timeout argument in query_classids. It exists for query_classid. Any plans to implement it?

Thanks

github-actions[bot] commented 11 months ago

This issue is stale because it has been open for 60 days with no activity.

github-actions[bot] commented 11 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.