Skip to content
All technologies

Databases

Databases: The Memory of the System

The workload dictates the database, not trends. I use PostgreSQL for relational integrity, MongoDB for flexible docs, and SQLite or RocksDB for microsecond-latency caching.

  • PostgreSQL
  • MongoDB
  • SQLite
  • RocksDB
My approach
“Dumping every piece of data into the exact same JSON structure is laziness. The database is the backbone of the system, and this choice is dictated not by popular buzzwords, but by disk read/write patterns, data relationality, and latency tolerance. You need PostgreSQL's strict rules (ACID) for banking, RocksDB's sheer speed for per-second logging, and MongoDB for flexible configurations.”

Data Layer Bottlenecks

  • The N+1 Query Problem

    ORM (Object-Relational Mapping) tools make life easy, but the inefficient SQL queries they generate in the background consume the server's CPU and RAM.

  • Indexing is an Art

    When a table hits millions of rows, searching takes minutes. You cannot assign the right index without understanding the database's B-Tree structure.

  • The Challenge of Scaling

    Duplicating a web server is easy; but dividing a database vertically or horizontally (sharding/replication) creates serious synchronization risks in the system.

Data Strategies

  • Relational Integrity (PostgreSQL)

    Systems like finance, e-commerce, and user authentication that require strict rules between tables and zero data loss.

  • High-Speed Caching

    RAM or disk-based (Redis, RocksDB, SQLite) microsecond-latency buffer zones to prevent the system from constantly exhausting the main database.

  • Flexible Documents (MongoDB)

    Large log or content management (CMS) systems where the structure constantly changes and doesn't need to strictly adhere to a schema.

What have I built with these?

Networking & Protocols

Private

Major project

Cyberia & Wired Protocol

A secure, decentralized operating system and network layer built on Wired — a custom, high-performance communication protocol. Instead of HTTP, it uses a mutually encrypted TCP handshake and AES-encrypted WebSocket payloads for strong data confidentiality.

  • Rust
  • C++
  • Tauri
  • +6

Networking & Protocols

Tor Encrypted Messenger

A secure, decentralized messaging client operating exclusively over the Tor network. It utilizes C++ WebSockets for real-time, encrypted communication with an ephemeral token-based authentication system.

  • C++
  • JavaScript
  • Boost.Asio
  • +5

Tools & Utilities

Open Me Daily (Telemetry Trap)

A background telemetry application that monitors its own execution frequency and penalizes user inactivity by artificially bloating disk space.

  • C++
  • SQLite

Have a project in this area?

Explore my service packages for architecture design, system optimization or building from scratch.