How to Create MongoDB Replication Clusters

Unlike relation database servers, scaling NoSQL databases to meet increased demand on your application is fairly simple – you drop in a new server, make a couple of config changes, and it connects to your existing servers, enlarging the cluster. All existing databases and collections are automatically replicated and synced with the other member nodes.

A replication cluster works well when the entire data volume of your database(s) is able to fit onto a single server. Each server in your replication cluster will host a full copy of your databases.

How to Create a MySQL Master Slave Cluster on Ubuntu 14

Improve application performance and availability by learning how to create a MySQL Master\Slave cluster on Ubuntu 14

Install and Configure MongoDB on Ubuntu 14

MongoDB is one of the most popular open source NoSQL database solutions available. Unlike relational databases that store rows of data, document oriented databases like this one store data as, you guessed it, documents. These types of databases are not constricted by rigid schemas. They also scale much easier and more efficiently than relational databases, meaning it is a lot easier to store once unthinkable amounts of application data.

MongoDB is able to achieve and maintain high performance – much greater than any relational database, such as Microsoft SQL – even while storing petabytes of data by offloading a lot of logic to your application. A relational database it is not, but this trade off gives are developers the flexibility they need to work with data in today’s high volume, big data world.

The tutorial will guide you through the installation through to managing your databases.

How to Remove a Failed Active Directory Domain Controller

When a domain controller in your environment goes down hard and cannot be brought back online, you may need to forcefully demote it from its Active Directory domain. The following step-by-step will walk you through safely demoting a domain controller that cannot be brought back online.

Installing Squid on Ubuntu 14.04 as Caching Proxy Server

Learn how to install and use Squid on Ubuntu 14 to improve your web server’s performance. Squid caches requested content to lessen the load on your servers.

Architect Web Infrastructures on Ubuntu 14, Part 1

You may have experience deploying web applications on a LAMP server, which is running both the web server and database server. Hosting your entire web application infrastructure stack on a single server works well for development and light traffic sites. Eventually, you are going to start seeing an increase in user traffic and that will put a lot of stress on your once underutilized server. You are going to have to start researching how to scale to meet the demands of your web traffic.

Throughout this series of tutorials, we will build out the infrastructure to allow our application to handle high volumes of traffic. We’ll utilize web caching servers to reduce the processing work of your application, and load balancers to ensure traffic is balanced between our caching servers. The focus will be on Ubuntu 14.04, however, the concepts work on any Linux distribution.

How to Configure HAProxy Health Checks

Ensuring the backend servers HAProxy is forwarding your users’ requests to are healthy is important. How you check for health is based on the type of service hosted in the backend. Web applications need to be checked differently from database servers. In this tutorial I will show you different ways of doing HAProxy health checks so to help maintain a great user experience.

Installing Memcached to Improve Database Performance

SQL databases are very good at storing and retrieving data, and they can do so quickly. However, no matter how well you tune your database servers there will come a time during periods of high traffic that your database server becomes a large bottleneck. By utilizing technologies like Memcache, we can keep results of frequently used database queries in a cache stored in RAM. Using the cached results significantly decreases that amount of time and effort to retrieve data and present in our application.

Memcache is what’s known as an in-memory key-value store. The key is a unique identifier that is used to quickly search for cached strings or objects. The value is the data that has been cached. For the purpose of storing database query results, the key will typically be the query used on your database.

Monitoring HAProxy using HATOP

Overview As an administrator you know that monitoring a service is essential. With HAProxy, there are stats for which you will want to know that aren’t presented to you through TOP or in log files. To make these stats visible, HAProxy can create socket file that can then be accessed by a third-party application to […]

© 2014 Shane Rainville