<div dir="ltr">Oooo That looks cool, I&#39;ve starred it to take a closer look.</div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Feb 18, 2017 at 1:58 PM, Matthias Wessendorf <span dir="ltr">&lt;<a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">the java client update looks like:<div><a href="https://github.com/aerogear/aerogear-unifiedpush-java-client/pull/82" target="_blank">https://github.com/aerogear/<wbr>aerogear-unifiedpush-java-<wbr>client/pull/82</a><br></div><div><br></div><div>Was not hard, some java8 fu, and just appending, internally, the &quot;batch&quot; part of the URL</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-M</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Feb 18, 2017 at 3:09 PM, Matthias Wessendorf <span dir="ltr">&lt;<a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>how do people feel about an batch processing endpoint:</div><div><a href="https://github.com/aerogear/aerogear-unifiedpush-server/pull/794" target="_blank">https://github.com/aerogear/ae<wbr>rogear-unifiedpush-server/pull<wbr>/794</a><br></div><div><br></div><div>Use-case:</div><div>If you have a list of different users (via different alias), and want to send them a personalized message (e.g. &quot;Hello $alias, how are things?&quot;), CURRENTLY you&#39;d have to iterate through that list and send a push request for _each_ alias/message pair. Which results in lot&#39;s of overhead, and lot&#39;s of http requests;</div><div><br></div><div>Now, using this new batch endpoint, allows you do iterate through the list, create the actual message, put it to a collection, and after the iteration, you send one HTTP request, containing the message collection.</div><div><br></div><div>This results in ONE http request, which it may contain 100&#39;s of different messages, for the given Push-Application, instead of 100&#39;s of HTTP requests.</div><div><br></div><div>Any thoughts ? </div><span class="m_-8192806295980526882HOEnZb"><font color="#888888"><div><br></div><div>-Matthias </div><div><br></div><div>-- <br><div class="m_-8192806295980526882m_6050314513159051656gmail_signature"><div dir="ltr"><div>Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.word<wbr>press.com/</a><br>twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a></div></div></div>
</div></font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_-8192806295980526882gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.<wbr>wordpress.com/</a><br>twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a></div></div></div>
</div>
</div></div><br>______________________________<wbr>_________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/aerogear-dev</a><br></blockquote></div><br></div>