[SR-Users] binrpc reply sizes

Alex Balashov abalashov at evaristesys.com
Wed Oct 30 18:46:21 CET 2019


On Wed, Oct 30, 2019 at 09:05:46AM +0100, Daniel-Constantin Mierla wrote:

> The ctl module uses system malloc by default for its internal buffers
> related to rpc response, so it doesn't impact the allocated pkg memory.
> 
> It might be better to switch to jsonrpcs, which does dynamic allocation
> for building rpc response (also using system malloc).

That's an interesting thought I hadn't considered. Kamcmd does support
JSONRPC as an underlying transport in place of the binrpc protocol used
by CTL, right?

-- 
Alex Balashov | Principal | Evariste Systems LLC

Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) 
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/



More information about the sr-users mailing list