In running a business, having a strong, reliable system is essential for daily
operations. There are several factors to consider when choosing tools, technologies, and
other resources during the system’s development to ensure an efficient, error-free process
that won’t affect the data that you need for processing orders and generating reports.
The article compared HTTP server performance between NodeJS and Go, evaluating
the number of concurrent requests per second. They decided to compare programming
languages with virtual machines, and the system was tested with 100 and 500 concurrent
users. Between the two, Go has an over 18% in 100 and a 34% increase in 500 compared
with NodeJS (Sunavec, 2022). This means there is a difference in response times when users
are simultaneously using the system. Go is better for systems that need a high-performance
server, and for systems with concurrent requests, while NodeJS is better for normal websites
and real-time applications since it is easy to use.
Based on the question, if it typically handles a limited number of concurrent requests,
I preferred to use NodeJS as an HTTP server. I would assume the system does not need a
high-performance server since it is just a small-to-medium application and performs faster
at launch.
Overall, choosing the appropriate programming language depends on the
requirements, whether software or hardware, and the expected workload, as long as you
know where and when to use them. It is also important that you understand how your
business operates to accommodate users’ requests.
Reference:
Sunavec, J. (2022, January 22). HTTP server performance: NodeJS vs. Go. Better
Programming. [Link]
vs-go-397751e8d275