This is in contrast to today's more common concurrency model where OS threads are employed.
Thread-based networking is relatively inefficient and very difficult to use.
Furthermore, users of Node are free from worries of dead-locking the process, since there are no locks.
Almost no function in Node directly performs I/O, so the process never blocks.
Because nothing blocks, scalable systems are very reasonable to develop in Node.
Node is similar in design to, and influenced by, systems like Ruby's Event Machine or Python's Twisted.
Node takes the event model a bit further.
It presents an event loop as a runtime construct instead of as a library.
In other systems there is always a blocking call to start the event-loop.
Typically behavior is defined through callbacks at the beginning of a script and at the end starts a server through a blocking call like EventMachine::run().
In Node there is no such start-the-event-loop call.
Node simply enters the event loop after executing the input script. Node exits the event loop when there are no more callbacks to perform.
HTTP is a first class citizen in Node, designed with streaming and low latency in mind.
This makes Node well suited for the foundation of a web library or framework.
Just because Node is designed without threads, doesn't mean you cannot take advantage of multiple cores in your environment.
Child processes can be spawned by using the child_process.fork() API, and are designed to be easy to communicate with.
Built upon that same interface is the cluster module, which allows you to share sockets between processes to enable load balancing over your cores.
Since founding Gunner Technology, Cody has served the company in every aspect of business development and product development.
From a contractor to a partner, Dary has been with Gunner since year 1 and embodies the meritocratic spirit and philosophy of Gunner Technology.
VP / Engineering
Mahdi joined Gunner at age 18 and quickly rose through the ranks to become VP of Engineering
From Sensors and Big Data to Media Queries and Form Validation, Elena has worked on pretty much anything you can imagine.
Skyla is Gunner's go-to engineer when it comes to evaluating new tech. She loves evaluating bleeding edge software and teaching her colleagues what she learns.
Kayden holds the Gunner Technology record for most straight hours worked at just under 70. He refuses to quit until the job is done and it's done right.
When the headphones go on, you know Manuel is focused and writing code. And his headphones are always on.
Yusuf has the memory of an elephant. He is the team's built-in Google and Stack Overflow.
In her own words, Caitlin is a Jill of All Trades - eager to learn and always ready to help.
DevOps Engineer II
Ethan has a mind for infrastructure and a knack for visualizing platform solutions
As the youngest member of the team, Brenden earned the nickname of Young Hybrid for his proficient in both development and design.
DevOps Engineer I
Nicolas' goal is to learn everything. A voracious reader, the only time his nose isn't in a tech book is when he's scripting a new infrastructure.
Open source is a philosophy that promotes the free access and distribution of an end product, usually software or a program.