Practical Load Balancing


Book Description

The emergence of the cloud and modern, fast corporate networks demands that you perform judicious balancing of computational loads. Practical Load Balancing presents an entire analytical framework to increase performance not just of one machine, but of your entire infrastructure. Practical Load Balancing starts by introducing key concepts and the tools you'll need to tackle your load-balancing issues. You'll travel through the IP layers and learn how they can create increased network traffic for you. You'll see how to account for persistence and state, and how you can judge the performance of scheduling algorithms. You'll then learn how to avoid performance degradation and any risk of the sudden disappearance of a service on a server. If you're concerned with running your load balancer for an entire network, you'll find out how to set up your network topography, and condense each topographical variety into recipes that will serve you in different situations. You'll also learn about individual servers, and load balancers that can perform cookie insertion or improve your SSL throughput. You'll also explore load balancing in the modern context of the cloud. While load balancers need to be configured for high availability once the conditions on the network have been created, modern load balancing has found its way into the cloud, where good balancing is vital for the very functioning of the cloud, and where IPv6 is becoming ever more important. You can read Practical Load Balancing from end to end or out of sequence, and indeed, if there are individual topics that interest you, you can pick up this book and work through it once you have read the first three chapters.




Server Load Balancing


Book Description

This book is a guide to the technology that is changing the way e- commerce sites, web infrastructures, and corporate networks are designed and implemented. Load balancing overcomes many of the scaling and flexibility obstacles that e-commerce sites and large corporate networks face today. "Server Load Balancing explains the concepts of load balancing and offers consistent terminology and practical guidance for planning and implementing it in most environments. It includes a configuration guide with diagrams and sample configurations for installing, configuring, and maintaining products from four major vendors: Alteon WebSystems, Cisco's CSS Series (formerly ArrowPoint), F5's BIG-IP, and the Foundry ServerIron series. By comparing several load balancing products, "Server Load Balancing enables a deeper understanding of the technology. No system administrator responsible for traffic management should be without this practical guide.




Load Balancing in Parallel Computers


Book Description

Load Balancing in Parallel Computers: Theory and Practice is about the essential software technique of load balancing in distributed memory message-passing parallel computers, also called multicomputers. Each processor has its own address space and has to communicate with other processors by message passing. In general, a direct, point-to-point interconnection network is used for the communications. Many commercial parallel computers are of this class, including the Intel Paragon, the Thinking Machine CM-5, and the IBM SP2. Load Balancing in Parallel Computers: Theory and Practice presents a comprehensive treatment of the subject using rigorous mathematical analyses and practical implementations. The focus is on nearest-neighbor load balancing methods in which every processor at every step is restricted to balancing its workload with its direct neighbours only. Nearest-neighbor methods are iterative in nature because a global balanced state can be reached through processors' successive local operations. Since nearest-neighbor methods have a relatively relaxed requirement for the spread of local load information across the system, they are flexible in terms of allowing one to control the balancing quality, effective for preserving communication locality, and can be easily scaled in parallel computers with a direct communication network. Load Balancing in Parallel Computers: Theory and Practice serves as an excellent reference source and may be used as a text for advanced courses on the subject.




Application Delivery and Load Balancing in Microsoft Azure


Book Description

With more and more companies moving on-premises applications to the cloud, software and cloud solution architects alike are busy investigating ways to improve load balancing, performance, security, and high availability for workloads. This practical book describes Microsoft Azure's load balancing options and explains how NGINX can contribute to a comprehensive solution. Cloud architects Derek DeJonghe and Arlan Nugara take you through the steps necessary to design a practical solution for your network. Software developers and technical managers will learn how these technologies have a direct impact on application development and architecture. While the examples are specific to Azure, these load balancing concepts and implementations also apply to cloud providers such as AWS, Google Cloud, DigitalOcean, and IBM Cloud. Understand application delivery and load balancing--and why they're important Explore Azure's managed load balancing options Learn how to run NGINX OSS and NGINX Plus on Azure Examine similarities and complementing features between Azure-managed solutions and NGINX Use Azure Front Door to define, manage, and monitor global routing for your web traffic Monitor application performance using Azure and NGINX tools and plug-ins Explore security choices using NGINX and Azure Firewall solutions




Load Balancing Servers, Firewalls, and Caches


Book Description

From an industry insider--a close look at high-performance,end-to-end switching solutions Load balancers are fast becoming an indispensable solution forhandling the huge traffic demands of the Web. Their ability tosolve a multitude of network and server bottlenecks in the Internetage ranges from dramatic improvements in server farm scalability toremoving the firewall as a network bottleneck. This book provides adetailed, up-to-date, technical discussion of this fast-growing,multibillion dollar market, covering the full spectrum oftopics--from server and firewall load balancing to transparentcache switching to global server load balancing. In the process,the author delivers insight into the way new technologies aredeployed in network infrastructure and how they work. Written by anindustry expert who hails from a leading Web switch vendor, thisbook will help network and server administrators improve thescalability, availability, manageability, and security of theirservers, firewalls, caches, and Web sites.




Practical AWS Networking


Book Description

Your one step guide to learn all about AWS networking. Key Features Master your networking skills on Public Cloud Gain hands-on experience of using Amazon VPC, Elastic Load Balancing, Direct Connect and other AWS products Implement troubleshooting skills and best practices for security on AWS network Book Description Amazon Web Services (AWS) dominates the public cloud market by a huge margin and continues to be the first choice for many organizations. Networking has been an area of focus for all the leading cloud service providers. AWS has a suite of network-related products which help in performing network related task on AWS. This book initially covers the basics of networking in AWS. Then we use AWS VPC to create an isolated virtual cloud for performing network-related tasks. We then provide an overview of AWS Direct Connect after taking a deep dive into scalability and load balancing using the auto scaling feature, Elastic Load Balancing, and Amazon Route S3. Toward the end of the book, we cover troubleshooting tips and security best practices for your network. By the end of this book, you will have hands-on experience of working with network tasks on AWS. What you will learn Overview of all networking services available in AWS Gain work with load balance applications across different regions Learn auto scale instances based on increases and decreases in traffic Deploy applications in a highly available and fault tolerant manner Configure Route 53 for a web application Troubleshooting tips and best practices Who this book is for This book is for cloud architects, cloud solution providers, or any stakeholders dealing with networking on AWS Cloud. A prior idea of Amazon Web Services will be an added advantage.




Load Balancing with HAProxy


Book Description

HAProxy is a free and open-source load balancer that enables IT professionals to distribute TCP-based traffic across many backend servers. In this book, the reader will learn how to configure and leverage HAProxy for tasks that include:* Setting up reverse proxies and load-balancing backend servers* Choosing the appropriate load-balancing algorithm * Matching requests against ACLs so that we can route them to the correct servers* Monitoring servers with health checks so that failure is detected early* Managing server persistence so that a client's can be directed to the server where their session data is stored* Configuring verbose logging for TCP and HTTP-based services* Enabling SSL encryption, gzip compression and geolocation* Modifying HTTP headers, rewriting URLs and setting up redirects* Defending against malicious Web activity* Controlling HAProxy from the command line* Adding a backup load balancer




NGINX Cookbook


Book Description

NGINX is one of the most widely used web servers available today, in part because of its capabilities as a load balancer and reverse proxy server for HTTP and other network protocols. This cookbook provides easy-to-follow examples to real-world problems in application delivery. The practical recipes will help you set up and use either the open source or commercial offering to solve problems in various use cases. For professionals who understand modern web architectures, such as n-tier or microservice designs, and common web protocols including TCP and HTTP, these recipes provide proven solutions for security, software load balancing, and monitoring and maintaining NGINX’s application delivery platform. You’ll also explore advanced features of both NGINX and NGINX Plus, the free and licensed versions of this server. You’ll find recipes for: High-performance load balancing with HTTP, TCP, and UDP Securing access through encrypted traffic, secure links, HTTP authentication subrequests, and more Deploying NGINX to Google Cloud, AWS, and Azure cloud computing services Setting up and configuring NGINX Controller Installing and configuring the NGINX Plus App Protect module Enabling WAF through Controller ADC




Site Reliability Engineering


Book Description

The overwhelming majority of a software system’s lifespan is spent in use, not in design or implementation. So, why does conventional wisdom insist that software engineers focus primarily on the design and development of large-scale computing systems? In this collection of essays and articles, key members of Google’s Site Reliability Team explain how and why their commitment to the entire lifecycle has enabled the company to successfully build, deploy, monitor, and maintain some of the largest software systems in the world. You’ll learn the principles and practices that enable Google engineers to make systems more scalable, reliable, and efficient—lessons directly applicable to your organization. This book is divided into four sections: Introduction—Learn what site reliability engineering is and why it differs from conventional IT industry practices Principles—Examine the patterns, behaviors, and areas of concern that influence the work of a site reliability engineer (SRE) Practices—Understand the theory and practice of an SRE’s day-to-day work: building and operating large distributed computing systems Management—Explore Google's best practices for training, communication, and meetings that your organization can use




Building RESTful Web Services with Go


Book Description

Explore the necessary concepts of REST API development by building few real world services from scratch. Key Features Follow best practices and explore techniques such as clustering and caching to achieve a reactive, scalable web service Leverage the Gin Framework to quickly implement RESTful endpoints Learn to implement a client library for a RESTful web service using Go Book Description REST is an architectural style that tackles the challenges of building scalable web services and in today's connected world, APIs have taken a central role on the web. APIs provide the fabric through which systems interact, and REST has become synonymous with APIs. The depth, breadth, and ease of use of Go, makes it a breeze for developers to work with it to build robust Web APIs. This book takes you through the design of RESTful web services and leverages a framework like Gin to implement these services. The book starts with a brief introduction to REST API development and how it transformed the modern web. You will learn how to handle routing and authentication of web services along with working with middleware for internal service. The book explains how to use Go frameworks to build RESTful web services and work with MongoDB to create REST API. You will learn how to integrate Postgres SQL and JSON with a Go web service and build a client library in Go for consuming REST API. You will learn how to scale APIs using the microservice architecture and deploy the REST APIs using Nginx as a proxy server. Finally you will learn how to metricize a REST API using an API Gateway. By the end of the book you will be proficient in building RESTful APIs in Go. What you will learn Create HTTP handler and introspect the Gorilla Mux router OAuth 2 implementation with Go Build RESTFul API with Gin Framework Create REST API with MongoDB and Go Build a working client library and unit test for REST API Debug, test, and profile RESTful APIs with each of the frameworks Optimize and scale REST API using microservices Who this book is for This book is intended for those who want to learn to build RESTful web services with a framework like Gin. To make best use of the code samples included in the book, you should have a basic knowledge of Go programming.