[audio-manager] Queueing of back to back connect commands

Toshiaki ISOGAI isogai.toshiaki at nttd-mse.com
Thu Jan 12 00:39:31 EST 2017


Hello Nithya-san,

 

I am sorry for delayed answer.

I have commented inline.

 

Best regards,

Toshiaki Isogai

 

From: Nithya.K [mailto:nithya.k at jasmin-infotech.com] 
Sent: Tuesday, January 10, 2017 3:22 PM
To: Toshiaki ISOGAI <isogai.toshiaki at nttd-mse.com>
Cc: Christian Linke <Christian.Linke at bmw.de>; genivi-audio-manager <genivi-audio-manager at mailman1.genivi.org>
Subject: Re: [audio-manager] Queueing of back to back connect commands

 

Hi Christian and Toshiaki Isogai,

 

Thank you for your response.

 

We are currently working with the generic controller. The queuing that is mentioned in the response mail refers to the trigger queue, we believe.

 

Yes.

 

As per our understanding, the trigger queue is filled with next command request, only after 1 child action corresponding to the current trigger is dispatched to the routing adapter. Also, only when the action queue is empty (i.e, all child actions corresponding to current trigger are executed), the next trigger is dequeued and forwarded to policy engine.

 

Yes.

 

Due to this behavior, the queuing in controller does not happen in the same speed at which the source switch requests are given to the command plugin from HMI. For eg., we might have given 10 source switch requests from HMI but by this time there could be only 3 or 4 triggers filled in the trigger queue. Hence, we are not sure if logic implemented at this level for skipping some source switch requests, would work as expected. (i.e, not all intermediate source switches would be skipped.)

 

Even though the timing of dequeue is at the completion of current action(s), I think it is not relevant to queueing speed into trigger queue from command side.

 

Especially “connect” is immediately returned after Controller register main connection to DB and put this to trigger queue.

 

Please share your thoughts on this.

 

Thanks & Regards,
Nithya K
Principal Engineer
Jasmin Infotech Pvt Ltd
Tel: +91-44-30619600, Extn: 1023

 

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Information in this email is proprietary and Confidential to Jasmin Infotech. Any use, copying or dissemination of the information in any manner is strictly prohibited. 

If you are not the intended recipient, please destroy the message and please inform to us. 

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

 

  _____  

From: "Toshiaki ISOGAI" <isogai.toshiaki at nttd-mse.com <mailto:isogai.toshiaki at nttd-mse.com> >
To: "Christian Linke" <Christian.Linke at bmw.de <mailto:Christian.Linke at bmw.de> >, "nithya k" <nithya.k at jasmin-infotech.com <mailto:nithya.k at jasmin-infotech.com> >, "genivi-audio-manager" <genivi-audio-manager at mailman1.genivi.org <mailto:genivi-audio-manager at mailman1.genivi.org> >
Sent: Monday, January 9, 2017 3:34:49 PM
Subject: RE: [audio-manager] Queueing of back to back connect commands

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genivi.org/pipermail/genivi-audio-manager_lists.genivi.org/attachments/20170112/a663bbda/attachment.html>


More information about the genivi-audio-manager mailing list