Source: Levelica
Canonical: https://www.levelica.com/en/guides/backend-engineering

# Backend Engineering

## Summary

Designing and running the server-side systems behind an app: APIs, databases, caching, and scale.

## Description

Backend Engineering designs, builds, and operates the server-side systems that power applications. Beyond writing API endpoints, it encompasses database design, authentication, caching, message queues, observability, and distributed systems. From handling a single HTTP request to orchestrating services serving millions of users, it has clear growth stages distinct from general programming.

---

## Level Overview

| Level | Proficiency Stage    | Hashtags                                                                |
| ----- | -------------------- | ----------------------------------------------------------------------- |
| Lv.1  | API Apprentice       | #HTTP #CRUD #Endpoints #Tutorials                                       |
| Lv.2  | Data Builder         | #SQL #RESTDesign #Authentication #DataModeling                          |
| Lv.3  | Backend Developer    | #ORM #Middleware #ErrorHandling #UnitTesting #Deployment                |
| Lv.4  | Performance Engineer | #DatabaseOptimization #Caching #MessageQueues #CICD #Security           |
| Lv.5  | Systems Architect    | #ScalabilityLimits #PairProgramming #TechDebt #SharedDataContracts      |
| Lv.6  | Platform Leader      | #DistributedSystems #Microservices #ServiceTemplates #OSSLeadership     |
| Lv.7  | Protocol Innovator   | #DatabaseEngineInnovation #ProtocolDesign #ServerlessArchitectureDesign |

> Proficiency mapping source: Based on the SFIA 8 Software Development Competency Framework (SFIA Foundation).

> **Integrated Framework:** This guide's 7-level structure is not a mapping of a single rating system but the integration of four independent axes. The SFIA 9 competency framework provides the **system design axis** (stepwise expansion of design complexity, from a single API to distributed architecture). Kleppmann's _Designing Data-Intensive Applications_ provides the **data system complexity axis** (stepwise progression of data architecture complexity, from a single data store to distributed data systems). Vogels (2009)'s scalability research provides the **code quality axis** (long-term health of code, from working code to maintainable systems). And practitioner expertise provides the **organizational impact axis** (tacit expertise not captured by formal frameworks, including failure intuition, tech debt management, and cross-team decision-making). Each level boundary is determined at the intersection of these four axes.

---

## Level 1

#HTTP #CRUD #Endpoints #Tutorials

### Summary

Understanding HTTP basics and building simple CRUD endpoints.

### Description

You learn how the web works at the protocol level: HTTP methods, status codes, request/response cycles. Following tutorials, you create simple endpoints that accept requests and return responses. You use API testing tools (e.g., Postman or curl) to test your endpoints and understand how clients communicate with servers. Corresponds to the Dreyfus Novice stage.

### Checklist

- [ ] Can explain HTTP methods (GET, POST, PUT, DELETE) and their intended purposes
- [ ] Can build simple CRUD endpoints that accept requests and return JSON responses
- [ ] Can use API testing tools (e.g., Postman or curl) to send requests and inspect responses
- [ ] Can read server logs to identify errors and understand request flow
- [ ] Can set up a basic development server using a backend framework (e.g., Express, Django, or Spring)

> If you've checked off most of this list, you're ready for the Data Builder stage, learning SQL databases, designing RESTful APIs, and implementing basic authentication to build more complete server-side applications. The ACM/IEEE-CS/AAAI Computer Science Curricula (CS2023) lay out Data Management and Software Engineering as distinct knowledge areas in a learning sequence, so building one small app that stores data in SQL behind a REST API with login ties the two together.

> **Cross-Validation:** Three independent reference frameworks converge on the same level boundaries. (1) Dreyfus model's Competent→Proficient transition and SFIA 8's Apply→Enable transition align at the L3↔L4 boundary (independent implementation→optimization leadership). (2) CS2023's intermediate→advanced curriculum transition and Kleppmann's single system→distributed systems scope expansion converge at the L4↔L5 boundary (individual mastery→team architecture). (3) Dreyfus's Expert stage and SFIA's Set Strategy level align at the L6↔L7 boundary (distributed systems mastery→paradigm innovation).

---

## Level 2

#SQL #RESTDesign #Authentication #DataModeling

### Summary

Designing RESTful APIs over SQL databases with basic authentication.

### Description

You move beyond simple endpoints to building structured APIs backed by persistent storage. You learn SQL fundamentals: creating tables, writing queries with joins and filters, and modeling data relationships. You design RESTful API contracts with consistent naming, proper status codes, and input validation. You implement basic authentication using sessions or tokens. Corresponds to the Dreyfus Advanced Beginner stage.

### Checklist

- [ ] Can create database tables and write queries with joins, filters, and aggregations
- [ ] Can model data relationships (one-to-many, many-to-many) and define foreign keys
- [ ] Can design RESTful APIs with consistent resource naming and proper HTTP status codes
- [ ] Can validate and sanitize user input to prevent common injection attacks
- [ ] Can implement session-based or token-based authentication for user login flows
- [ ] Can use environment variables to manage configuration and secrets

> If you've checked off most of this list, you're ready for the Backend Developer stage, using an ORM, implementing middleware patterns, writing thorough tests, and deploying your application to production. SFIA 8 separates levels by autonomy and responsibility, so writing tests and deploying your own service to production moves you from following instructions to owning the result.

---

## Level 3

#ORM #Middleware #ErrorHandling #UnitTesting #Deployment

### Summary

Building production-ready backends with testing and deployment.

### Description

You build complete backend applications that are ready for production use. You use an ORM to manage database interactions and migrations. You implement middleware for cross-cutting concerns like logging, authentication, and request validation. You write unit tests to verify business logic and integration tests for API endpoints. You deploy applications to cloud platforms and manage basic infrastructure. Corresponds to the Dreyfus Competent stage.

### Checklist

- [ ] Can use an ORM to define models, run migrations, and perform database operations
- [ ] Can implement middleware for logging, authentication, rate limiting, and request validation
- [ ] Can design structured error handling with appropriate error codes and user-safe messages
- [ ] Can write unit tests for business logic and integration tests for API endpoints
- [ ] Can deploy backend applications to cloud platforms (e.g., AWS, GCP, or Vercel)
- [ ] Can set up application logging and basic monitoring for production environments
- [ ] Can implement file uploads, pagination, and filtering for API endpoints

> If you've checked off most of this list, you're ready for the Performance Engineer stage, tackling database optimization, caching strategies, message queues, CI/CD pipelines, and production security hardening. Kleppmann's Designing Data-Intensive Applications treats caching, replication and partitioning as trade-offs, so profile one slow query, apply an index or cache, and write down what the fix cost you.

---

## Level 4

#DatabaseOptimization #Caching #MessageQueues #CICD #Security

### Summary

Optimizing performance and security with caching, async, and CI/CD.

### Description

You go beyond building features to making them fast, reliable, and secure. You optimize database queries with indexes, query plans, and connection pooling. You implement caching layers (e.g., Redis or CDN) to reduce latency and load. You use message queues for asynchronous processing and background jobs. You set up CI/CD pipelines and apply security best practices including OWASP guidelines. Corresponds to a senior practitioner level.

### Checklist

- [ ] Can analyze query execution plans and optimize database performance with indexes and connection pooling
- [ ] Can implement caching strategies (e.g., in-memory, Redis, or CDN) with proper invalidation policies
- [ ] Can use message queues (e.g., RabbitMQ, SQS, or Kafka) for asynchronous processing and background jobs
- [ ] Can set up CI/CD pipelines that automate testing, building, and deployment
- [ ] Can apply security best practices including HTTPS, CORS, CSP, and OWASP Top 10 mitigations
- [ ] Can implement rate limiting, request throttling, and graceful degradation under load
- [ ] Can design database backup, recovery, and migration strategies for production data
- [ ] Can set up structured logging, alerting, and distributed tracing for observability

> If you've checked off most of this list, you're ready for the Systems Architect stage, designing systems for scale, mentoring backend engineers, managing technical debt strategically, and making cross-team architecture decisions. SFIA 8 defines its higher levels by influence over other people's work, so write an architecture decision record for a cross-team choice and walk a junior engineer through it.

---

## Level 5

#ScalabilityLimits #PairProgramming #TechDebt #SharedDataContracts

### Summary

Scaling systems, mentoring, and leading cross-team architecture.

### Description

You elevate the entire backend team's capability beyond your individual skill. You design systems that handle growing scale: choosing between vertical and horizontal scaling, designing for fault tolerance, and planning capacity. You mentor backend engineers through code reviews and pair programming. You manage technical debt strategically, balancing feature velocity with system health. You make architecture decisions that span multiple teams and services.

### Checklist

- [ ] Can design backend systems that scale horizontally to handle 10x traffic growth
- [ ] Can lead system design reviews and identify single points of failure, bottlenecks, and scalability limits
- [ ] Can systematically mentor 2+ backend engineers in their technical growth
- [ ] Can make cross-team architecture decisions on shared services, APIs, and data contracts
- [ ] Can design and implement database sharding, read replicas, or multi-region strategies
- [ ] Can establish backend engineering standards for error handling, API design, and testing
- [ ] Can narrow down the root cause category to three or fewer based on system symptoms alone, before seeing production alerts, with 50% or higher accuracy
- [ ] Can quantify tech debt items by business impact (failure probability, development velocity degradation) and propose a prioritized repayment roadmap

> If you've checked off most of this list, you're ready for the Platform Leader stage, designing distributed systems, building organizational platform infrastructure, contributing to open-source server-side projects, and defining industry practices. Vogels' Eventually Consistent paper frames consistency and availability as a trade-off chosen per use case, so pick one service of yours and write down which guarantee it gives up and why.

---

## Level 6

#DistributedSystems #Microservices #ServiceTemplates #OSSLeadership

### Summary

Architecting distributed systems and platforms, leading OSS projects.

### Description

You architect backend systems that serve multiple teams and millions of users with high availability. You design microservice architectures with service mesh, event sourcing, and saga patterns. You build internal platform infrastructure (shared libraries, service templates, deployment pipelines) that accelerate the entire engineering organization. You contribute to or maintain major open-source projects and present at conferences. Corresponds to the Dreyfus Expert stage.

### Checklist

- [ ] Can design distributed systems with consistency, availability, and partition tolerance tradeoffs (CAP theorem)
- [ ] Can architect microservices with event sourcing, CQRS, saga patterns, and service mesh
- [ ] Can build internal platform infrastructure that accelerates 10+ engineering teams
- [ ] Can make core contributions to major open-source backend frameworks or infrastructure tools
- [ ] Can present distributed systems architecture case studies at technical conferences
- [ ] Can design multi-region, multi-tenant systems with 99.99% availability targets
- [ ] Can proactively analyze the impact of own technical decisions on other teams' architectures and demonstrate having built cross-team consensus

> If you've checked off most of this list, you're ready for the Protocol Innovator stage, innovating at the systems level by designing new database engines, creating new protocols, or building paradigm-shifting server architectures. Kleppmann compares replication, partitioning and consistency approaches across existing systems, so a new engine or protocol starts with a written comparison of where existing designs break under your workload.

---

## Level 7

#DatabaseEngineInnovation #ProtocolDesign #ServerlessArchitectureDesign

### Summary

Creating new database engines and protocols that redefine backends.

### Description

You push the boundaries of what server-side systems can do. You create database engines, communication protocols, or architectural patterns that fundamentally change how developers build backends, like Redis redefining caching, Kafka redefining event streaming, or Kubernetes redefining deployment. Your work shapes how millions of engineers think about building and operating server-side systems.

### Checklist

- [ ] Can design a new database engine, storage system, or query language and show records of 3 or more outside organizations running it in production
- [ ] Can create a server-side framework or infrastructure tool used by 100,000+ developers worldwide
- [ ] Can design a new communication protocol or API paradigm and show it adopted as a published standard or implemented by 3 or more major projects
- [ ] Can publish academically cited research on distributed systems, consensus, or data management
- [ ] Can author a backend engineering textbook or specification and show its adoption by 3 or more courses or 3 or more citations
- [ ] Can quantify risks at each stage of a large-scale system migration, produce an execution plan with rollback procedures, and demonstrate incident-free completion

> If you've checked off most of this list, you're at the forefront of backend engineering, shaping how future generations design and operate the infrastructure that powers the world's applications. Bloom(1956)'s Taxonomy suggests that creating new database engines or protocols represents the highest cognitive level of Create, pushing the boundaries of what server-side systems can achieve.

---

## References

- [Designing Data-Intensive Applications](https://www.oreilly.com/library/view/designing-data-intensive-applications/9781491903063/) — Martin Kleppmann (University of Cambridge)
- [SFIA 8 — Skills Framework for the Information Age](https://sfia-online.org/en/sfia-8/skills/programming-software-development) — SFIA Foundation
- [ACM/IEEE-CS/AAAI Computer Science Curricula 2023 (CS2023)](https://csed.acm.org/knowledge-areas/) — ACM / IEEE Computer Society / AAAI
- [Eventually Consistent](https://dl.acm.org/doi/10.1145/1435417.1435432) — Werner Vogels (Amazon.com / Communications of the ACM)
