If you stand in a queue at a grocery store (or anywhere else), the first customer in the queue will be served, and then the next, and so on.
In programming terminology, especially in data structure, this concept is called FIFO (first in first out) queue.
In C++, Queue is an important part of a STL (Standard Template Library).
Apart from the typical FIFO queue, there are few other types of queue. For example, priority queue.
In a priority queue, apart from the FIFO characteristics, certain customers (or elements in a queue) might have a higher priority, and they might receive immediate service irrespective of their location in the queue.
If you are creating custom docker images for your enterprise, you have two choices on where to host your docker images:
- Docker Hub – This hosted registry service is free and provided by Docker Inc. They also have several enterprise level features where you can create multiple accounts for your organizations, setup automatic builds, etc.
- Self Hosted Docker Registry – You can setup docker registry within your organization that will host your own docker images.
This tutorial explains how to setup a a secure self-hosted docker registry.
The GNU Binary Utilities, usually called as binutils, is a collection of development tools that handle assembly files, object files, and libraries.
The new generation of programming languages that came in the last few years are really masking the functionality of these utilities, as they happen in the background. So, many developers are not exposed to these tools.
But, if you are a developer who is working on Linux / UNIX platform, it is essential to understand the various commands that are available as part of GNU development tools.
The following are the 12 different binutils commands that are covered in this tutorial.
You can use Nginx as a loadbalancer in front of your web application.
For example, if your enterprise application is running on Apache (or Tomcat), you can setup an 2nd instance of your enterprise application on Apache (or Tomcat) on a different server.
And then, you can put Nginx at the front-end, which will load balance between the two Apache (or Tomcat, or JBoss) servers.
If you are new to Nginx, it is important to understand the difference between Nginx vs Apache, and Nginx Architecture.
Nginx supports the following three types of load balancing:
Happy New Year from Me and My Daughters (Diya and Neha)
Happy New Year to all TGS readers from Me and My Daughters (Diya and Neha).
We wish you and your family a happy, healthy, and joyful new year.
In this regard, Babel is a transpiler.
A Transpiler is a compiler which will transform source code from one version/language to another version/language.
Prior to ES7, we had ES6 (ECMAScript 2015) and ES5.
If you have data in a text file, you can easily upload them to one or more tables in a database.
In MySQL database (or MariaDB), using “load data infile” command, you can upload data from a text file to tables.
The load data infile command provides several flexible options to load various formats of data from text file to tables.
Even if you are a developer, or Linux sysadmin, sometimes you might still end-up dealing with Oracle database in your organization.
One of the essential Oracle DBA task is to manage the tablespace.
This tutorial covers everything that you need to know to effectively manage both your tablespaces and datafiles in an Oracle database.