When most early-stage SaaS startups had been provisioning servers and planning Kubernetes clusters, Enterpret quietly went the opposite means. The staff, barely three folks on the time, determined to construct an enterprise-grade AI suggestions platform totally on AWS Lambda.
It was a contrarian wager. 5 years later, it stays one of many foundational selections that formed the corporate’s structure, tradition and velocity.
A constraint-driven starting
Within the earliest days, Enterpret wanted to ingest immense volumes of buyer suggestions knowledge — bursts of textual content, context, and metadata coming in waves at any time when a consumer synced historic knowledge or when a public occasion went viral. The heavy compute sat on ingestion and enrichment; the precise user-facing queries had been comparatively mild.
Capital was scarce, engineering capability much more so. “We didn’t have the luxurious of always-on compute. Sustaining clusters wasn’t lifelike with two engineers and an intern,” Chief Architect Anshal Dwivedi remembers.
Lambda supplied one thing conventional compute couldn’t: elasticity with out price drag. You paid solely when one thing ran. Idle was free.
Enterpret launched with eight microservices and round 35 Lambda capabilities, a small floor space, however quick to evolve. It allowed the staff to maneuver with urgency, with out burning runway on infrastructure.
What made the choice notable wasn’t the early dedication to serverless; it was how intentionally it engineered an exit ramp. If workloads ever demanded one thing extra persistent, migrating to ECS would require little greater than swapping a deployment wrapper. The enterprise logic would stay untouched.
That foresight would grow to be some of the necessary decisions the staff made.
The monorepo that saved the system coherent
Because the product footprint expanded, Enterpret confronted a brand new downside: managing progress with out splintering the codebase. Its response was one other resolution that goes towards standard startup recommendation — a single Go monorepo for each backend microservice, shared library, and infrastructure configuration.
Somewhat than chaos, it delivered consistency.
A mannequin change might be made as soon as, reviewed as soon as, and deployed in all places. Error codes, logging codecs, and tracing requirements remained uniform throughout companies — a blessing in a distributed system the place debugging usually entails spelunking throughout repos and log streams.
Refactoring grew to become routine, not dangerous. IDE-level type-checking guarded towards silent breakage. Deployments stayed predictable.
That very same monorepo now homes 26 companies, up from the unique eight. Deployments occur a number of occasions per week, with the staff shifting rapidly as a result of the underlying construction by no means fractured.
A light-weight RPC layer that also holds up
Very early on, the staff ran right into a limitation: AWS API Gateway didn’t help gRPC natively, but Enterpret wanted a compact, binary-first communication layer suited to Lambda.
The everyday path would have concerned workarounds or adoption of heavier frameworks. As a substitute, they constructed a lean RPC abstraction that supported a number of encodings — protobuf over HTTP for effectivity, JSON for flexibility, and compatibility for gRPC downstream.
It took a couple of days to form, not months. But it stays the spine of service communication even now. Compression, distributed tracing, metrics and consumer era had been layered on with out touching particular person companies — the compounding impact the staff now optimises for intentionally.
When Lambda stopped being the proper reply
Progress finally revealed the boundaries of serverless.
Frontend analytics surfaced the primary crack; chilly begins added noticeable latency when dashboards fired dozens of parallel queries. Provisioned concurrency would have diminished the lag, however not with out making the system costly to run. Migrating these workloads to ECS introduced the P95 down and prices together with it.
Lengthy-running jobs adopted. Lambda’s 15-minute cap labored for many async duties, however report era and exports wanted extra respiratory room. Enterpret turned to AWS Batch backed by spot cases, attaining the identical flexibility at a fraction of the price.
There have been different restrictions too comparable to Lambda’s 6MB payload cap, API Gateway’s 29-second timeout. The staff routed round these with S3-based response offloading and request batching, however the lesson was clear: the proper software modifications over time.
Due to how the staff architected the system, migration was hardly ever a rewrite. Typically, it was an hour.
Price self-discipline as philosophy
In a bootstrapped-speed section, price will not be a metric however a survival constraint. Enterpret audited every thing: reminiscence allocation, idle compute, chilly begins, cross-service chatter. Many Lambda capabilities nonetheless run on 128MB, made potential by Go’s effectivity.
At one level, a CloudWatch invoice eclipsed complete compute spend. It prompted stricter observability hygiene, alerting thresholds, billing critiques and structure decisions rooted not in idealism however in operational actuality.
The self-discipline caught.
The playbook Enterpret now offers others
Trying again, Dwivedi says the corporate would make the identical decisions once more. Serverless gave the velocity, price management, and focus when the staff wanted it most. The monorepo, the RPC abstraction, the migration-ready design, all of it might keep the identical.
However the firm could be extra cautious about force-fitting workloads that do not belong on Lambda. Earlier, one among its knowledge assortment companies required long-running execution, so the staff stitched it along with AWS Step Features and checkpointing logic to bypass the timeout. It labored, however sustaining it was painful. AWS Batch would have been the proper name from day one.
His recommendation to different engineering groups boils down to some ideas:
Preserve infrastructure lifeless easy. Enterpret did not host a single piece of infrastructure itself for 4 years. Managed companies and boring know-how beat intelligent options each time. “The startups that survive aren’t those with intelligent infrastructure; they’re those that stayed targeted on their product whereas the cloud did the heavy lifting,” Dwivedi notes.
Be ruthless about price. It immediately impacts runway. Set spending alerts, assessment payments weekly, query each line merchandise. Small leaks compound into hemorrhages.
Design for horizontal scale from day one. The perceived effort hole between “quick-and-dirty” and “scalable” is usually an phantasm. Just a few good abstractions and clear service boundaries take marginally extra time upfront however prevent from rewrites later.
Do not chase cloud agnosticism too early. Enterpret dedicated totally to AWS. Whenever you constrain your self to what works in all places, you are optimizing for the bottom widespread denominator. You get higher methods by embracing what your cloud does finest, not what each cloud does adequately.
5 years on, the structure nonetheless holds.
The journey continues
At the moment, Enterpret processes tons of of hundreds of thousands of buyer suggestions data. Most of the methods the staff wrote within the first 12 months are nonetheless operating—not simply operating, however thriving. They’ve developed, scaled, and tailored as a result of the staff discovered that compounding threshold early and caught to it.
The corporate is now constructing agentic architectures, pushing into new territories of what AI can do with buyer suggestions. The panorama retains evolving, and the staff remains to be studying what works.
“Some patterns from our serverless journey translate superbly. Others want rethinking solely,” shared Dwivedi.
The lesson is not that serverless is the reply for everybody. It is that small, considerate selections compound over time. Design methods that evolve moderately than broaden. Select readability over cleverness. And once you hit the boundaries of a know-how, migrate; do not rewrite.
That is only a glimpse of what Enterpret builds. Learn extra about the identical on their engineering weblog right here.
Elevate your perspective with NextTech Information, the place innovation meets perception.
Uncover the most recent breakthroughs, get unique updates, and join with a world community of future-focused thinkers.
Unlock tomorrow’s tendencies immediately: learn extra, subscribe to our e-newsletter, and grow to be a part of the NextTech group at NextTech-news.com

