<div dir="ltr">Thanks Loic Hoguin, some where on the internet I found benchmark data. Cowboy had better data against its other Erlang counterparts.<div><br></div><div>Since we are on a very tight timeline, would you recommend it for production with very high user traffic?</div><div><br></div><div>Regards,</div><div>Theepan</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 16, 2015 at 12:58 AM, Loïc Hoguin <span dir="ltr"><<a href="mailto:essen@ninenines.eu" target="_blank">essen@ninenines.eu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Cowboy with the cowboy_cors project that was linked to you fits all these requirements.<span class=""><br>
<br>
On 07/15/2015 09:25 PM, Kannan wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
Thanks for all the responses team. Just to put my requirements clear -<br>
<br>
* File upload/download<br>
* CORS - Better if this support can be configured.<br>
* Websockets<br>
* Dynamic web application<br>
* Performance<br>
* Embedding<br>
<br>
Which is the best? Cowboy/Yaws/Mochiweb<br>
<br>
<br>
On Thu, Jul 16, 2015 at 12:21 AM, Loïc Hoguin <<a href="mailto:essen@ninenines.eu" target="_blank">essen@ninenines.eu</a><br></span><div><div class="h5">
<mailto:<a href="mailto:essen@ninenines.eu" target="_blank">essen@ninenines.eu</a>>> wrote:<br>
<br>
  Â  They have different goals and states.<br>
<br>
  Â  Cowboy is young and still sees fairly large changes (in part to<br>
  Â  accomodate to newer protocols like HTTP/2 or Websocket compression,<br>
  Â  and in part because there are still usability issues). However from<br>
  Â  version 2 onward changes should be minimal for a while.<br>
<br>
  Â  Cowboy aims to support the core protocols for Web development, and<br>
  Â  nothing more. This means HTTP 1 and 2, SPDY, Websocket, and so on.<br>
  Â  It also includes a REST machine (adapted from Webmachine). The main<br>
  Â  focus is on REST and Websocket first.<br>
<br>
  Â  It does not include anything related to formats like JSON or HTML,<br>
  Â  enterprise protocols like RPC/SOAP/.. or anything related to XML, or<br>
  Â  Flash and so on.<br>
<br>
  Â  There's a constant effort on keeping things small and tidy, and<br>
  Â  providing functionality that covers 99% of users. The changes are<br>
  Â  user driven, with unused features happily removed while new features<br>
  Â  get added after detecting patterns in the many user questions I<br>
  Â  receive (but only if they are in the scope, of course).<br>
<br>
  Â  Hope that helps.<br>
<br>
  Â  On 07/15/2015 08:04 PM, Kannan wrote:<br>
<br>
  Â  Â  Â  Which one is the best? Yaws or Cowboy? I could not find any<br>
  Â  Â  Â  comparison<br>
  Â  Â  Â  matrix on the internet.<br>
<br>
  Â  Â  Â  Thanks,<br>
  Â  Â  Â  Theepan<br>
<br>
  Â  Â  Â  On Wed, Jul 15, 2015 at 4:52 AM, Dmitry Belyaev<br>
  Â  Â  Â  <<a href="mailto:be.dmitry@gmail.com" target="_blank">be.dmitry@gmail.com</a> <mailto:<a href="mailto:be.dmitry@gmail.com" target="_blank">be.dmitry@gmail.com</a>><br></div></div><span class="">
  Â  Â  Â  <mailto:<a href="mailto:be.dmitry@gmail.com" target="_blank">be.dmitry@gmail.com</a> <mailto:<a href="mailto:be.dmitry@gmail.com" target="_blank">be.dmitry@gmail.com</a>>>> wrote:<br>
<br>
  Â  Â  Â  Â  Â  Â Not out of the box. There is<br>
  Â  Â  Â  <a href="https://github.com/danielwhite/cowboy_cors" rel="noreferrer" target="_blank">https://github.com/danielwhite/cowboy_cors</a> to do it.<br>
  Â  Â  Â  Â  Â  Â --<br>
  Â  Â  Â  Â  Â  Â Best wishes,<br>
  Â  Â  Â  Â  Â  Â Dmitry Belyaev<br>
<br>
  Â  Â  Â  Â  Â  Â On 15 July 2015 7:25:40 AM AEST, Radoslaw Gruchalski<br>
  Â  Â  Â  Â  Â  Â <<a href="mailto:radek@gruchalski.com" target="_blank">radek@gruchalski.com</a> <mailto:<a href="mailto:radek@gruchalski.com" target="_blank">radek@gruchalski.com</a>><br></span><span class="">
  Â  Â  Â  <mailto:<a href="mailto:radek@gruchalski.com" target="_blank">radek@gruchalski.com</a> <mailto:<a href="mailto:radek@gruchalski.com" target="_blank">radek@gruchalski.com</a>>>> wrote:<br>
<br>
  Â  Â  Â  Â  Â  Â  Â  Â CORS is all based on headers. Cowboy can definitely do it.<br>
<br>
  Â  Â  Â  Â  Â  Â  Â  Â Sent from Outlook <<a href="http://taps.io/outlookmobile" rel="noreferrer" target="_blank">http://taps.io/outlookmobile</a>><br>
<br>
<br>
<br>
<br>
  Â  Â  Â  Â  Â  Â  Â  Â On Tue, Jul 14, 2015 at 1:58 PM -0700, "Kannan"<br>
  Â  Â  Â  Â  Â  Â  Â  Â <<a href="mailto:vasdeveloper@gmail.com" target="_blank">vasdeveloper@gmail.com</a> <mailto:<a href="mailto:vasdeveloper@gmail.com" target="_blank">vasdeveloper@gmail.com</a>><br></span>
  Â  Â  Â  <mailto:<a href="mailto:vasdeveloper@gmail.com" target="_blank">vasdeveloper@gmail.com</a> <mailto:<a href="mailto:vasdeveloper@gmail.com" target="_blank">vasdeveloper@gmail.com</a>>>><span class=""><br>
  Â  Â  Â  wrote:<br>
<br>
  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â Hi Team,<br>
<br>
  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â Is there a Erlang HTTP server, including Yaws, that<br>
  Â  Â  Â  supports<br>
  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â CORS by configuration?<br>
<br>
  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â Regards,<br>
  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â Theepan<br>
<br>
<br>
  Â  Â  Â  ------------------------------------------------------------------------<br>
<br>
  Â  Â  Â  Â  Â  Â  Â  Â erlang-questions mailing list<br>
  Â  Â  Â  <a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
  Â  Â  Â  <mailto:<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a>><br></span>
  Â  Â  Â  <mailto:<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><span class=""><br>
  Â  Â  Â  <mailto:<a href="mailto:erlang-questions@erlang.org" target="_blank">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>
<br>
<br>
<br>
  Â  Â  Â  _______________________________________________<br>
  Â  Â  Â  erlang-questions mailing list<br></span>
  Â  Â  Â  <a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a> <mailto:<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a>><span class=""><br>
  Â  Â  Â  <a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br>
<br>
  Â  --<br>
  Â  Loïc Hoguin<br>
  Â  <a href="http://ninenines.eu" rel="noreferrer" target="_blank">http://ninenines.eu</a><br>
  Â  Author of The Erlanger Playbook,<br>
  Â  A book about software development using Erlang<br>
<br>
<br>
</span></blockquote><div class="HOEnZb"><div class="h5">
<br>
-- <br>
Loïc Hoguin<br>
<a href="http://ninenines.eu" rel="noreferrer" target="_blank">http://ninenines.eu</a><br>
Author of The Erlanger Playbook,<br>
A book about software development using Erlang<br>
</div></div></blockquote></div><br></div>