<div dir="ltr">Hi, Alexey<div><br></div><div>My comments inline.<br><br><div class="gmail_quote"><div dir="ltr">On Mon, Nov 28, 2016 at 1:52 AM Weyl, Alexey (Nokia - IL) <<a href="mailto:alexey.weyl@nokia.com">alexey.weyl@nokia.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="purple" class="gmail_msg">
<div class="m_-7829854994847656904WordSection1 gmail_msg">
<p class="MsoNormal gmail_msg"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" class="gmail_msg">Hi Dong,<u class="gmail_msg"></u><u class="gmail_msg"></u></span></p>
<p class="MsoNormal gmail_msg"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" class="gmail_msg"><u class="gmail_msg"></u> <u class="gmail_msg"></u></span></p>
<p class="MsoNormal gmail_msg"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" class="gmail_msg">I can think of 2 solutions for this problem:<u class="gmail_msg"></u><u class="gmail_msg"></u></span></p>
<p class="m_-7829854994847656904MsoListParagraph gmail_msg"><u class="gmail_msg"></u><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" class="gmail_msg"><span class="gmail_msg">1.<span style="font:7.0pt "Times New Roman"" class="gmail_msg">      
</span></span></span><u class="gmail_msg"></u><span dir="LTR" class="gmail_msg"></span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" class="gmail_msg">We can talk with the AODH developers and check if they can add additional data for the aodh notifications.</span></p></div></div></blockquote><div>I think it might not be easily accepted since sending only the changes on update notification looks more reasonable to me. </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple" class="gmail_msg"><div class="m_-7829854994847656904WordSection1 gmail_msg"><p class="m_-7829854994847656904MsoListParagraph gmail_msg"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" class="gmail_msg"><u class="gmail_msg"></u><u class="gmail_msg"></u></span></p>
<p class="m_-7829854994847656904MsoListParagraph gmail_msg"><u class="gmail_msg"></u><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" class="gmail_msg"><span class="gmail_msg">2.<span style="font:7.0pt "Times New Roman"" class="gmail_msg">      
</span></span></span><u class="gmail_msg"></u><span dir="LTR" class="gmail_msg"></span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" class="gmail_msg">We can add a cache in the aodh driver, and call the get_all method in the AodhDriver constructor or when the first notification
 happens and fill the cache with the data. Then for each notification that arrives you  will update that cache in the aodh notification service, and send then event with all the data you need.</span></p></div></div></blockquote><div>I doubt this will degrade the performance for the first notification since there will be additional conversation to retrieve the full data. </div><div><br></div><div>My proposal is to share a cache between snapshot service and listener service and I think it is a common requirements for all datasource using PUSH method.</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>