Last post Jun 21, 2016 07:51 PM by bruce (sqlwork.com)
Jun 21, 2016 06:25 PM|romeo407|LINK
Hello I have a question, I am using Asp.Net Core RC2 and using the postgres database therefore using Npgsql connections. I also used SQLConnections and seen that it is much more efficent. My question is that since Asp.Net core is using the same system as
Node.Js which is Libuv and kestrel wouldn't that be more efficient and use less server resources than traditional asp.net where a new thread is created for every request ? I am asking this because I am thinking of using MSSQL with Asp.net core since I think
I would be able to get more resources out of my server .
Jun 21, 2016 07:51 PM|bruce (sqlwork.com)|LINK
as long as you use the async version of sql/database requests, then kestrel scales more than classic. as kestrel performance relies on async operations, long blocking sync operation can lower performance.