Using .NET / Mono on Linux to serve a large volume web service is a good idea?

We have a web service that provides a fairly large amount of traffic that will help you determine which of your preferred contacts are based on the emails you received.

This service was originally implemented in C # /. NET in order to use some code that we already run on Windows hosts. This service does not use ASP.NET, but it is a simple C # service using a basic HTTP listener from .NET.

The service works fine, but after a while MONO completely blocks and stops responding to any requests. Performance is fine, but not very good, and it’s seams that we spend a huge amount of time calculating the difference between CLO MONO and Windows CLR. I must admit, I come from the Java background, and it seems that the server-side ecosystem is much larger on the Java side than the MONO ecosystem on Linux.

So now I'm looking for examples and personal experience using Mono on Linux for a high-traffic web service server.

+7
c # linux mono
source share
2 answers

I don’t know if this will help solve your problems, but you can try running the mono 2.8 web service, which comes with a new garbage collector .

+3
source share

For high volume settings you often have to consider the following parts as a whole

  • operating system settings (specific to TCP / IP)
  • Web server level settings
  • Frame Level Settings (Mono-Specific)

As described in @ yojimbo87, using the latest Mono build can help bring performance out of the framework level. But you also need to learn about the OS and the web server to find out if there are other configuration approaches.

0
source share

All Articles