03-29-2018 03:16 AM - edited 03-01-2019 04:07 AM
During testing found out that NSO actions written in python are single threaded.
Same action invoked via mulitple CLIs/REST are invoked sequentially.
Understand that CDB is one reason to make it sequential, but we could write actions that do read only operations, so no point of making them single threaded only.
Question: Is it configurable in NSO properties or somehow to change this behaviour? Any other workaround?
In my use case, i am using action which is being invoked by external portal to get some data from NSO. Internally action uses multiple X-path queries and computation to produce final consumable data by portal, hence need of action. But multiple users can invoke this request simultaneously, portal being a web app.
Thanks
Vishal.
04-13-2018 05:12 AM
Hi Vishal,
What version are you using? There was a fix in NSO 4.5 that should have fixed this.
BR,
Johan
04-13-2018 11:12 PM
NSO being used is 4.4, will test this with 4.5
Thanks
Vishal.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide