<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>