How to Install lsyncd on Ubuntu 20.04 LTS

Reading Time: 4 minutes

What is lsyncd?

lsyncd is a rsync-based tool that monitors specified directories (including subdirectories) for updates and modifications, and then syncs those changes to a specified destination. It is a lightweight command application that is easy to install and configure using the popular Lua language.

It’s extremely useful in tracking data modification within a configured directory, and if changes are seen, it syncs the data between the directories which are frequently updated with new contents. By default, it is rsync only.

Continue reading “How to Install lsyncd on Ubuntu 20.04 LTS”

What is a Service Mesh?

Reading Time: 5 minutes
servicemesh
Continue reading “What is a Service Mesh?”

How to install Envoy Proxy on Ubuntu 18

Reading Time: 5 minutes

Today we will demonstrate how to install Envoy Proxy on Ubuntu. 

Envoy is a high performance C++ distributed proxy designed for single services and applications, as well as a communication bus and “universal data plane” designed for large microservice “service mesh” architectures. Built on the learnings of solutions such as NGINX, HAProxy, hardware load balancers, and cloud load balancers, Envoy runs alongside every application and abstracts the network by providing common features in a platform-agnostic manner.

envoyproxy.io/

Continue reading “How to install Envoy Proxy on Ubuntu 18”

How to Sync Two CentOS 8 Servers Using File Replication

Reading Time: 8 minutes

Introduction

All online businesses need to account for growth. As a business receives more visitors to its site, the underlying infrastructure needs to scale to provide the same level of performance that the visitors are accustomed to. Horizontal scaling, the addition of more servers rather than increasing the power of the existing servers, is an easy way to build our web servers’ ability to handle a more significant amount of traffic and protect us against hardware failure. Ensuring that the additional web servers have the same files and data is a potentially time-consuming and challenging task. Automating that task using free, open-source software, such as lsyncd, is a way to ensure that we have a safe, secure, and repeatable method of copying files from one server to another.

Continue reading “How to Sync Two CentOS 8 Servers Using File Replication”

How To Sync Two Apache Web Servers

Reading Time: 8 minutes

Load balancing and replicating multiple servers has a great array of benefits, though orchestrating and keeping them in sync can be very tricky. Here, we will walk through some of the load balancing options available, as well as setting up a very basic one-way replication sync between two or more servers behind a load balancer.

Continue reading “How To Sync Two Apache Web Servers”

Load Balancing Techniques and Optimizations

Reading Time: 8 minutes

The hosting world’s bread & butter solution for providing high availability and redundancy is load balancing. There are many different use cases for a Load Balancer (LB). It is important to know how to effectively manage your LB configuration so that it performs optimally in your environment.  The proceeding article will review some of the common practices that, when adhered to, provide a smooth and seamless high availability website/application through the use of load balancing.

Continue reading “Load Balancing Techniques and Optimizations”

Service Mesh Defined: A Simple Overview

Reading Time: < 1 minute

What is a Service Mesh?

A service mesh is a layer of communication and control between applications or microservices and the network stack they typically communicate over. This layer controls communication and helps microservices share data. This service-to-service interaction is governed by logic built into the service mesh layer. Simply put, microservices are small or partial applications, or individual functions, and the network stack is the physical networking layer.

How is a Service Mesh Achieved?

Typically, a service mesh is implemented via sidecars. These sidecars are usually attached to every microservice on your network. The service mesh abstracts communication between microservices into these sidecars and the sidecars communicate with one another in a mesh topology.

Because most modern apps are now smaller than their predecessors, they have shrunken the communication logic written into each app, microservice, function, etc. With one or two microservices, or maybe even a dozen, the communication logic generally isn’t difficult to deal with. At scale, or when you have hundreds of such apps, a service mesh can be thought of as ‘required’.

So, a service mesh consists of the following components:

  • A communication layer of control between apps or microservices
  • The network stack they typically communicate over
  • Abstracts communication and implements ‘sidecars’ with every microservice

How To: Create a Cloud Load Balancer

Reading Time: 2 minutesIn the past, load balanced setups have required dedicated networking equipment, which takes time and expertise to set up correctly. Liquid Web’s Cloud Load Balancer makes setup and configuration of a load balancer as easy as filling out a web form. Continue reading “How To: Create a Cloud Load Balancer”

Understanding Load Balancing for Web Servers

Reading Time: 3 minutes

Load balancing is the distribution of a workload across many nodes. In the web hosting industry, it is typically used for balancing HTTP traffic over multiple servers acting together as a web front-end. For the sake of this article, we will focus on the balancing of HTTP and HTTPS traffic through a Zeus Load Balancer.

Continue reading “Understanding Load Balancing for Web Servers”