<p dir="ltr">Alex,</p>
<p dir="ltr">Thanks for expanding in such detail. I appreciate you taking the time to fix the things that I missed. Sometimes I think it may have been easier to start from scratch ;)</p>
<p dir="ltr">Best regards,</p>
<p dir="ltr">Charles</p>
<div class="gmail_quote">On 25 Aug 2014 10:11, "Alex Hermann" <<a href="mailto:alex@speakup.nl">alex@speakup.nl</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Friday 22 August 2014, Charles Chance wrote:<br>
> On 22 August 2014 16:46, Alex Hermann <<a href="mailto:alex@speakup.nl">alex@speakup.nl</a>> wrote:<br>
> > Last week, i just built profile synchronisation in the dialog module,<br>
> > based on<br>
> > dmq. It took quite a bit of debugging time because of the state dmq was<br>
> > in.<br>
><br>
> Can you expand a little on "the state dmq was in"?<br>
<br>
I was hoping to use it as-is, but i encountered issues which had to be<br>
resolved before i could even use the module:<br>
<br>
- As soon as i enabled the dmq module, i experienced segfaults.<br>
- It had bad interaction with the maxfwd module<br>
- Status updates between hosts were largely ignored.<br>
- The configured server_address wasn't used to send messages.<br>
<br>
<br>
<br>
> > It still has some rough edges, but i'll try to push a branch (shortly<br>
> > after)<br>
> > this weekend for review.<br>
><br>
> Looking forward to seeing it - may save me the time :)<br>
<br>
I pushed my WIP to the branch alexh/dialog-sync-wip which also contains<br>
dialog and dmq fixes and cleanups.<br>
<br>
It's WIP, so it might still change. This branch is only compile-tested so<br>
far, because i normally develop against 3.2. I just cherry-picked most of my<br>
patches to master.<br>
<br>
Known issues:<br>
 - Sync get off under load, cause unknown yet, but probably because of out-<br>
of-order sync messages.<br>
<br>
Still on the TODO list:<br>
 - Delete 'disabled'  dmq hosts<br>
 - Cope better with out-of-order sync messages<br>
 - Sync initial state<br>
 - Clean shutdown of DMQ, free all memory<br>
 - More efficient protocol instead of JSON. Probably just write raw data in<br>
the packet, so the receiving side can just use a pointer into the buf<br>
instead of having to copy everything.<br>
<br>
--<br>
Alex<br>
<br>
<br>
<br>
--<br>
Alex Hermann<br>
</blockquote></div>

<br>
<font face="Helvetica, Arial, sans-serif"><font size="2"><span style="font-size:10pt"><a href="http://www.sipcentric.com/" title="blocked::http://www.sipcentric.com/" target="_blank">www.sipcentric.com</a><br>
            <br>
            Follow us on twitter <a href="http://twitter.com/sipcentric" title="blocked::http://twitter.com/sipcentric" target="_blank">@sipcentric</a><br>
            <br>
            <font color="gray">Sipcentric Ltd.
                Company registered in England & Wales no. 7365592.</font> <font color="gray">Registered
                office: Faraday Wharf, Innovation Birmingham Campus, Holt Street, Birmingham Science Park, Birmingham B7 4BB.</font></span></font></font>