# Backend and API Development for Systems That Have to Scale

> Backend and API development across Node.js, Python and Rails: REST and GraphQL design, database optimisation, event-driven systems and scalable architecture.

I design backends around the things that are expensive to change later: data models, API contracts and service boundaries. I work across Node.js, Python, Ruby, Go and Rust, so the architecture advice comes first and the framework follows from it.

## Who this is for

- Products that have outgrown their first database design or API
- Teams where slow queries or an overloaded database have become a business problem
- Companies exposing a public or partner API that others will depend on
- CTOs who want an experienced second opinion on architecture before committing to it

## What I can do for you

### REST and GraphQL design

Consistent, documented APIs with sensible pagination, errors, versioning and authentication, plus honest advice on whether GraphQL is worth its overhead for you.

### Database architecture

Schema design and migrations on PostgreSQL, adding a specialised store only where the access pattern clearly justifies running one.

### Query optimisation

Reading query plans, adding the right indexes, restructuring expensive queries, and caching with Redis once the underlying query is sound.

### Event-driven systems

RabbitMQ and background queues for work that should not happen inside a request, with idempotent consumers, retries and dead-letter handling.

### Reliability engineering

Timeouts, retries, rate limiting and safe handling of webhooks and payments, where events arrive late, twice or out of order.

### Architecture consulting

Reviews and written recommendations, including whether to split a monolith or to fix it where it stands.

## How I think about scaling

Most backends that seem to have a scaling problem actually have a query problem. So I measure first: which endpoints are slow, what the database is doing, and where the time really goes. Often, a handful of indexes and a few rewritten queries buy years of headroom at very little cost.

Distribution comes last. Microservices and event streams solve real problems of team size and independent scaling, but they swap simple function calls for network failures and eventual consistency. A modular monolith with clean boundaries lets you extract a service later, if and when the evidence supports it.

## REST or GraphQL? Monolith or microservices?

REST is the sensible default: it is simple, it caches well, and every client understands it. GraphQL pays off when many different clients need different shapes of data, and it brings its own costs in query complexity and caching.

A monolith is the right starting point for most teams. Consider separate services when a component has a very different scaling profile, when teams keep blocking each other, or when a compliance boundary requires it. Team structure is as good a reason as traffic.

## Technologies I typically use

Node.js, Express.js, Python, FastAPI, Django, Ruby on Rails, Go, Rust, PostgreSQL, Redis, RabbitMQ, GraphQL

## Frequently asked questions

### Can you fix our slow database without a migration?

Often, yes. Query and indexing issues are the first place to look, and they can usually be fixed in place. Moving to a different database is rarely the first answer.

### Do you offer architecture reviews without implementation?

Yes. I can review a system and give you a written assessment and a prioritised list of recommendations for your team to carry out.

### Which backend language do you recommend?

Usually the one your team already knows, unless there is a specific reason to change. Node.js, Python and Ruby can all run large production systems well. Go or Rust earn their place when one service has demanding performance or concurrency needs.

## Field notes

- The OWASP API Security Top 10 (2023) lists Broken Object Level Authorization as API1: the most common and impactful API authorization flaw, which is why every endpoint I ship checks object ownership server-side. Source: [OWASP API Security Project](https://owasp.org/API-Security/editions/2023/en/0x11-t10/)

---

HTML version: https://fullstackweb.dev/services/backend-api-development/
Maintained by Hendra Nicholas, Senior Full-Stack Software Engineer & AI Engineer, hello@fullstackweb.dev.
