<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><p style="margin: 0px; font-size: 12px; font-family: Helvetica;"><span style="font-size: 12pt;">Hello everyone!</span></p>
<p style="margin: 0px; font-size: 12px; font-family: Helvetica; min-height: 13.8px;"><span style="font-size: 12pt;"></span><br></p>
<p style="margin: 0px; font-size: 12px; font-family: Helvetica;"><span style="font-size: 12pt;">I am currently trying to write a massively concurrent web application</span></p>
<p style="margin: 0px; font-size: 12px; font-family: Helvetica;"><span style="font-size: 12pt;">using Nginx and a message-based approach. Basically, what I intend to</span></p>
<p style="margin: 0px; font-size: 12px; font-family: Helvetica;"><span style="font-size: 12pt;">do is the following:</span></p>
<p style="margin: 0px; font-size: 12px; font-family: Helvetica;"><span style="font-size: 12pt;"> - let Nginx receive the HTTP request, parse it and extract info</span></p>
<p style="margin: 0px; font-size: 12px; font-family: Helvetica;"><span style="font-size: 12pt;"> - pass this info to a Message queue</span></p>
<p style="margin: 0px; font-size: 12px; font-family: Helvetica;"><span style="font-size: 12pt;"> - let a backend consume the message queue and send the response to</span></p>
<p style="margin: 0px; font-size: 12px; font-family: Helvetica;"><span style="font-size: 12pt;">the message queue</span></p>
<p style="margin: 0px; font-size: 12px; font-family: Helvetica;"><span style="font-size: 12pt;"> - let Nginx receive the response asynchronously and send it to the client.</span></p>
<p style="margin: 0px; font-size: 12px; font-family: Helvetica; min-height: 13.8px;"><span style="font-size: 12pt;"></span><br></p>
<p style="margin: 0px; font-size: 12px; font-family: Helvetica;"><span style="font-size: 12pt;">I intend to use ZeroMQ with a push/pull approach, though I'm not sure</span></p>
<p style="margin: 0px; font-size: 12px; font-family: Helvetica;"><span style="font-size: 12pt;">this is the right thing to do.</span></p>
<p style="margin: 0px; font-size: 12px; font-family: Helvetica; min-height: 13.8px;"><span style="font-size: 12pt;"></span><br></p>
<p style="margin: 0px; font-size: 12px; font-family: Helvetica;"><span style="font-size: 12pt;">Do you have any thoughts on this? How would you proceed?</span></p>
<p style="margin: 0px; font-size: 12px; font-family: Helvetica; min-height: 13.8px;"><span style="font-size: 12pt;"></span><br></p>
<p style="margin: 0px; font-size: 12px; font-family: Helvetica;"><span style="font-size: 12pt;">Thanks!</span></p></body></html>