Hi Jeff, Thank you for your reply. I have gathered some more logging information in this mail. To maybe make clearer where all the time is spent. Is there a way to set the packet-size (or 'chunk' size?) to be able to send rather large messages (or a lot of small ones) more efficiently? Or could there be some other cause for this slow communication between client and server? Thanks, hope these loggings shed some light on the situation... [LCDS] 08:06:40.406 [DEBUG] [SocketServer.General] Thread[my-nio- server-WorkerThread-2,5,main] Connection '9194103' starting a read. [LCDS] 08:06:40.406 [DEBUG] [Protocol.RTMP] Thread[my-nio-server- WorkerThread-2,5,main] chunk input stream processing 1 bytes. [LCDS] 08:06:40.406 [DEBUG] [Protocol.RTMP] Thread[my-nio-server- WorkerThread-2,5,main] chunk input stream processing 7 bytes. [LCDS] 08:06:40.406 [DEBUG] [Protocol.RTMP] Thread[my-nio-server- WorkerThread-2,5,main] chunk input stream processing 128 bytes. [LCDS] 08:06:40.406 [DEBUG] [Protocol.RTMP] Thread[my-nio-server- WorkerThread-2,5,main] chunk input stream processing 1 bytes. [LCDS] 08:06:40.406 [DEBUG] [Protocol.RTMP] Thread[my-nio-server- WorkerThread-2,5,main] chunk input stream processing 128 bytes. [LCDS] 08:06:40.406 [DEBUG] [Protocol.RTMP] Thread[my-nio-server- WorkerThread-2,5,main] chunk input stream processing 1 bytes. [LCDS] 08:06:40.406 [DEBUG] [Protocol.RTMP] Thread[my-nio-server- WorkerThread-2,5,main] chunk input stream processing 128 bytes.
... [LCDS] 08:06:40.421 [DEBUG] [Protocol.RTMP] Thread[my-nio-server- WorkerThread-2,5,main] chunk input stream processing 1 bytes. [LCDS] 08:06:40.421 [DEBUG] [Protocol.RTMP] Thread[my-nio-server- WorkerThread-2,5,main] chunk input stream processing 57 bytes. [LCDS] 08:06:40.421 [DEBUG] [SocketServer.General] Thread[my-nio- server-WorkerThread-2,5,main] registering read interest for Connection '9194103'. [LCDS] 08:06:40.421 [DEBUG] [SocketServer.General] Thread[my-nio- server-WorkerThread-2,5,main] Connection '9194103' finished a read. 8192 bytes were read. [LCDS] 08:06:40.421 [DEBUG] [SocketServer.General] Thread[my-nio- server-Reactor1,5,main] unregistering read interest for Connection '9194103'. [LCDS] 08:06:40.421 [DEBUG] [SocketServer.General] Thread[my-nio- server-WorkerThread-2,5,main] Connection '9194103' starting a read. [LCDS] 08:06:40.421 [DEBUG] [Protocol.RTMP] Thread[my-nio-server- WorkerThread-2,5,main] chunk input stream processing 71 bytes. [LCDS] 08:06:40.421 [DEBUG] [Protocol.RTMP] Thread[my-nio-server- WorkerThread-2,5,main] chunk input stream processing 1 bytes. [LCDS] 08:06:40.421 [DEBUG] [Protocol.RTMP] Thread[my-nio-server- WorkerThread-2,5,main] chunk input stream processing 128 bytes. ... [LCDS] 08:06:40.468 [DEBUG] [Protocol.RTMP] Thread[my-nio-server- WorkerThread-2,5,main] chunk input stream processing 1 bytes. [LCDS] 08:06:40.468 [DEBUG] [Protocol.RTMP] Thread[my-nio-server- WorkerThread-2,5,main] chunk input stream processing 64 bytes. [LCDS] 08:06:40.468 [DEBUG] [SocketServer.General] Thread[my-nio- server-WorkerThread-2,5,main] registering read interest for Connection '9194103'. [LCDS] 08:06:40.468 [DEBUG] [SocketServer.General] Thread[my-nio- server-WorkerThread-2,5,main] Connection '9194103' finished a read. 8192 bytes were read. [LCDS] 08:06:40.468 [DEBUG] [SocketServer.General] Thread[my-nio- server-Reactor1,5,main] unregistering read interest for Connection '9194103'. [LCDS] 08:06:40.468 [DEBUG] [SocketServer.General] Thread[my-nio- server-WorkerThread-2,5,main] Connection '9194103' starting a read. [LCDS] 08:06:40.468 [DEBUG] [Protocol.RTMP] Thread[my-nio-server- WorkerThread-2,5,main] chunk input stream processing 64 bytes. [LCDS] 08:06:40.468 [DEBUG] [Protocol.RTMP] Thread[my-nio-server- WorkerThread-2,5,main] chunk input stream processing 1 bytes. [LCDS] 08:06:40.468 [DEBUG] [Protocol.RTMP] Thread[my-nio-server- WorkerThread-2,5,main] chunk input stream processing 128 bytes. ... [LCDS] 08:06:40.468 [DEBUG] [Protocol.RTMP] Thread[my-nio-server- WorkerThread-2,5,main] chunk input stream processing 0 bytes. [LCDS] 08:06:40.468 [DEBUG] [SocketServer.General] Thread[my-nio- server-WorkerThread-2,5,main] registering read interest for Connection '9194103'. [LCDS] 08:06:40.468 [DEBUG] [SocketServer.General] Thread[my-nio- server-WorkerThread-2,5,main] Connection '9194103' finished a read. 4321 bytes were read. [LCDS] 08:06:40.515 [DEBUG] [SocketServer.General] Thread[my-nio- server-Reactor1,5,main] unregistering read interest for Connection '9194103'. [LCDS] 08:06:40.515 [DEBUG] [SocketServer.General] Thread[my-nio- server-WorkerThread-2,5,main] Connection '9194103' starting a read. [LCDS] 08:06:40.515 [DEBUG] [Protocol.RTMP] Thread[my-nio-server- WorkerThread-2,5,main] chunk input stream processing 1 bytes. [LCDS] 08:06:40.515 [DEBUG] [Protocol.RTMP] Thread[my-nio-server- WorkerThread-2,5,main] chunk input stream processing 128 bytes. ... etc. etc. [LCDS] 08:06:40.671 [DEBUG] [SocketServer.General] Thread[my-nio- server-WorkerThread-2,5,main] Connection '9194103' finished a read. 4321 bytes were read. [LCDS] 08:06:40.718 [DEBUG] [SocketServer.General] Thread[my-nio- server-Reactor1,5,main] unregistering read interest for Connection '9194103'. [LCDS] 08:06:40.718 [DEBUG] [SocketServer.General] Thread[my-nio- server-WorkerThread-2,5,main] Connection '9194103' starting a read. [LCDS] 08:06:40.718 [DEBUG] [Protocol.RTMP] Thread[my-nio-server- WorkerThread-2,5,main] chunk input stream processing 1 bytes. [LCDS] 08:06:40.718 [DEBUG] [Protocol.RTMP] Thread[my-nio-server- WorkerThread-2,5,main] chunk input stream processing 97 bytes. [LCDS] 08:06:40.718 [DEBUG] [Endpoint.RTMP] Thread[my-nio-server- WorkerThread-2,5,main] received message TCMessage [ Type: MsgCmdEx, Stream ID: 0] [LCDS] 08:06:40.890 [DEBUG] [Endpoint.RTMP] Deserializing AMF/RTMP request

