Re: [vpp-dev] Is VppCom suitable for this scenario
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 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 communication to send and receive bigger > messages. > Memif was not a candidate for this, since it will pose message size > restrictions upto 64K. > > In this case, what framework we can use to send/recv messages from VPP > workers across shared memory. > Can we use SVM queues directly and get the message into our custom VPP plugin > and process it > ( in case of VPP receiving message from control plane app ) > > Any example code that already does this ? If so, can you please point this to > us. > -- > Thanks & Regards, > Murthy -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > > View/Reply Online (#15073): https://lists.fd.io/g/vpp-dev/message/15073 > Mute This Topic: https://lists.fd.io/mt/69461619/675152 > Group Owner: vpp-dev+ow...@lists.fd.io > Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [fcoras.li...@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15075): https://lists.fd.io/g/vpp-dev/message/15075 Mute This Topic: https://lists.fd.io/mt/69461619/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [vpp-dev] Is VppCom suitable for this scenario
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 communication to send and receive bigger messages. Memif was not a candidate for this, since it will pose message size restrictions upto 64K. In this case, what framework we can use to send/recv messages from VPP workers across shared memory. Can we use SVM queues directly and get the message into our custom VPP plugin and process it ( in case of VPP receiving message from control plane app ) Any example code that already does this ? If so, can you please point this to us. -- Thanks & Regards, Murthy -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15073): https://lists.fd.io/g/vpp-dev/message/15073 Mute This Topic: https://lists.fd.io/mt/69461619/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[vpp-dev] Is VppCom suitable for this scenario
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 that can span upto a max size of 1 MB. 3. control plane app needs to have different VppCom channels with each worker For the above scenario, is VppCom a suitable infrastructure ? Using memif causes max size limit at 64KB. Hence, we are thinking about alternatives. Please share your inputs on this. ( Also, is there any documentation on VppCom library ? ) -- Thanks & Regards, Murthy -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15056): https://lists.fd.io/g/vpp-dev/message/15056 Mute This Topic: https://lists.fd.io/mt/69461619/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-