There are 3 factors which throttle the traffic in Li Plugin
1. The Device/Connection queue size, hardcoded to 25K (used by OFJ Outbound Q)
2. The time out , hardcoded to 500ms (used by OFJ Outbound Q)
3. RPC throttle semaphore, configured default to 20000 in config xml
Following would be desired and beneficial
1. Make the queue size or timeout configurable, with a detailed info, as what happens if we keep the number higher or lower
2. Design a dynamic rate limiter logic which would adjust to the rate in which we are getting rpc and packet-outs.