Guest plexman Posted February 24, 2018 Share Posted February 24, 2018 AFAIK Emby Server on .NET Core uses kestrel http server, I've seen on the Microsoft documentation (just reading) of the kestrel server that it is posible to bind to an Unix socket to improve performance with reverse proxies such as Nginx. I'm wondering (I'm not a developer) if this is easy done or would be much nonsense effort to implement it. PHP-FPM for example uses a Unix socket with Nginx. Reference: https://docs.microsoft.com/en-us/aspnet/core/fundamentals/servers/kestrel?tabs=aspnetcore2x (Bind to an Unix socket) A good location to bind it would be /var/run Thanks team! Link to comment Share on other sites More sharing options...
Luke 37119 Posted February 24, 2018 Share Posted February 24, 2018 We actually are not using kestrel for now, we are using a home grown socket-based implementation. I read that in .net core 2.1 kestrel will be rewritten to move away from libuv and use sockets instead, and the code is actually very similar to what we're already doing, so I think we are doing it in the best possible way. Link to comment Share on other sites More sharing options...
Guest plexman Posted February 24, 2018 Share Posted February 24, 2018 Thanks a lot for the explanation. You are doing an amazing job, both with the software and support! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now