Skip to content

Stale event handlers with frequent state updates #330

Closed
@brentbaum

Description

@brentbaum

Hello, I believe I'm running into the worst-case scenario for #19. I'm using idom for an industrial control panel that updates every 100ms. At that refresh rate, factoring the latency of a decent internet connection, about 1/3 of event handlers are ignored from the client (see logs below).

2021-03-17T17:39:12+0000 | INFO | idom.core.layout | Ignored event - handler '3021121024' does not exist or its component unmounted
2021-03-17T17:39:13+0000 | INFO | idom.core.layout | Ignored event - handler '3021515056' does not exist or its component unmounted
2021-03-17T17:39:21+0000 | INFO | idom.core.layout | Ignored event - handler '2986229456' does not exist or its component unmounted

Do you have any ideas on ways to mitigate this issue? We (https://www.beanstalk.farm/) are loving idom would be happy to contribute to the project or potentially pay for time to improve this.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions