How do RethinkDB, Laravel, and Ratchet work together?
<h1>Situation</h1>

<p>Am trying to build a real-time chat toy app using the following technology stack</p>

<ul>
<li>RethinkDB</li>
<li>Laravel 5</li>
<li>Ratchet</li>
</ul>

<h1>What I perceive to be the conceptual situation</h1>

<p><a href="https://i.stack.imgur.com/dDdPg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dDdPg.png" alt="enter image description here"></a></p>

<p>The green arrows represent the real-time exchange of data.</p>

<p>The black arrows represent other non real-time requests and exchange of data.</p>

<h1>My question</h1>

<p>I was wondering if my understanding of the implementation of chat using the technology stack is correct based on the diagram?</p>

<p>if there are inaccuracies, what would they be?</p>