[aerogear-dev] Push - Batch processing endpoint ?
Matthias Wessendorf
matzew at apache.org
Sat Feb 18 09:09:44 EST 2017
Hi,
how do people feel about an batch processing endpoint:
https://github.com/aerogear/aerogear-unifiedpush-server/pull/794
Use-case:
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;
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.
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.
Any thoughts ?
-Matthias
--
Matthias Wessendorf
blog: http://matthiaswessendorf.wordpress.com/
twitter: http://twitter.com/mwessendorf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20170218/9de5f9f7/attachment.html
More information about the aerogear-dev
mailing list