jclouds-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Custine <chris.cust...@gmail.com>
Subject Re: Creating multiple nodes in separate threads
Date Tue, 27 Oct 2015 22:42:56 GMT
GCE rate limits to 20 requests/second so you are probably hitting that with the default polling
periods. Try setting POLL_INITIAL_PERIOD to something like 1000 and POLL_MAX_PERIOD to 5000
and see if that helps.

Chris Custine

From: Yaron Rosenbaum <yaron.rosenbaum@gmail.com>
Reply: user@jclouds.apache.org <user@jclouds.apache.org>
Date: October 26, 2015 at 11:00:36 AM
To: user@jclouds.apache.org <user@jclouds.apache.org>
Subject:  Creating multiple nodes in separate threads  


I’m trying to create multiple nodes in multiple threads on GCE (each thread creates a single
node) (the nodes have different properties, hence need different templates).

The problem is, that when trying to create more than 4 nodes, the fifth node doesn’t get
created. The API just hangs.
I’m guessing there’s some sort of rate limiting on the GCE side, wondering if this is
correct, and if so - how to throttle down jClouds. Otherwise - what could possibly be causing


View raw message