<div dir="ltr">the java client update looks like:<div><a href="https://github.com/aerogear/aerogear-unifiedpush-java-client/pull/82">https://github.com/aerogear/aerogear-unifiedpush-java-client/pull/82</a><br></div><div><br></div><div>Was not hard, some java8 fu, and just appending, internally, the "batch" part of the URL</div><div><br></div><div>-M</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Feb 18, 2017 at 3:09 PM, Matthias Wessendorf <span dir="ltr"><<a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a>></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/<wbr>aerogear-unifiedpush-server/<wbr>pull/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. "Hello $alias, how are things?"), CURRENTLY you'd have to iterate through that list and send a push request for _each_ alias/message pair. Which results in lot's of overhead, and lot'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's of different messages, for the given Push-Application, instead of 100's of HTTP requests.</div><div><br></div><div>Any thoughts ? </div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-Matthias </div><div><br></div><div>-- <br><div class="m_6050314513159051656gmail_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></font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a></div></div></div>
</div>