Microservices vs Modular Monolith: How to Choose
Microservices vs modular monolith: what each means, the Prime Video lesson, and five criteria to choose the right architecture.
The API, security and scaling choices that decide how fast and reliable an app feels.
In short
A mobile app backend is where most of an app’s reliability is decided. The app on the phone can only be as fast, safe and up to date as the APIs behind it. And unlike a website, you cannot force every user to update at once, so the backend has to serve several app versions for months or years. Here is how we would design one that scales.
Generic APIs built for many clients often make mobile apps slow: too many calls, too much data. A backend for frontend (BFF) is a thin API layer built for one kind of client, shaping data the way that client needs it (Sam Newman). For mobile, that means fewer round trips, smaller payloads and responses that match the screens.
The OWASP API Security Top 10 lists the most common API flaws, with broken object-level authorisation at the top (OWASP). In practice: check that the user may access each specific record, rate-limit endpoints, validate all input and log security events.
Notifications go through Apple Push Notification service and Firebase Cloud Messaging (Apple, Firebase). Keep device tokens up to date, respect user preferences, and never put sensitive data in the notification text itself.
Decide where personal data is stored and processed, which cloud regions you use and which sub-processors are involved. For EU customers, and especially for banks under DORA, these answers will be part of every vendor review. Read how to choose a software partner for regulated industries.
From our work
On one mobile banking programme, our work was followed by 5x fewer incidents and failed transactions (case study). We build the backends, CI/CD and cloud infrastructure behind fintech and mobile products, and the Linux and ROS 2 software behind robots.
| Area | Typical tools |
|---|---|
| Languages | Kotlin and Java with Spring Boot, Node.js, Go |
| APIs | REST, GraphQL, gRPC, WebSockets |
| Data | PostgreSQL, Redis, Kafka |
| Runtime | Docker, Kubernetes, AWS, Azure, Google Cloud, Linux |
| Observability | OpenTelemetry, Prometheus, Grafana |
For scaling choices, see Kubernetes for product teams and event-driven architecture with Kafka.
For the delivery side, see mobile DevOps: CI/CD from commit to app store, or explore our mobile software development work.
The servers, APIs, databases and services behind a mobile app: user accounts and authentication, business logic, data storage, push notifications and integrations with other systems.
A thin API layer designed for one type of client, such as the mobile app, that shapes data the way that client needs it, reducing round trips and payload size.
Version the API, add fields instead of changing them, keep old versions running while users still have old apps, and use a minimum supported version switch only when truly necessary.
With OAuth 2.0 and OpenID Connect using the system browser and PKCE, short-lived tokens, revocable refresh tokens, device binding for sensitive actions and permission checks on every server request.
Send a few lines about the product, the deadline and the team you have today. A senior engineer replies within two working days.