-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Increase the number of read/write client/handler to 4 #7967
Increase the number of read/write client/handler to 4 #7967
Conversation
Make number of command/read/write client/handler configurableconnectedhomeip/src/app/InteractionModelEngine.h Lines 52 to 62 in 27ffdbd
This comment was generated by todo based on a
|
Why did we choose 4? Is there a better path forward here for constrained devices? @bzbarsky-apple ? |
@bzbarsky-apple @woody-apple I think we have clear TODO "Make number of command/read/write client/handler configurable" |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And just to be clear: 4 clients is totally inadequate for any sort of resident/hub/etc device. We need a better allocation strategy here.
On the other hand, having 4 handlers is total overkill because all of our handlers return sychronously afaict, so I don't think we ever use more than 1.
The right numbers are something like:
This PR is sort of no worse than the state before; Sagar's attempts to use this on iOS will still be broken and he will need to bump these numbers to much larger values to get anything usable, our CI will still work because it does one thing at a time.... But it's not really any better than the state before either. We should stop wasting our time twiddling these constants and actually solve the real problems. |
Problem
Similar to Command, we also need increase the number of read/write client/handler to 4 for multiple read/write situations
Change overview
increase the number of read/write client/handler to 4
Testing
Manual compilation and run device controller test with song's IM read with ember integration