<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/4.6.4">
</HEAD>
<BODY>
I received some feedback for the aerogear-unifiedpush-server. <BR>
<BR>
The case is:<BR>
<BR>
Company X would like to create a personalized push notifications campaign for Y hundred thousands customers/clients. Personalized means that each client/device should receive a unique message. The messages are automatically produced from rules defined in a CRM system, but this is something which doesn't affect our implementation.<BR>
<BR>
Currently, our selective send method is able to send one message to a selected list of clients. In cases like the above one, this translates into Y hundred thousands calls of the aerogear-unifiedpush-server selective send method. The question is whether we could change the signature of the selective send method and allow to pass an array of messages or not. <BR>
<BR>
In my understanding, the advantages/disadvantages of a such change are similar to the advantages/disadvantages of a service according its level of granularity.<BR>
<BR>
<B>Fine Grained</B><BR>
+ simplicity and less business logic on server side<BR>
+ less amount of data exchanged between client/server<BR>
- a lot of interactions between client/server<BR>
- more interactions = more network overhead<BR>
- complex client side<BR>
<BR>
<B>Coarse Grained</B><BR>
+ less interactions between client/server <BR>
+ less network overhead & possibility of re-using the same network connection to send messages to the Push Networks (at least for APN)<BR>
+ simple client side<BR>
- much data exchanged in each interaction between client/server<BR>
- complex server side
</BODY>
</HTML>