[vpp-dev] Is VppCom suitable for this scenario

2020-01-06 Thread Satya Murthy
Hi , Have one basic doubt on applicability of VppCom library for a use case that we have as below. Use Case with following requirements: 1. control plane app needs to communicate with different VPP worker threads 2. control plane app may need to send messages to vpp workers with message size th

Re: [vpp-dev] Is VppCom suitable for this scenario

2020-01-06 Thread Florin Coras
Hi Satya, VCL is a library applications can link against to interact with vpp’s host stack in a way similar to but not quite POSIX compliant. That is, it can be used to open sessions with various transports (e.g., tcp, quic, tls) to send/receive data in a synchronous and asynchronous manner. T

Re: [vpp-dev] Is VppCom suitable for this scenario

2020-01-06 Thread Satya Murthy
Hi Florin, Thank you very much for quick inputs.  I have gone through your youtube video from kubecon and it cleared lot of my doubts. You presented it in a very clear manner. As you rightly pointed out, VppCom will be a overhead for our use case. All we need is just a shared memory communicatio

Re: [vpp-dev] Is VppCom suitable for this scenario

2020-01-07 Thread Florin Coras
Hi Satya, Glad it helped! You may want to use svm queues or message queues similarly to how the session queue node does. For instance, see how messages are dequeued in session_queue_node_fn. Regards, Florin > On Jan 6, 2020, at 10:45 PM, Satya Murthy wrote: > > Hi Florin, > > Thank you ve