Recently we have started an experiment on our benchmark-LAN where we have several Windows XP PCs running test programs. One of the PCs is the data-injector (Flex) which pushes changes every second, one is the LCDS2.6 server running on Tomcat and one PC is running the client application (Flex) in which the changes are visible every second.
This experiment should determine if Flex using LCDS is a viable option for our real-time systems.
There is very little network-traffic and CPU-usage on all PCs is very low, yet the system is able to handle only 400 changes every second.
Using our own logger we see that about 400ms pass between the injector committing the changes and the server synchronizing the database. Another 400ms are needed to get all the changes to the other client so it can merge the changes and display them.
By examining the built-in server-side logging of LCDS, it becomes clear that a lot of time is spent in the sending and receiving of messages over RTMP:
[LCDS] 16:25:10.578 [DEBUG] Thread[my-rtmp-SocketServer-WorkerThread-1,5,main] Connection '19658898' starting a read.
Some research on RTMP and AMF learns us that there should be some way to adjust the packet-size or the AMF-message-size.<br />In the LCDS 2.6 developers guide the <packet-size>-tag is mentioned for the RTMPChannel. But when we start the server the tag is not recognized... any thought on this? Am I using a wrong library for the RTMPChannel? Is there a place where all the possible tags are mentioned and explained?<br /><br />Thank you<br />Rogier
Hi Rogier,<br /><br />We have a mistake in our documentation, there is no such tag like <packet-size> or <page-size> in LCDS...we will update the developer guide.Sorry for the inconvenience.<br /><br />Cornel.