<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 30, 2015 at 7:45 PM, mo <span dir="ltr">&lt;<a href="mailto:michi.oshima@gmail.com" target="_blank">michi.oshima@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
We use  OpenShift AeroGear Push Server Cartridge<br>
&lt;<a href="https://github.com/aerogear/openshift-origin-cartridge-aerogear-push" rel="noreferrer" target="_blank">https://github.com/aerogear/openshift-origin-cartridge-aerogear-push</a>&gt;  .<br>
<br>
I was instructed to delete existing installations and their categories.<br>
What exactly do I need to do?  Would I simply truncate some DB tables?  If<br>
so, which ones?<br></blockquote><div><br></div><div>I think it&#39;s just the Installation_Categories and Installations</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I believe deleting installations and categories is something I should do<br>
periodically.  What do you think?  </blockquote><div><br></div><div>No, it&#39;s not :-) you wanna keep the regsitered devices.</div><div><br></div><div>However, you are using SimplePush, and that awfully (as stated in the other thread) has no way to identify if a channel/registration is invalid</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I&#39;m thinking server cannot rely on<br>
clients to unregister their installations. </blockquote><div><br></div><div>On &quot;real&quot; push networks, such as GCM/APNs, we have a way to cleanly auto remove the broken channels <br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> Therefore stale installations<br>
would accumulate over time on the server.  Am I over-thinking this?<br></blockquote><div><br></div><div>No - for SimplePush, this is a real problem - yes.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Would there be anything to be periodically cleaned out on the side of<br>
simple-push server?<br></blockquote><div><br></div><div>Depends... in worst case a few clients are lost, and dont get the version increment delivered</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thanks.<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://aerogear-users.1116366.n5.nabble.com/Deleting-the-installation-and-categories-tp87.html" rel="noreferrer" target="_blank">http://aerogear-users.1116366.n5.nabble.com/Deleting-the-installation-and-categories-tp87.html</a><br>
Sent from the aerogear-users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Aerogear-users mailing list<br>
<a href="mailto:Aerogear-users@lists.jboss.org">Aerogear-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-users" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-users</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a></div>
</div></div>