🌐
DEV Community
dev.to › rocklinda › benchmarking-csv-file-processing-golang-vs-nestjs-vs-php-vs-python-332e
Benchmarking CSV File Processing: Golang vs NestJS vs PHP vs Python - DEV Community
August 13, 2024 - Ease of Implementation: Golang provided the most straightforward implementation, while NestJS required more lines of code and complexity. Based on my findings, Golang offers the best performance speed and memory efficiency, making it an excellent ...
🌐
Medium
medium.com › deno-the-complete-reference › nestjs-vs-go-performance-comparison-for-jwt-verify-and-mysql-query-510221e6dea8
NestJS vs Go: Performance comparison for JWT verify and MySQL query | Tech Tonic
June 29, 2023 - This article compares NestJS & Go for this use-case. This is an interesting comparison because NestJS (which runs in Node.js) is interpreted, while Go compiles to machine code. Also, verifying JWT is a CPU intensive operation. The compiled language should be faster than interpreted one?
Discussions

Is there any reason to switch to golang? Node.js vs Golang for back-end development.
Golang pros: In Node.js it is difficult to utilize full CPU cores. You will have to use cluster module (which basically is different processes communicating with each other via IPC using shared port) or use worker_threads but then they serialize messages and cannot share objects like true threads so threading in Node is awkward this way. So if you have business logic in your code which is synchronous and have too many requests then the latency of Node servers will be higher than go equivalent due to lack of concurrency and even with concurrency an equivalent go code is faster than Node as its compiled to binary. Go being statically typed means you dont have to add type validations in run time as all your go interfaces will validate data from IO calls automatically whereas in Node you will need validation libraries to validate incoming requests data (like Yup, express-validator, class validators, AJV etc) and basically everywhere you would want a strong type check in Node. In Go you get all this builtin. Go has much stronger primitives especially numbers compared to Javascript. MEMORY LEAK. Nearly all projects I worked in last 8 years in Node in different companies had memory leaks especially when websocket was involved. And i have spent countless hours profiling those Node servers by taking heap snapshots and inspecting memory usage. Sometimes it was due to library itself (ex. Socket.io inflate/deflate incoming JSON) and other times were due to developers code because of how closure in JS works and how V8 garbage collector works with mark sweep etc. I am saying in NodeJS its very easy to write a code which can leak memory and a lot of third party libraries (even established ones like socket.io) can cause leak especially when sockets are involved and those are VERY difficult to debug. Node servers consume more memory compared to equivalent Go code. Extensive standard library compared to Node.js Node pros: Has TON of 3rd party libraries to get work done compared to Go. No meta framework in Go like laravel in php or Nest.js (or Adonis.js) in Node.js world. And somehow Go community is to hostile to those ideas. It means you will end up using standard library to solve same problems which Nest.js/laravel have already solved and your solution might not be robust. It becomes prevalent if you, in your Go code, add authentication, authorization, graphql, websocket middlewares etc. Go gets messy without any meta framework or lack of good 3rd party libraries compared Node.js as the same things are easy to solve/already solved in NodeJs Extending previous point, it also means it is harder to bootstrap and build web app compared to Go as its so faster to build products with Node. Typescript as a language is MUCH fun to work and syntax of TS/JS is significantly better than Golang. Google has a history of solving problems in awkward way and always reinventing wheel just to look cool. Ex. Weird for loops, EXTREMELY weird OOP, export functions with capital letter (bad code styling by starting functions with capital letters instead of marking them with export and easier to search what is exported), receiver function (seriously to solve a problem they created another), has pointers which most other high level languages dont have and devs like not having to deal with pointers, painful string interpolation, painful to add JSON functionality, lack of generics, function can return more than 1 value, PAINFUL error handling and lack of DRY code because of it etc. Overall Go is just NOT the fun language syntactically which is a shame. 5. Faster to bootstrap ideas and overall MUCH more fun to work with by a long shot compared to Golang and overall in general. 6. Has npm modules fir just about anything though quality can be debatable. So, verdict? Overall its a tuff call. The main attraction of golang is single binary executable, easy concurrency, high speed and big standard library but its a shame that the lack of meta frameworks/small ecosystem and especially weird/poor syntax really ruin it for me significantly. Whereas Node and TS/JS is so much fun to work with with a HUGE npm ecosystem using which developers can build products significantly faster but lack of good concurrency support means hitting limits on Node server with demanding features is easy and very hard to solve given JS is not built for concurrency and servers benefit from it. The only way out would be horizontally/vertical scaling and shelling out more $ compared to Golang. More on reddit.com
🌐 r/node
58
53
January 15, 2022
Clonar NestJS en Golang, ¿es una buena idea o la comunidad no lo usará?
Hola comunidad Go, últimamente he estado pensando en empezar un nuevo proyecto para clonar todo el framework NestJS con algunas mejoras y hacerlo con Golang para que la comunidad pueda usarlo, pero cuando lo pienso profundamente, me doy cuenta de que la filosofía de Go es algo contraria al ... More on reddit.com
🌐 r/golang
39
1
October 31, 2024
Golang vs NestJs response resolution
Does it really matter if golang is 10 ms faster? The db and calling other services will be the biggest slow downs. Regardless of language. Unless you have a specific provable usecase where golang is the superior choice due to performance, Id just pick whatever you like most. For me, that would be golang. More on reddit.com
🌐 r/golang
14
0
November 25, 2024
Golang vs FastAPI ?
It's marketing lingo for "development speed", not performance.Check their benchmarks page: https://fastapi.tiangolo.com/benchmarks/ It's very misleading tbh More on reddit.com
🌐 r/golang
14
4
April 17, 2022
People also ask

What is Golang?
Golang, commonly known as Go, is an open-source, statically-typed, multi-purpose programming language created by Google in 2007. It holds a combination of performance and security benefits of C/C++ and speed of Python. Go is a structural, strong, and effective way of handling concurrent programming and preferred for its good garbage collection handling, memory safety, and dynamic interfaces. Not strongly recommended for web development, Go works best for cloud-based interfaces, networking applications, real-time application development, and microservices.
🌐
intellectsoft.net
intellectsoft.net › home › nodejs vs. golang: what to choose for backend development?
Nodejs vs Go: Choosing the Best for Backend Development
NodeJS vs Golang – Which is the best?
Having made a thorough Node JS vs Golang comparison, it is overwhelming to declare one as a winner, as both have their strengths and weaknesses. From the performance perspective, Golang definitely wins, while Node.JS excels in simplicity, development tools, and richness of front-end development tools. However, when it comes to NodeJS vs Golang, your choice will depend solely on the project in question.
🌐
intellectsoft.net
intellectsoft.net › home › nodejs vs. golang: what to choose for backend development?
Nodejs vs Go: Choosing the Best for Backend Development
Golang vs Node: What makes them powerful?
Also called one of the most popular programming languages of today, Go secures top positions worldwide as it enables top-of-the-line productivity and use of multi-core power, while Node stands out among other backend development technologies as it comes with a complete environment equipped with all necessary development tools.
🌐
intellectsoft.net
intellectsoft.net › home › nodejs vs. golang: what to choose for backend development?
Nodejs vs Go: Choosing the Best for Backend Development
🌐
Medium
medium.com › deno-the-complete-reference › nestjs-cluster-vs-go-performance-comparison-for-jwt-verify-and-mysql-query-83438f42c486
NestJS Cluster vs Go: Performance comparison for JWT verify and MySQL query | Tech Tonic
September 4, 2023 - In addition to NestJS, we utilized: - nest-jwt for JWT verification and decoding, which serves as a convenient wrapper over the standard jsonwebtoken library. - mysql2 for executing MySQL queries, ensuring efficient database operations. ... - golang-jwt for JWT verification and decoding, enhancing the security of our application. - go-sql-driver for performing ...
🌐
Kinsta®
kinsta.com › home › resource center › blog › web development languages › node.js vs golang: which is best for your project?
Node.js vs Golang: Which Is Best for Your Project?
September 14, 2023 - This article will compare Node.js vs Golang and help you decide better by outlining the pros and cons of both. We’ll also mention the top companies and apps using them. Lastly, we’ll compare each language based on performance, scalability, error handling, availability of developers, and the average salary for each programming language.
🌐
DEV Community
dev.to › hamzakhan › battle-of-the-backend-go-vs-nodejs-vs-python-which-one-reigns-supreme-in-2024-56d4
🛠️ Battle of the Backend: Go vs Node.js vs Python – Which One Reigns Supreme in 2024? 🚀 - DEV Community
October 22, 2024 - In this post, we’ll take a deep dive into three of the most popular backend languages Go, Node.js, and Python and compare them in terms of performance, scalability, and ease of use. By the end of this post, you should have a better idea of which language best fits your next backend project. Ready to see how they stack up? Let's get into it! 🛠️ · Each of these languages has its own strengths and weaknesses, making them popular choices for various types of backend development. Here’s a quick overview: Go (Golang): A compiled language designed by Google for high concurrency and performance, often used in microservices and systems with heavy workloads.
🌐
Scalable Backend
blog.scalablebackend.com › performance-testing-a-real-world-back-end-nodejs-vs-go
Performance Testing a Real-World Back-End: NodeJS vs Go
June 5, 2025 - If I made some configuration mistake ... is one thing to remember for this exercise, it's that Go performs two to three times better with a handicap, compared to NodeJS....
Find elsewhere
🌐
Intellectsoft
intellectsoft.net › home › nodejs vs. golang: what to choose for backend development?
Nodejs vs Go: Choosing the Best for Backend Development
September 12, 2023 - On the other hand, statically-typed Node JS is a derivative of JavaScript and hence, it is generally slower than other programming languages. Unlike Golang, Node JS is unable to offer the raw performance of CPU or memory-bound tasks.
🌐
Talent500
talent500.com › blog › backend-2025-nodejs-python-go-java-comparison
Backend 2025: Node.js vs Python vs Go vs Java
December 19, 2025 - Mature frameworks such as Express.js for minimal, flexible APIs and NestJS for opinionated, enterprise-style architectures. ... Node.js is not the first choice for CPU-heavy workloads, although worker threads and external services can help. Error handling and observability require disciplined patterns to keep large codebases maintainable. Node.js is often the best fit for real-time apps, streaming, high-concurrency APIs, microservices architectures, and teams already proficient in JavaScript. Python continues to be one of the most versatile languages in backend development, stretching from classic web apps to data platforms and AI services.
🌐
DEV Community
dev.to › rocklinda › benchmarking-csv-file-processing-golang-vs-nestjs-vs-php-vs-python-332e › comments
[Discussion] Benchmarking CSV File Processing: Golang vs NestJS vs PHP vs Python — DEV Community
Using Polars with Python is more flexible and powerful for handling large datasets and performing complex data manipulation. While Golang is powerful, it isn't designed for working with datasets like data frames.
🌐
Reddit
reddit.com › r/node › is there any reason to switch to golang? node.js vs golang for back-end development.
r/node on Reddit: Is there any reason to switch to golang? Node.js vs Golang for back-end development.
January 15, 2022 -

Just want to know the community opinion: from what I see the key benefit of using node.js for back-end is the same language as front-end part. If I would like to work on back-end side only, would it better to switch to golang, let’s say, to do back-end only things, and don’t care about any front-end related stuff. Have node.js developers already considered as the real “back-end” guys? Or just an JavaScript front-end switchers 😀

Top answer
1 of 5
59
Golang pros: In Node.js it is difficult to utilize full CPU cores. You will have to use cluster module (which basically is different processes communicating with each other via IPC using shared port) or use worker_threads but then they serialize messages and cannot share objects like true threads so threading in Node is awkward this way. So if you have business logic in your code which is synchronous and have too many requests then the latency of Node servers will be higher than go equivalent due to lack of concurrency and even with concurrency an equivalent go code is faster than Node as its compiled to binary. Go being statically typed means you dont have to add type validations in run time as all your go interfaces will validate data from IO calls automatically whereas in Node you will need validation libraries to validate incoming requests data (like Yup, express-validator, class validators, AJV etc) and basically everywhere you would want a strong type check in Node. In Go you get all this builtin. Go has much stronger primitives especially numbers compared to Javascript. MEMORY LEAK. Nearly all projects I worked in last 8 years in Node in different companies had memory leaks especially when websocket was involved. And i have spent countless hours profiling those Node servers by taking heap snapshots and inspecting memory usage. Sometimes it was due to library itself (ex. Socket.io inflate/deflate incoming JSON) and other times were due to developers code because of how closure in JS works and how V8 garbage collector works with mark sweep etc. I am saying in NodeJS its very easy to write a code which can leak memory and a lot of third party libraries (even established ones like socket.io) can cause leak especially when sockets are involved and those are VERY difficult to debug. Node servers consume more memory compared to equivalent Go code. Extensive standard library compared to Node.js Node pros: Has TON of 3rd party libraries to get work done compared to Go. No meta framework in Go like laravel in php or Nest.js (or Adonis.js) in Node.js world. And somehow Go community is to hostile to those ideas. It means you will end up using standard library to solve same problems which Nest.js/laravel have already solved and your solution might not be robust. It becomes prevalent if you, in your Go code, add authentication, authorization, graphql, websocket middlewares etc. Go gets messy without any meta framework or lack of good 3rd party libraries compared Node.js as the same things are easy to solve/already solved in NodeJs Extending previous point, it also means it is harder to bootstrap and build web app compared to Go as its so faster to build products with Node. Typescript as a language is MUCH fun to work and syntax of TS/JS is significantly better than Golang. Google has a history of solving problems in awkward way and always reinventing wheel just to look cool. Ex. Weird for loops, EXTREMELY weird OOP, export functions with capital letter (bad code styling by starting functions with capital letters instead of marking them with export and easier to search what is exported), receiver function (seriously to solve a problem they created another), has pointers which most other high level languages dont have and devs like not having to deal with pointers, painful string interpolation, painful to add JSON functionality, lack of generics, function can return more than 1 value, PAINFUL error handling and lack of DRY code because of it etc. Overall Go is just NOT the fun language syntactically which is a shame. 5. Faster to bootstrap ideas and overall MUCH more fun to work with by a long shot compared to Golang and overall in general. 6. Has npm modules fir just about anything though quality can be debatable. So, verdict? Overall its a tuff call. The main attraction of golang is single binary executable, easy concurrency, high speed and big standard library but its a shame that the lack of meta frameworks/small ecosystem and especially weird/poor syntax really ruin it for me significantly. Whereas Node and TS/JS is so much fun to work with with a HUGE npm ecosystem using which developers can build products significantly faster but lack of good concurrency support means hitting limits on Node server with demanding features is easy and very hard to solve given JS is not built for concurrency and servers benefit from it. The only way out would be horizontally/vertical scaling and shelling out more $ compared to Golang.
2 of 5
20
Node has a completely different API than browser JavaScript. A front end dev isn’t automatically good at Node because they know JS.
🌐
Medium
medium.com › deno-the-complete-reference › nestjs-vs-go-static-file-server-performance-comparison-a60bc390e530
NestJS vs Go: Static file server performance comparison | Tech Tonic
July 4, 2023 - I’m this article, I’m going to compare NestJS’s static file server on the Node side with Gin’s static file server on the Go side.
🌐
Themobilereality
themobilereality.com › blog › go-vs-node-js
GO vs Node JS : A Complete Comparison for CTOs
April 11, 2024 - On the other hand, Go, commonly called Golang, is a compiled single programming language meticulously crafted by Google. Designed to address the complexities of large-scale software web app development, Go blends high-level languages' simplicity and readability with the performance and low-level control typically related to popular programming languages.
🌐
DECODE
decode.agency › article › golang-vs-node
Golang vs Node.js: key differences | DECODE
April 15, 2024 - Garbage collection: While Golang’s garbage collection makes memory management easier, it can also introduce performance overhead in some cases. Limited GUI support: Golang’s GUI support is limited compared to other languages like Java or Python, which can make it more difficult to build desktop applications with complex user interfaces.
🌐
StackShare
stackshare.io › stackups › gin-gonic-vs-nestjs
Gin Gonic vs NestJS | What are the differences? | StackShare
It features a Martini-like API with much better performance. It is up to 40 times faster. NestJS - Nest is a framework for building efficient, scalable Node.js server-side applications.
🌐
Yalantis
yalantis.com › home › blog › node.js vs go: which is better for backend web development?
Node.js vs Go: which is better for backend web development?
January 7, 2026 - To help you choose best backend solution for you project wisely, we compare Go and Node.js in terms of performance, error handling, scalability, and tooling.
🌐
DEV Community
dev.to › hamzakhan › go-vs-nodejs-which-backend-powerhouse-will-dominate-in-2024-oe2
💡 Go vs Node.js: Which Backend Powerhouse Will Dominate in 2024? ⚡ - DEV Community
September 21, 2024 - Both languages have their strengths, and the decision should align with your project’s performance, scalability, and developer experience needs. ... Happy coding! ... Passionate software engineer specializing in web development, and CRM Development. Constantly learning and exploring new technologies to stay ahead. Let's code together! 🚀 ... NestJS vs.
🌐
GitHub
github.com › fastapi › fastapi › discussions › 7320
Very poor performance does not align with marketing · fastapi/fastapi · Discussion #7320
So if you are comparing FastAPI, say, to NodeJs, then the test should be done over a Web Application Framework as NestJS or similar. Same thing with Golang.
Author   fastapi
🌐
Medium
medium.com › @arif.rahman.rhm › comparing-web-frameworks-flask-fastapi-django-nestjs-express-js-db735f1c6eba
Comparing Web Frameworks: Flask, FastAPI, Django, NestJS, Express.js, Koa.js, ElysiaJS, HonoJS, Echo, Fiber, Gin, ASP.NET Core, and Spring Boot | by Arif Rahman | Medium
August 31, 2024 - JavaScript/TypeScript: Express.js is great for simplicity, NestJS for large, structured applications, and Koa.js or HonoJS for high-performance needs. Golang: Echo and Fiber are top choices for speed, with Gin being a solid all-rounder.
🌐
Keenethics
keenethics.com › blog › node.js vs. go
Node.js vs Golang: Which Is Best for Backend Development?
February 28, 2024 - While it may not match Golang’s raw performance in CPU-bound tasks, Node.js can deliver excellent speed for apps where responsiveness and handling multiple concurrent connections are crucial. Declaring Node.js as the unequivocal best backend language is subjective. Other backend languages and frameworks have their strengths, and the choice often depends on the project’s unique demands. Some notable alternatives include: Python (Django/Flask): Known for its readability and versatility, Python is a strong contender for backend development.