Is self-esteem suitable for small web projects in both Nancy and ServiceStack?

Both Nancy and ServiceStack are self-hosting. I want to use one of these frameworks to create a web service with Linux and Mono. I expect several concurrent connections. Unfortunately, Mono has memory leaks in the ASP.NET implementation, and the only choice for me is self-service. But I'm afraid of a small (possibly) potential for maintaining parallel connections. Should I rely on their hosting implementation?

+4
source share
2 answers

I'm not sure what memory leaks you are talking about - there are many people using the Mono / Asp.net combination in production, and I'm sure they would notice if it were broken.

In any case, I cannot speak for ServiceStack, but there are no problems with concurrent connections to the Nancy host itself. I would recommend you put it behind nginx, which will do a great job of managing static content and will control the service using a supervisor.

Here's more info on setting up this wiki:

https://github.com/NancyFx/Nancy/wiki/Hosting-Nancy-with-Nginx-on-Ubuntu

+7
source

Not sure which memory leaks you have in mind, since there are many Mono / ASP.NET sites that are in production, for example. servicestack.net own site runs on Linux, and all ASP.NET demos run on Nginx / MonoFastCGI.

In any case, just like NancyFx, ServiceStack is also a good option, http://razor-console.servicestack.net is an example of launching your own website working behind the nginx reverse proxy server. Here are some links to run ServiceStack on Mono / Linux:

+6
source

All Articles