Skip to content

Conversation

@jfrain99
Copy link

@jfrain99 jfrain99 commented Nov 5, 2025

Calling hb_ao:get with {as, Device, Msg} makes an expensive call to hb_ao:set. In multiple places, we are making multiple of these types of calls in a row, making duplicate expensive requests. Introduces hb_ao:get_many, which takes multiple paths/defaults and only makes one call to hb_ao:set

@samcamwilliams
Copy link
Collaborator

Thanks for this @jfrain99 . What is the effect size of the improvement here please? I think we might be better off just thinking through how we can set the device key in a much more efficient way on the normal resolve and get paths.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants