
Cutting Server Costs by More Than Half - and Making the Backend 200x Faster for a Growing Mobile App
The client needed a lower, more predictable infrastructure cost and a backend that could scale cleanly as usage grew — without taking the product offline to get there.
- Monthly server costs cut from roughly €1,200 to around €500–600 - a reduction of more than 50%
- Server memory usage for the same operation cut from 3,464 MiB to 516 MiB - 6.7x less
- Processing capacity now scales linearly by adding workers, where the previous system was capped on a single processor core regardless of load
- Two databases consolidated into one, and four supporting components reduced to a single stack
- Delivered with zero disruption to the live product and its paying users
- Client industry
- Mobile apps / AI-powered consumer services.
- Client country
- Malta.
- Duration of cooperation
- Ongoing engagement
Overview
A mobile app company based in Malta, running a consumer-facing AI-powered translation and communication app alongside the backend systems that operate it.
The client was paying a large, difficult-to-justify monthly server bill, without a clear picture of where that cost was actually coming from. At the same time, the internal admin systems that supported the app were ageing, difficult to maintain, and, in places, actually competing with the app itself for server resources.
Duration of cooperation: Ongoing engagement; the infrastructure cost-optimization and backend modernization work described here was completed as a focused phase within a longer partnership.


Business challenge
A growing app's server bill should grow in proportion to real usage. When it doesn't, the cause is almost always hiding in the details.
- 01
Server spend had drifted far ahead of what it needed to be.
The client was paying a substantial monthly amount for infrastructure - a common and costly blind spot once a backend has grown organically over time.
- 02
Some unnecessary services were running, and paid for, in the background.
Infrastructure had accumulated extra connected services that weren't delivering proportional value, quietly adding to the bill every month.
- 03
Caching gaps meant the database was doing more work than it needed to.
Inefficient caching on the primary data store meant routine operations were consuming far more server resources than the task actually required.
- 04
In some cases, the cost of serving a user was higher than what that usage actually brought in.
Gaps in the platform's own usage logic meant that, for certain flows, the server resources consumed to fulfill a request cost more than the platform collected for it - a quiet, compounding drain that's easy to miss without a close technical audit.
- 05
The admin backend itself had become a liability, not just a cost.
Years of incremental changes had left the internal admin platform slow, hard to extend, and split across multiple legacy API routes and two separate databases - adding operational risk and ongoing maintenance cost on top of the server bill itself.
- 06
Any fix had to happen without touching the live, revenue-generating app.
The consumer-facing product couldn't go down, and its users couldn't be made to feel any of this work happening underneath them.
Solution
Onix treated this as a full infrastructure audit, not a single quick fix - tackling both the immediate cost drivers and the underlying architecture feeding them.
- 01
Found and removed what didn't need to be there.
The team audited the full infrastructure footprint, identifying and removing unnecessary connected services that were adding cost without proportional value.
- 02
Fixed the database layer's caching, not just its hardware.
Rather than solving a performance problem by paying for more server capacity, the team optimized how the primary database caches data - cutting the resource cost of routine operations at the source.
- 03
Closed the gaps where usage cost more than it earned.
The team traced specific flows where the server cost of serving a request exceeded what the platform collected for it, and corrected the underlying logic - turning a quiet ongoing loss into a sustainable, properly priced operation.
- 04
Rebuilt the admin backend on a modern, consolidated platform.
The legacy admin system was replaced with a new platform (9 modules, 36 features), migrating the full operational dataset - 73 data collections and roughly 31.8 million records - across with full reconciliation to confirm nothing was lost or altered in the move.
- 05
Audited every legacy API route individually, rather than migrating blindly.
All 461 existing routes were reviewed one by one: a portion was migrated directly into the new platform, a large share was removed outright with a documented reason for each, and a small set of latency-sensitive routes (real-time call translation) was split out into its own dedicated microservice built for that specific job.
- 06
Replaced ad hoc endpoints with a properly documented, automated delivery pipeline.
The team built a new REST API with full interactive documentation and set up continuous integration and deployment, so every change is tested, containerized and released through a repeatable, automated process rather than a manual one.
- 07
Proved the improvement with real numbers before calling it done.
The old and new systems were put through comparative load testing side by side, so the performance and cost improvements weren't a claim - they were a measured, documented result the client could see for themselves.
Business impact
- reduction in monthly server costs
- >50%
- less server processing time for a core admin operation
- ~200x
- lower memory footprint for the same operation
- 6.7x
KPI
- Monthly infrastructure cost reduced by more than half (~500–600)
- A core admin operation now costs roughly 200x less in server processing time
- Memory footprint for the same operation reduced by 6.7x (3,464 MiB → 516 MiB)
- Processing capacity scales linearly with added workers, versus a hard single-core ceiling before
Productivity
- Admin operations no longer compete with, or slow down, the consumer-facing mobile app
- Two databases consolidated into one, and four previously separate supporting components reduced to a single stack - meaningfully less to monitor, patch and maintain going forward
- Roughly 1,900 automated tests now protect the new platform, catching regressions before they reach production
- A fully documented REST API and automated CI/CD pipeline mean new features ship through a repeatable, low-risk process instead of manual deployment
Cost savings
- More than 50% reduction in recurring monthly server spend
- Eliminated the gap where certain usage flows cost more in server resources than they generated in revenue
- Lower ongoing engineering overhead from maintaining one consolidated stack instead of four separate components
Customer Experience
- All of this delivered with zero visible disruption to the live app or its existing users
- A faster, more stable admin backend means operational issues get caught and resolved before they can affect the end-user experience
- The client now has a deployment-ready platform and a clear, data-backed report to support further investment and launch decisions
Technology & delivery
- legacy routes individually audited
- 461
- records migrated
- ~31.8M
- collections
- 73
- automated tests
- ~1,900
Infrastructure cost audit
Full review of connected services, removal of unnecessary components, and database caching optimization
Admin platform rebuild
New system built with 9 modules and 36 features, replacing a legacy multi-component setup
Data migration
73 collections and ~31.8 million records migrated with full reconciliation
API consolidation
All 461 legacy routes individually audited - a portion migrated, a large share retired with documented justification, and latency-sensitive call-translation routes split into a dedicated microservice
Delivery pipeline
New REST API with interactive documentation; CI/CD with containerized deployments
Validation
Side-by-side comparative load testing of the old and new systems, backed by roughly 1,900 automated tests
Delivery approach
Phased, zero-downtime rollout alongside the live, revenue-generating product

Next step
Not sure your server bill actually reflects what your product needs? Talk to Onix about an Infrastructure Cost & Performance Audit - we'll find what's quietly driving your costs up, fix it, and show you the before-and-after numbers to prove it.

See other related projects


DevOps
Ensuring efficient resource usage
and enhanced performance by dockerizing
apps
Project infrastructure optimization to reduce costs
Ensuring efficient resource usage and enhanced performance by dockerizing apps
Services provided:
We offered a detailed analysis of architecture, strategic updates, dockerization, database consolidation, and setted up backup for system resilience


DevOps
Enhancing server performance
and flexibility through infrastructure
migration
Migration from heroku to AWS quickly and smoothly
Enhancing server performance and flexibility through infrastructure migration
Services provided:
Onix provided Webflow minimalistic website design and development services, including concept creation, user-centric design, and content integration


India
Entertainment
From raw prototype into a full-scale live streaming
crypto-powered social platform
How to build a live streaming app
From raw prototype into a full-scale live streaming crypto-powered social platform
Services provided:
How Onix built a social entertainment ecosystem, improving its codebase, building new streaming features, integrating crypto wallets, and delivering a scalable platform that now serves 100M+ users








