You can use the REST API to discover all hosts in the cluster, then use the 
REST spawn API to launch tasks ok each one.

From: general-boun...@developer.marklogic.com 
[mailto:general-boun...@developer.marklogic.com] On Behalf Of 
gnanaprakash.bodire...@cognizant.com
Sent: Thursday, February 25, 2016 9:26 AM
To: general@developer.marklogic.com
Subject: [MarkLogic Dev General] Can we spawn on all hosts in a cluster?

Hi

Is there any way to spawn threads on all hosts in a cluster instead of one host?

As I want to spawn more threads a schedule tasks which will be spawning huge 
amount of threads (very light weight) I am checking if we can spawn across 
cluster to ensure we don't have issues with time out or not able to spawn all 
threads.

Regards,
Gnanaprakash Bodireddy

This e-mail and any files transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and privileged information. 
If you are not the intended recipient(s), please reply to the sender and 
destroy all copies of the original message. Any unauthorized review, use, 
disclosure, dissemination, forwarding, printing or copying of this email, 
and/or any action taken in reliance on the contents of this e-mail is strictly 
prohibited and may be unlawful. Where permitted by applicable law, this e-mail 
and other e-mail communications sent to and from Cognizant e-mail addresses may 
be monitored.
_______________________________________________
General mailing list
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to