#15901: remote desktop: freeze while receiving large bitmap
---------------------------------+----------------------------
Reporter: X512 | Owner: axeld
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: Servers/app_server | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Platform: All |
---------------------------------+----------------------------
Comment (by X512):
This is problem in current remote protocol, it currently multiplexed on
message level, but messages can be large so other rendering threads will
be locked until message receiving will finish.
Possible approaches:
1. Make all messages small. Bitmap message can be splitted to smaller
messages such as 16x16 bitmaps.
2. Use stream based multiplexing. Each rendering thread will have stream
id, and top level protocol format will be like `int32 streamId; int32
payloadSize; int8 payload[payloadSize]`.
--
Ticket URL: <https://dev.haiku-os.org/ticket/15901#comment:1>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.