<div dir="ltr">Submitting is fully handled asyn. e.g. it took me 350ms to submit 5k of push messages. <div>than client returns;<div><br></div><div>The messaging sub-system of WildFly/EAP than processes those, in batches (e.g. per push network etc)</div><div><br></div><div>So, if one sends 100k messages in one batch, the same would be very likely sent via individual requests.</div><div>but here we have 1 request, instead of 100k, which also has lot&#39;s of problems in terms of costs/overhead</div><div><div class="gmail_extra"><br></div><div class="gmail_extra">Mainly the internal message broker is decoupled from the web-workers, hence, once uploaded, the processing on the messaging component.</div></div><div><br></div><div>That said, I also think that our Google Summer of Code project (Kafka/HBase) will greatly contribute to a much faster system, being able to handle crazy loads, which is currently already not really possible</div><div><div class="gmail_extra"><br></div><div class="gmail_extra">PS: I&#39;ve added a comment to the server PR,</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 20, 2017 at 9:02 AM, Jose Miguel Gallas Olmedo <span dir="ltr">&lt;<a href="mailto:jgallaso@redhat.com" target="_blank">jgallaso@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-family:arial,helvetica,sans-serif;font-size:small">​Looks like a very nice feature. I wonder if it will cause very large HTTP request payloads and how problematic this could be? My browser is sometimes slow when loading some heavy website so sending a huge batch might not be so much productive after all. What do you thing?</div><div style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div style="font-family:arial,helvetica,sans-serif;font-size:small">Disclaimer: this is not a criticism but a innocent question.</div><div style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div style="font-family:arial,helvetica,sans-serif;font-size:small">Cheers,</div></div><div class="gmail_extra"><div><div class="gmail-h5"><br><div class="gmail_quote">On 19 February 2017 at 18:56, Summers Pittman <span dir="ltr">&lt;<a href="mailto:supittma@redhat.com" target="_blank">supittma@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><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"><div><div class="gmail-m_8724615921608907903h5">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></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="gmail-m_8724615921608907903h5"><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/ae<wbr>rogear-unifiedpush-java-client<wbr>/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="gmail-m_8724615921608907903m_2915258610296062017HOEnZb"><font color="#888888"><div><br></div><div>-M</div></font></span></div><div class="gmail-m_8724615921608907903m_2915258610296062017HOEnZb"><div class="gmail-m_8724615921608907903m_2915258610296062017h5"><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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);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="gmail-m_8724615921608907903m_2915258610296062017m_-8192806295980526882HOEnZb"><font color="#888888"><div><br></div><div>-Matthias </div><div><br></div><div>-- <br><div class="gmail-m_8724615921608907903m_2915258610296062017m_-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="gmail-m_8724615921608907903m_2915258610296062017m_-8192806295980526882gmail_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>
</div></div><br></div></div>______________________________<wbr>_________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">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/mailma<wbr>n/listinfo/aerogear-dev</a><br></blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">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/mailma<wbr>n/listinfo/aerogear-dev</a><br></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="gmail-HOEnZb"><font color="#888888">-- <br><div class="gmail-m_8724615921608907903gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><b><font size="2" style="background-color:rgb(255,255,255)" color="#000000">Jose Miguel Gallas Olmedo</font></b></div><div><font color="#666666">Associate QE at Mobile Team, <a href="https://www.redhat.com/en/technologies/mobile/application-platform" target="_blank"><b>Red Hat</b></a></font></div><div><span style="font-size:12.8px"><font color="#999999"><a href="tel:+34%20618%2048%2086%2033" value="+34618488633" target="_blank">+34 618 488 633</a></font></span></div></div></div></div></div></div></div>
</font></span></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><br clear="all"><div><br></div>-- <br><div class="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></div></div></div>