Tag: WebSocket

Powering Microservices and Sockets Using NGINX and Kubernetes

This post is adapted from a presentation delivered at nginx.conf 2016 by Lee Calcote of SolarWinds. You can view a recording of the complete presentation on YouTube. Table of Contents Introduction 1:56 Our App 2:39 Case Study 3:31 Our Bloat-a-Lith 5:30 The Challenge 7:21 Shaping Up the App 9:33 Benefits of Microservices 10:50 Kubernetes and NGINX…

Continue reading ›

Load Balancing Node.js Application Servers with NGINX and NGINX Plus

NGINX has created a complete Deployment Guide for using NGINX and NGINX Plus to load balance HTTP and HTTPS traffic across pools of Node.js® application servers. Node.js is an open source, cross‑platform JavaScript runtime environment. It provides an agile‑savvy, module‑driven, scalable approach to the design, development, and deployment of applications. This guide to Node.js load balancing…

Continue reading ›

5 Performance Tips for Node.js Applications

[blockquote author='Bryan Hughes on Twitter']If #nginx isn’t sitting in front of your node server, you’re probably doing it wrong. Node.js is the leading tool for creating server applications in JavaScript, the world’s most popular programming language. Offering the functionality of both a web server and an application server, Node.js is now considered a key tool…

Continue reading ›

NGINX Plus and Google Load Balancers on the Google Cloud Platform

[ngx_snippet name='table-style-blog'] [Editor – This post has been updated to refer to the NGINX Plus API, which replaces and deprecates the separate dynamic configuration module mentioned in the original version of the post. For step‑by‑step instructions on deploying a highly available NGINX Plus load‑balancing configuration on GCE, see our deployment guide, All-Active HA for NGINX Plus on…

Continue reading ›

NGINX Plus and Amazon Elastic Load Balancing on AWS

[ngx_snippet name='table-style-blog'] Customers using Amazon Web Services (AWS) often ask us whether to use NGINX Plus or Amazon Elastic Load Balancing (ELB) for application load balancing. Amazon has published a whitepaper that describes how to set up NGINX Plus on AWS. This post focuses on the factors to consider as you choose between NGINX Plus and ELB, as…

Continue reading ›

Using NGINX and NGINX Plus with Node.js and Socket.IO, the WebSocket API

In this post we'll talk about using NGINX and NGINX Plus with Node.js and Socket.IO. Our post about building real‑time web applications with WebSocket and NGINX has been quite popular, so in this post we'll continue with documentation and best practices using Socket.IO. Why Use NGINX with Node.js and Socket.IO? Socket.IO is a WebSocket API that's…

Continue reading ›

Real-Time Web Applications with WebSocket and NGINX

In the blog post NGINX as a WebSocket Proxy we discussed using NGINX to proxy WebSocket application servers. In this post we will discuss some of the architecture and infrastructure issues to consider when creating real-time applications with WebSocket, including the components you need and how you can structure your systems.

Continue reading ›

NGINX WebSocket Performance

We recently tested the scalability of NGINX for load balancing WebSocket connections. Even with 50,000 active WebSocket connections, NGINX required less than 1 Gb memory and less than 1 core of CPU capacity, and when loaded up with very busy connections, memory usage was stable and increased more slowly than message size. Performance in your environment will depend on the nature of your application, but the results of these tests can provide some indication of the amount of resources you can expect NGINX to use.  

Continue reading ›

NGINX as a WebSocket Proxy

The WebSocket protocol provides a way of creating web applications that support real‑time bidirectional communication between clients and servers. Part of HTML5, WebSocket makes it much easier to develop these types of applications than the methods previously available. Most modern browsers support WebSocket including Chrome, Firefox, Internet Explorer, Opera, and Safari, and more and more…

Continue reading ›


Download a 30 day free trial and see what you've been missing.

We'll take care of your data.


Got a question for the NGINX team?

< back


No More Tags to display