{"id":2448,"date":"2022-08-30T15:24:57","date_gmt":"2022-08-30T15:24:57","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/01\/12\/threads-websocket-nodejs-vs-asp-net-signalr-clarification-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:24:57","modified_gmt":"2022-08-30T15:24:57","slug":"threads-websocket-nodejs-vs-asp-net-signalr-clarification-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/threads-websocket-nodejs-vs-asp-net-signalr-clarification-collection-of-common-programming-errors\/","title":{"rendered":"Threads , [WebSocket &amp; nodejs] vs [asp.net &amp; signalR] clarification?-Collection of common programming errors"},"content":{"rendered":"<p>In a situation where a &#8212;<\/p>\n<ul>\n<li>Client connects to an asp.net (<em>which uses the signalR FW<\/em>) and upgrades the connection to a webSocket connection(tcp)<\/li>\n<\/ul>\n<p>or<\/p>\n<ul>\n<li>Client connects to a <code>Node.js<\/code> server (and also upgrades the connection)<\/li>\n<\/ul>\n<p>Question :<\/p>\n<p>If the server now wants to initiate message sending , does it <em>dedicate a new thread<\/em> to do it ? because if it does , I can&#8217;t see how <code>signalR<\/code>||<code>Node.js<\/code> is scalable because sending a message to a 100K users , can crash the system.<\/p>\n<p>or am I missing something \ud83d\ude42 ?<\/p>\n<p id=\"rop\"><small>Originally posted 2014-01-12 20:50:44. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>In a situation where a &#8212; Client connects to an asp.net (which uses the signalR FW) and upgrades the connection to a webSocket connection(tcp) or Client connects to a Node.js server (and also upgrades the connection) Question : If the server now wants to initiate message sending , does it dedicate a new thread to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2448","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2448","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=2448"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2448\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=2448"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=2448"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=2448"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}