Welcome to Smart Home Forum by FIBARO
Dear Guest,
as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.
As a member you can:
- Start new topics and reply to others
- Follow topics and users to get email updates
- Get your own profile page and make new friends
- Send personal messages
- ... and learn a lot about our system!
Regards,
Smart Home Forum by FIBARO Team
Question
AutoFrank 372
Hi all,
I am looking to build out my understanding of the HC2 Rest API. Specifically its capacity to execute a lot of calls (as opposed to what functions are available) and what else leverages the API and battles for capacity.
I have two reasons for posting the topic - (a) I may be having an issue and am trying to debug and (b) increasing my systems knowledge.
My understand is that the API is used the following...
.. but is it used for ...
The android app I run on my tablets/phones ( yes ? )
The iOS app running on some ipads/phones ( yes ? )
If the HC2 scene makes a http request to an external system ( assume no ? )
Does the HC2 FW itself leverage the API in anyway ( assume not ?)
If a scene executes a http request to localhost / 127.0.0.1 (assume yes ?)
.. what else uses it ?
now if I send a lot of API calls..
What would people expect to be a resonable number before thresholds are hit (100 per second, 400 per second, 1000 per second ?)
----- assuming the are basic calls, (ie return a sensor state, true-false, return, global variable value,etc
What starts to happen to system resources ?
---- Do I start to run out of memory
----- Do I see my CPU utilisation start to peak close to 100%
------ or does the system stay stable and the eveything start to slow down ?
Thanks
Frank
Link to comment
Share on other sites
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.