Infrastructure practices.
Regions and clouds, CDN and storage, caching, tuned servers, databases, AI services, scheduled jobs, monitoring, staging, messaging and recovery: the layers under every platform we run, and how we look after each one.
Platform Infrastructure Layers
A visitor sees one page; underneath, a dozen layers decide whether it loads in a second, survives a sale day and comes back after a failure, and each one needs an owner.
Hosting and Isolation
Regions, clouds and how platforms are kept apart.
Multi-cloud Regional Footprint
Where a platform runs decides how fast it feels, which laws its data falls under, and whether one provider’s bad day becomes yours. A single region on a single cloud is simple until that region slows, fails or changes its prices. Our platforms run across three compute regions on two clouds, commerce, workflow and web in Bangalore, AI and vector search in Singapore, operations and on-demand GPUs in San Francisco, with storage in Mumbai and Singapore and a CDN in front.
Platform Isolation
Unrelated platforms sharing one server share every failure. A traffic spike, a runaway job or a security issue on one becomes an outage on all, and none can be sized, patched or moved alone. Commerce, workflow, web, the AI application and the vector service each run on their own servers, with a separate staging server, so one can change without the others noticing.
An engineer reviews where it runs today, how it is split and where it will break first as it grows.
Content Serving
Everything between a visitor’s tap and the database.
CDN and Object Storage
Images, scripts and files make up most of what a page downloads. Served from one distant application server, they make every page slow, every spike expensive and every server harder to replace. Files live in object storage and a CDN serves them from the location nearest each visitor, from Mumbai, Delhi and Chennai to Singapore, London, New York and Sydney.
Media Pipeline
On a phone, images decide how fast a page feels and how it ranks. Badly handled images make pages heavy and make them jump as they load, which costs both sales and search position. Every image is converted to WebP in three sizes on upload, the browser picks the size it needs, images below the fold load as the visitor scrolls, and space is reserved so the layout never shifts.
Layered Caching
Caching is what keeps a sale-day spike off the slowest part of the platform. Without it every visitor repeats the same database work; done carelessly, it shows stale prices or someone else’s cart. We cache at five layers, CDN edge, page sections, compiled code, in-memory objects and the database buffer, while carts, checkout prices and anything personal are always computed fresh.
Application Server Tuning
Web servers and runtimes ship with defaults written for nobody in particular. On a real platform they either waste memory or run out of workers the moment traffic doubles, and requests queue until the site stops answering. Our servers run an event-driven web server with HTTP/2 and modern compression, worker pools sized to each server’s memory, compiled code kept in memory, and a lightweight proxy in front of the AI services.
An engineer traces a page from the edge to the database and shows where the time goes.
Data and AI
Databases, search over vectors, and model servers that exist only when they are needed.
Database Tuning
The database is where most platforms slow down and where most data is lost. Untuned memory, unwatched slow queries and no way to rewind past a mistake all surface on the worst possible day. Our databases listen only inside their server, get a buffer sized to the machine, log every query slower than a second, and keep a binary log where point-in-time recovery is needed.
Vector and Model Servers
AI features add infrastructure that a web platform does not have: a vector index, model services and expensive GPU servers. Done badly, answers go stale, costs climb by the hour or the AI feature slows the main platform. Vector search runs in containers on its own server, scheduled jobs add new and remove deleted records with a daily validation, and GPU servers are created for a workload and stopped when it is done.
Daily Operations
The routines that keep a platform healthy long after launch.
Scheduled Maintenance
Platforms collect clutter every day: old records, bot sessions, growing logs, stale sitemaps and catalogues out of step with their feeds. Left alone, it slows the platform and quietly hurts search and sales. Jobs run every night while traffic is low, cleaning and compressing records at 1:00, removing bot traffic at 2:30, rebuilding sitemaps at 3:30 and syncing shopping feeds at 3:45, with cart reminders every two hours.
Monitoring and Logging
A platform watched only by its users has its problems reported by its customers. Without metrics and readable logs, a slow leak in memory, disk or query time becomes an outage with no warning. Every server reports its metrics, application performance monitoring traces slow requests to the code on the busiest platforms, uptime is checked on every store and admin, and logs are summarised and read every morning.
Managed operations by the engineers who designed the platform: monitoring, patching, backups and the night shift.
Staging Environments
Changes tested on a laptop or on the live platform are how releases break checkout on a Friday evening. When one codebase serves every tenant, a bad release reaches all of them at once. A staging server keeps a copy of each platform, every change is tried there first, and releases reach every tenant together from one codebase.
Multi-channel Messaging
Order confirmations, OTPs, resets, approvals and alerts are infrastructure too. If they land in spam, arrive late or go to the wrong channel, customers cannot sign in or pay and teams miss approvals. Each platform routes messages by type: transactional email through dedicated delivery services with signed domains and bounce handling and a local relay that retries, OTPs to mobile, support on WhatsApp, team alerts to Slack and every message in-app, all sent from logged background jobs.
Recovery Sequencing
After a failure, the order of restoration decides when customers can buy again. Restoring everything at once means nothing works for hours, and the wrong order opens a store that cannot take money. Each platform has a restore order tested in a monthly drill, sign-in, then catalogue, then checkout and payments, then orders, then the rest.
Self-assessment Questions
Questions worth asking of any platform you run today.
- If your main region went down now, where would your platform run?
- Are your images and files served from your application server?
- What happens to your database when traffic triples on a sale day?
- Which of your queries take more than a second, and who knows?
- Do your OTPs and order emails land in spam?
- Is anything on your platform cleaned up automatically every night?
- Do you have a staging copy that matches production?
- In what order would you restore your platform after a failure?
An engineer reviews your regions, servers, caching, databases, backups and monitoring against the questions above, and gives you a prioritised plan.