Month: February 2022

tmux cheatsheet

Session Session groups one or more windows together. Each session has one current window, this is the window displayed when the session is attached and is the default window for any commands that target the session. Sessions do not have an index but they do have a name, which must be unique. Every window has …

tmux cheatsheet Read More »

MemTable, WAL, SSTable, Log Structured Merge(LSM) Trees

Taken from: Build a Database Pt. 2: MemTable MemTable – facebook/rocksdb wiki Write-Ahead Logging -SQLite Writing A Database: Part 2 — Write Ahead Log SSTable and Log Structured Storage: LevelDB Study Guide — Cassandra Reads and Writes On Disk IO, Part 3: LSM Trees Bigtable: A Distributed Storage System for Structured Data MemTable The MemTable …

MemTable, WAL, SSTable, Log Structured Merge(LSM) Trees Read More »

Linux: Open files (systemd, ulimit, netstat, lsof)

ulimit $ man limits.conf NAME limits.conf – configuration file for the pam_limits module DESCRIPTION The pam_limits.so module applies ulimit limits, nice priority and number of simultaneous login sessions limit to user login sessions. This description of the configuration file syntax applies to the /etc/security/limits.conf file and *.conf files in the /etc/security/limits.d directory. Also see: https://wiki.archlinux.org/title/Limits.conf …

Linux: Open files (systemd, ulimit, netstat, lsof) Read More »

Big O notation: Orders of common functions

constant Determining if a binary number is even or odd; Calculating  ; Using a constant-size lookup table double logarithmic Number of comparisons spent finding an item using interpolation search in a sorted array of uniformly distributed values logarithmic Finding an item in a sorted array with a binary search or a balanced search tree as well as all operations in a Binomial heap …

Big O notation: Orders of common functions Read More »