<div dir="ltr">Hi!<div><br></div><div>If you control the client's code, you may make use of XMPP see-other-host error: <a href="http://xmpp.org/rfcs/rfc6120.html#streams-error-conditions-see-other-host">http://xmpp.org/rfcs/rfc6120.html#streams-error-conditions-see-other-host</a></div><div><br></div><div>With it you may make a server which would redirect connecting clients to the proper server (if needed) just after client tells its JID.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 13, 2015 at 9:29 PM, Kannan <span dir="ltr"><<a href="mailto:vasdeveloper@gmail.com" target="_blank">vasdeveloper@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Team,<div><br></div><div>We are working on a startup idea that uses eJabberd. We are trying to build the load balancing into the client, using a discovery call just before the login procedure. There will be a discovery assist node at the backend, which maps a chat user to a specific IP. This is some thing equivalent to DNS SRV lookup, but more at the application layer, and database shards are handled by the application itself. We are of course customizing the eJabberd to suit our needs.</div><div><br></div><div>Application is handling the sharding, but will get the help of Mnesia for replication.</div><div><br></div><div><br></div><div>Do you see any pitfalls in this method of loadbalancing.</div><div><br></div><div>Regards,</div><div>Theepan</div></div>
<br>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><font face="'courier new', monospace">Danil Zagoskin | <a href="mailto:z@gosk.in" target="_blank">z@gosk.in</a></font></div></div></div>
</div>