You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I have been building an application that requires me to communicate with a micro controller. I initially send 2 bytes of data and the micro controller responds with 50 lines of data. Followed by me sending 2 bytes again and the cycle goes on for a few minutes. I observed that this is causing a high CPU usage on the client system. For very low end systems this has started to bottleneck my web application and my reads become delayed or very slowed after 30 seconds. On mid range to higher end systems, my reads get slow after 2 to 2.5 minutes. Any idea why this is happening or how to solve this?
The text was updated successfully, but these errors were encountered:
This is very interesting behavior and I wonder if it is caused by memory pressure due to the allocation of ArrayBuffers for the received data. Can you provide example code which demonstrates this issue with a common microcontroller like an Arduino?
Hi,
I have been building an application that requires me to communicate with a micro controller. I initially send 2 bytes of data and the micro controller responds with 50 lines of data. Followed by me sending 2 bytes again and the cycle goes on for a few minutes. I observed that this is causing a high CPU usage on the client system. For very low end systems this has started to bottleneck my web application and my reads become delayed or very slowed after 30 seconds. On mid range to higher end systems, my reads get slow after 2 to 2.5 minutes. Any idea why this is happening or how to solve this?
The text was updated successfully, but these errors were encountered: