[Mono-list] recommended http server

Chris Ochs chris at ochsnet.com
Tue May 20 18:08:43 UTC 2014

I'll have to take a look at the .net zeromq implementation.   In the past
my experiences using zeromq were not that great, although most of that was
due to how the C/C++ libraries did error handling.  On the java side I'm
using Akka which has built in support for zeromq. So if the .net version
works well, that might be a good alternative.

On Tue, May 20, 2014 at 10:08 AM, David Curylo <curylod at asme.org> wrote:

> You can use the HttpListener (
> http://msdn.microsoft.com/en-us/library/vstudio/system.net.httplistener)
> directly since you really aren’t trying to run any sort of web server.  If
> you need a nice REST HTTP application server, ServiceStack is very nice,
> but I think you just want a low level integration layer, and it’s overkill
> for that.  It sounds like you are stuffing a message in HTTP because it’s a
> common protocol.  I recommend considering ZeroMQ instead of HTTP for this
> sort of integration, particularly since you are already encapsulating your
> data in a message.
> Pure Java implementation: https://github.com/zeromq/jeromq
> Pure .NET/mono implementation: https://github.com/zeromq/netmq
> On May 20, 2014, at 12:08 AM, Chris Ochs <chris at ochsnet.com> wrote:
> > The use case is to bridge our JVM app with C# code that we need to also
> run.  We would be making http posts containing a protocol buffer message,
> and returning the same.
> >
> > At first I tried looking for solutions written entirely in C#, but that
> turned out to be a dead end.  The only ones I found that were actively
> maintained had performance issues under load.
> >
> > I was about to try out Nginx with fastcgi, but thought I'd post here
> before going down another rabbit hole.
> >
> > FYI I did try embedding.  The problem was that we did run into some
> issues under load that could have been mono or my code.  In either case
> though it takes a lot of time to debug, and I am not confident that it
> would not just be the first of several.  So I finally concluded that
> embedding one vm into another is probably just asking for more trouble then
> I have the time to deal with.
> > _______________________________________________
> > Mono-list maillist  -  Mono-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20140520/46f0e7b3/attachment.html>

More information about the Mono-list mailing list