Request concurrency when hosted in ASP.NET Core

Hi,
I need to improve performance for request concurrency for services hosted in ASP.NET core by using AppHostBase. We discovering poor performance after enabling integrated logging with asp.net core and our custom logger that write on a service in the same host.

Ok probably we could move the log service in another host or write log directly without using a service but, what’s happen for other services?

Any suggestions?

Have a look at our approach for CsvRequestLogger, where we keep logs in memory and have a timer where we flush to disk every 1s.

Thanks. I’ve read it. Not sure could resolve the issues but I’ll try to implement a similar approach. I let you know.

Implemented. It works fine for now. Thanks for your support

1 Like