Abid Al Amin

Concepts

Concepts

Short, practical explanations of software engineering concepts — written to be understood once, not memorised twice.

Showing 15 of 15 concepts

Authentication3

  • Authentication

    intermediate

    OAuth 2.0 Explained

    OAuth 2.0 is an authorization framework that lets one application access resources on a user's behalf without ever seeing that user's password.

    • OAuth
    • Authentication
    • Security
    • +1
    9 min read
  • Authentication

    beginner

    What is a JWT?

    A JWT is a signed, self-contained token format that lets a server verify claims about a user without a database lookup, at the cost of being hard to revoke early.

    • JWT
    • Authentication
    • Security
    6 min read
  • Authentication

    beginner

    What is PKCE?

    PKCE hardens the OAuth 2.0 authorization code flow against interception attacks by binding the authorization request to the token exchange with a one-time secret.

    • OAuth
    • Security
    • Authentication
    7 min read

Networking2

  • Networking

    beginner

    NAT and Port Forwarding: Public Port vs. Listening Port

    A packet can arrive at one port number and be delivered to another. Once you know where that rewrite happens, firewall rules stop being guesswork — you allow the port the service actually receives traffic on inside the machine, not the port you typed into the client.

    • NAT
    • Networking
    • Firewall
    • +4
    11 min read
  • Networking

    intermediate

    HTTP/1.1 vs HTTP/2 vs HTTP/3

    Each HTTP version fixes a specific bottleneck in the one before it, moving from one request per connection to multiplexed streams to a transport that no longer blocks on packet loss.

    • Networking
    • HTTP
    • Performance
    • +1
    9 min read

Databases2

  • Databases

    intermediate

    What is Write-Ahead Logging (WAL)?

    Write-Ahead Logging (WAL) is a technique used in databases to ensure data integrity and durability by recording changes to a log before applying them to the database.

    • Databases
    • WAL
    • Data Integrity
    • +1
    6 min read
  • Databases

    beginner

    What is a Database Index?

    A database index trades extra storage and slower writes for the ability to find rows without scanning the whole table, the same trade a book's index makes for its reader.

    • Databases
    • Indexing
    • SQL
    • +1
    7 min read

Caching1

  • Caching

    intermediate

    What is a Cache Stampede?

    A cache stampede happens when a popular cached value expires and every waiting request rushes the origin at once, turning a cache miss into a self-inflicted denial of service.

    • Caching
    • Redis
    • Performance
    • +1
    8 min read

Distributed Systems3

  • Distributed Systems

    advanced

    What is Consistent Hashing?

    Consistent hashing distributes keys across nodes so that adding or removing a node only reshuffles a small fraction of keys, instead of nearly all of them.

    • Distributed Systems
    • Scalability
    • Caching
    • +1
    9 min read
  • Distributed Systems

    intermediate

    What is Idempotency?

    An idempotent operation produces the same result no matter how many times it's applied, which is the property that makes retrying a failed request safe in a distributed system.

    • Distributed Systems
    • API Design
    • Reliability
    • +1
    8 min read
  • Distributed Systems

    advanced

    What is the Outbox Pattern?

    The outbox pattern makes writing to a database and publishing an event look atomic by writing both in one transaction and relaying the event asynchronously.

    • Distributed Systems
    • Messaging
    • Consistency
    • +2
    10 min read

Architecture1

  • Architecture

    beginner

    What is a Circuit Breaker?

    A circuit breaker stops a service from repeatedly calling a dependency that's already failing, giving it room to recover instead of being buried under retries.

    • Architecture
    • Reliability
    • Backend
    • +1
    7 min read

Security2

  • Security

    beginner

    chmod, chown and What 600 Actually Means

    Every file on a Unix system carries an owner, a group and nine permission bits. This is what those bits mean, why 600 and 700 keep showing up, how the octal digits are built, and the rules that make permissions behave differently than most people assume.

    • Linux
    • Unix
    • Permissions
    • +3
    11 min read
  • Security

    beginner

    What is an SSH Key?

    An SSH key is a public/private keypair that proves who you are to a server without ever sending a secret over the wire — replacing passwords with a challenge you can only answer if you hold the private half.

    • SSH
    • Security
    • Authentication
    • +2
    8 min read

Scalability1

  • Scalability

    intermediate

    Rate Limiting Algorithms: Which One to Pick and Why

    Token bucket, leaky bucket, fixed window, sliding window log and sliding window counter — how each one decides, where each one breaks, and how to choose between them.

    • Rate Limiting
    • Scalability
    • API Design
    • +3
    12 min read