By chat clients you mean like WhatsApp for example?
<a href="https:&#x2F;&#x2F;www.quora.com&#x2F;What-is-WhatsApps-server-architecture" rel="nofollow">https:&#x2F;&#x2F;www.quora.com&#x2F;What-is-WhatsApps-server-architecture</a>