For a local cloud, I found out from other posts that the limitations of publishing intervals can be customised. I’m not exactly quite sure of the details though. Here’s why:
settings.js on spark-server lists the following relevant properties:
I get that changing these settings allows each user account and claimed Cores on my local cloud to have more concurrent connections.
Question 1: Do the hooks above refer to any cloud transaction, i.e. Spark.variable, Spark.function & Spark.publish?
From the Particle cloud docs, the various limits are:
- Up to 10 cloud variables may be defined and each variable name is limited to a max of 12 characters.
- Currently the application supports the creation of up to 4 different cloud functions.
- Currently, a device can publish at rate of about 1 event/sec, with bursts of up to 4 allowed in 1 second. Back to back burst of 4 messages will take 4 seconds to recover.
So here we have 10 cloud variables + 4 cloud functions maximum per device, along with the publish speed limit; I’m seeing these limits as separate from the maxHooks properties above.
Question 2: If so, how can these limits be adjusted for a local cloud?