Home
Node.js

Node.js

Node.js is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications

As an asynchronous event driven JavaScript runtime, Node is designed to build scalable network applications.

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.

This behavior is like browser JavaScript — the event loop is hidden from the user.

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.

Other Companies Using Node.js

TwitterUberReddit Long Logo9GAGAsanaHotel TonightLinkedInebay

Employees

[object Object]

Cody Swann

Since founding Gunner Technology, Cody has served the company in every aspect of business development and product development.

[object Object]

Dary Merckens

From a contractor to a partner, Dary has been with Gunner since year 1 and embodies the meritocratic spirit and philosophy of Gunner Technology.

[object Object]

Mahdi Huessein

Mahdi joined Gunner at age 18 and quickly rose through the ranks to become VP of Engineering

[object Object]

Elena Villanueva

From Sensors and Big Data to Media Queries and Form Validation, Elena has worked on pretty much anything you can imagine.

[object Object]

Skyla Frye

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.

[object Object]

Kayden Chan

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.

[object Object]

Manuel Orozco

When the headphones go on, you know Manuel is focused and writing code. And his headphones are always on.

[object Object]

Yusuf Hendricks

Yusuf has the memory of an elephant. He is the team's built-in Google and Stack Overflow.

[object Object]

Caitlin Walton

In her own words, Caitlin is a Jill of All Trades - eager to learn and always ready to help.

[object Object]

Ethan Sloan

Ethan has a mind for infrastructure and a knack for visualizing platform solutions

[object Object]

Brenden Lam

As the youngest member of the team, Brenden earned the nickname of Young Hybrid for his proficient in both development and design.

[object Object]

Nicolas Henderson

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.

Projects

References

Related Terms

  • Open Source

    Open source is a philosophy that promotes the free access and distribution of an end product, usually software or a program.