Tux Machines
today's howtos
Posted by Roy Schestowitz on Aug 08, 2023
[Old] I/O is no longer the bottleneck
As you can see, the disk I/O in the simple Go version takes only 14% of the running time. In the optimized version, we’ve sped up both reading and processing, and the disk I/O takes only 7% of the total.
My conclusion? If you’re processing “big data”, disk I/O probably isn’t the bottleneck. A little bit of measurement will likely point to parsing and memory allocation.
Monitoring your logs is mostly a tarpit
The second problem with monitoring for specific narrow signals of interest in your logs is that you have to know what they look like. It's easy to say that we'll monitor for the Prometheus host agent crashing and systemd restarting it, but it's much harder to be sure that we have properly identified the complete collection of log messages that signal this happening. Remember, log messages are unstructured, which means it's hard to get a complete inventory of what to look for short of things like reading the (current) program source code to see what it logs.
Linux Containers The Hard Way
If you want to make containers under Linux, plenty of high-level options exist. [Lucavallin] wanted to learn more about how containers really work, so he decided to tackle the problem using the low-level kernel functions, and he shared the code with us on GitHub.
STIRred AND SHAKEN (PDF)
So why are there still spam calls?
Unfortunately, STIR/SHAKEN is far from universal. The FCC made STIR/SHAKEN implementation mandatory for US telephone carriers as of June 30, 2022. That was over a year ago, but the FCC issued numerous exemptions to small and rural carriers with difficulty affording the required equipment (remember that telephone switches can have fifty year service lives and there is some very old equipment still in use), and besides, the FCC mandate applied only to the United States.
How To Configure Tor Socks Proxy on Debian 12 and Ubuntu 22.04
This tutorial will help you setup The Onion Router (TOR) anonymity software on your computer system with Debian 12 or Ubuntu 22.04 for use as a proxy with browser and any other internet-based applications you want. Please note that Tor works using address "localhost" and port number "9050". Enjoy!
How to Setup SSH Passwordless Login in Linux [3 Easy Steps]
SSH (Secure SHELL) is an open-source and trusted network protocol that is used to log in to remote servers for the execution of commands and programs.
It is also used to transfer files from one computer to another computer over the network using a secure copy (SCP) command and rsync command.
How to Create Disk Storage with Logical Volume Management (LVM) in Linux – PART 1
Logical Volume Management (LVM) is a powerful tool that greatly simplifies disk space management. With LVM, the task of allocating additional space to a file system becomes effortless.
Whenever a file system requires more space, it can easily draw from the available free space in its corresponding volume group. As a result, file systems can be dynamically resized to accommodate our specific needs.