Check performace of polling vs callback of C++ to electron data transfer #113

Closed
opened 2021-02-18 00:47:48 +00:00 by AlexVdberg · 2 comments
AlexVdberg commented 2021-02-18 00:47:48 +00:00 (Migrated from github.com)

Packet passing has overhead and requires polling.
Implementing the data transfer though callbacks should improve performance.
We can look into this after we get a working prototype if we still need more performance.
I also need to learn how to actually run valgrind for profiling to be able to do this.

Packet passing has overhead and requires polling. Implementing the data transfer though callbacks should improve performance. We can look into this after we get a working prototype if we still need more performance. I also need to learn how to actually run valgrind for profiling to be able to do this.
AlexVdberg commented 2021-02-19 04:02:21 +00:00 (Migrated from github.com)

Polling also has X number of packet processor threads idling.

Callbacks will have synchronization issues when changing parameters such as window size. Also not sure how canceling a callback works either for the napi.
Polling may have some synchronization issues because threading.

Polling also has X number of packet processor threads idling. Callbacks will have synchronization issues when changing parameters such as window size. Also not sure how canceling a callback works either for the napi. Polling may have some synchronization issues because threading.
AlexVdberg commented 2021-03-11 13:35:22 +00:00 (Migrated from github.com)

no napi anymore

no napi anymore
Sign in to join this conversation.
No description provided.