<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Feb 8, 2015, at 11:29 PM, Daniel Bevenius &lt;<a href="mailto:daniel.bevenius@gmail.com" class="">daniel.bevenius@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">&gt;<span style="font-size:12.8000001907349px" class="">One thing that this brings up that I didn't see in the AGSYNC Jira&nbsp;</span><span style="font-size:12.8000001907349px" class="">(unless I'm blind) was how to manage the socket-connectivity interaction&nbsp;</span><span style="font-size:12.8000001907349px" class="">on the &gt;clients.&nbsp;</span><div class=""><span style="font-size:12.8000001907349px" class="">You are right there is no JIRAs for this and it would be great if you could create one (We should have one for iOS as well). Could this be a targeted for an alpha.2 release?</span></div></div></div></blockquote><div><br class=""></div>Don;t forget to create one for JS too :)<br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class=""><span style="font-size:12.8000001907349px" class=""><br class=""></span></div><div class=""><span style="font-size:12.8000001907349px" class=""><br class=""></span></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On 9 February 2015 at 05:14, Summers Pittman <span dir="ltr" class="">&lt;<a href="mailto:supittma@redhat.com" target="_blank" class="">supittma@redhat.com</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br class="">
First the good news, I've refactored a lot of the xmpp-client code so<br class="">
now the sync client is correctly handled by an Android service. This<br class="">
gets around issues we were having earlier where the in-memory client<br class="">
would get GCed while the doc was in the background as well as some<br class="">
issues with loading documents when messages came in for the not<br class="">
currently being edited doc.<br class="">
<br class="">
Now the bad news, the past two weeks we've been focusing on using<br class="">
Google's two way messaging for being the backbone of sync on Android for<br class="">
alpha.1.&nbsp; One of the issues we knew about was the 4k message size limit<br class="">
in GCM and that after a POC phase we were going to have to address it.<br class="">
On Friday I noticed that the server was choking on messages much smaller<br class="">
than 4K.&nbsp; Turns out that 4K includes all of the metadata around the<br class="">
message in addition to the payload.&nbsp; I do not think the GCM bridge is a<br class="">
good tranport for alpha.1 and (if everyone agrees) will be focusing on<br class="">
the WebSocket based client.<br class="">
<br class="">
One thing that this brings up that I didn't see in the AGSYNC Jira<br class="">
(unless I'm blind) was how to manage the socket-connectivity interaction<br class="">
on the clients.&nbsp; Basically a protocol / pattern for how we manage the<br class="">
socket connections when the device gains and loses internet access or<br class="">
switches networks.&nbsp; (For instance we should probably disconnect and<br class="">
reconnect when the device leaves a cellular network and joins a Wifi<br class="">
network)This is separate from collision handling/detection which does<br class="">
have a Jira.&nbsp; If there isn't one (a connection handling Jira) should I<br class="">
make one?<br class="">
<br class="">
Happy Monday y'all,<br class="">
<span class="HOEnZb"><font color="#888888" class=""><br class="">
--<br class="">
Summers Pittman<br class="">
&gt;&gt;Phone:<a href="tel:404%20941%204698" value="+14049414698" class="">404 941 4698</a><br class="">
&gt;&gt;Java is my crack.<br class="">
<br class="">
_______________________________________________<br class="">
aerogear-dev mailing list<br class="">
<a href="mailto:aerogear-dev@lists.jboss.org" class="">aerogear-dev@lists.jboss.org</a><br class="">
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank" class="">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br class="">
</font></span></blockquote></div><br class=""></div>
_______________________________________________<br class="">aerogear-dev mailing list<br class=""><a href="mailto:aerogear-dev@lists.jboss.org" class="">aerogear-dev@lists.jboss.org</a><br class="">https://lists.jboss.org/mailman/listinfo/aerogear-dev</div></blockquote></div><br class=""></body></html>