What is the powerful Back-End Language
Why I prefer this
- Good interaction with the browser
A common task for a web server can be to open a file on the server and return the content to the client. Here is how PHP or ASP handles a file request Sends the task to the computer's file system. Waits while the file system opens and reads the file. Returns the content to the client. Ready to handle the next request.
Here is how Node.js handles a file request Sends the task to the computer's file system. Ready to handle the next request. When the file system has opened and read the file, the server returns the content to the client.
Node.js eliminates the waiting and simply continues with the next request.
Node.js runs single-threaded, non-blocking, asynchronously programming, which is very memory efficient.
This post is deleted!
Node Js is awesome.
dev_lak last edited by
@dev_lak :+1: :ok_hand:
node.js is good
the_inspired_dev last edited by
You can't say that one language is better than another. It depends on the situation.
Two of the most argued about aspects of Node.js programming are its insufficiency with heavy computations and the so-called “callback hell”.
At the same time, Node.js is a single-threaded environment, which is often considered a serious drawback of the technology. Indeed, in some cases, a CPU-bound task (number crunching, various calculations) can block the event loop resulting in seconds of delay for all Node.js website users.
This represents a serious issue. That is why, to avoid it, it is recommended not to use Node.js with computation-heavy systems.
Right here you faild your point.
In other hand you can use microservice architecture to avoid such things(but it is not a complete solution) but it better to use CPU intensive language. You can use other languages like Go, Rust, phyton as a microservice to overcome this situation.
Next biggest problem is finding the best solution for your problem. Since npm is open software, there are lots of crappy packages out there. Most of them didn't tested. Also lack of documentation and unsolved issues. (This may or maynot a problem for some ppl)
asp core is 18 times faster than node.js
u can use the async await feature in c# to make asynchronus calls
** please note the programing laguage is user preference, do select what is best for the application u start
How about the opensource packages ?
open source packages will be helpfull depending on ur need.
if u r refereing to open source packages for server side programing, then Dot NEt core is open source
Node js and PHP has huge community, i want to know what about opensource community in ASP.core
@root , here are few links for u to learn what is asp core
community is not a problem brother,u have answers for allmost all problems faced with asp core on the internet
@root , unlike the dotnet frame work which is not open source, dot net core is THE new framework for web development which is open source and u have the github community for it
akmal last edited by akmal
@root its true that Node.js & PHP has a huge community bro, but you have to consider about ASP core itself is a new framework so the community is small still core delivers more features than php and nodejs and it's proven that ASPcore is 18 times faster than node.js.
@root totally agreed with root
okay, i'll check that, but why are you going to move totally new env ?
@root , asp core was introduced in 2015 and its ranked higher than php or node
check here, the benchmark https://www.techempower.com/benchmarks/#section=data-r16&hw=ph&test=fortune, aspcore is 7th place, and node is at 86th place
but PHP introduced in 1994, NODE JS introduced in 2009, in the web 80% websites and systems developed by using PHP. even facebook web client is developed by using php.
web apps are all about speed, asp core is 18times faster thaan node and much more faster than php.