When most startups were spinning up servers, Enterpret went all-in on serverless. Today, that architecture powers a massive AI platform for customer-feedback analysis, helping companies like Canva, Atlassian, Perplexity, and Notion stay close to their users.When most startups were spinning up servers, Enterpret went all-in on serverless. Today, that architecture powers a massive AI platform for customer-feedback analysis, helping companies like Canva, Atlassian, Perplexity, and Notion stay close to their users.

How Enterpret built a scalable AI platform with just two engineers

When most early-stage SaaS startups were provisioning servers and planning Kubernetes clusters, Enterpret quietly went the other way. The team, barely three people at the time, decided to build an enterprise-grade AI feedback platform primarily on AWS Lambda.

It was a contrarian bet. Five years later, it remains one of the foundational decisions that shaped the company’s architecture, culture and speed.

A constraint-driven beginning

In the earliest days, Enterpret needed to ingest immense volumes of customer feedback data — bursts of text, context, and metadata coming in waves whenever a client synced historical data or when a public event went viral. The heavy compute sat on ingestion and enrichment; the actual user-facing queries were comparatively light.

Capital was scarce, engineering capacity even more so. “We didn’t have the luxury of always-on compute. Maintaining clusters wasn’t realistic with two engineers and an intern,” Chief Architect Anshal Dwivedi recalls.

Lambda offered something traditional compute couldn’t: elasticity without cost drag. You paid only when something ran. Idle was free.

Enterpret launched with eight microservices and around 35 Lambda functions, a small surface area, but fast to evolve. It allowed the team to move with urgency, without burning runway on infrastructure.

What made the decision notable wasn’t the early commitment to serverless; it was how deliberately it engineered an exit ramp. If workloads ever demanded something more persistent, migrating to ECS would require little more than swapping a deployment wrapper. The business logic would remain untouched.

That foresight would turn out to be one of the most important choices the team made.

The monorepo that kept the system coherent

As the product footprint expanded, Enterpret faced a new problem: managing growth without splintering the codebase. Its response was another decision that goes against conventional startup advice — a single Go monorepo for every backend microservice, shared library, and infrastructure configuration.

Rather than chaos, it delivered consistency.

A model change could be made once, reviewed once, and deployed everywhere. Error codes, logging formats, and tracing standards remained uniform across services — a blessing in a distributed system where debugging normally involves spelunking across repos and log streams.

Refactoring became routine, not risky. IDE-level type-checking guarded against silent breakage. Deployments stayed predictable.

That same monorepo now houses 26 services, up from the original eight. Deployments happen several times a week, with the team moving quickly because the underlying structure never fractured.

A lightweight RPC layer that still holds up

Very early on, the team ran into a limitation: AWS API Gateway didn’t support gRPC natively, yet Enterpret needed a compact, binary-first communication layer suited for Lambda.

The typical path would have involved workarounds or adoption of heavier frameworks. Instead, they built a lean RPC abstraction that supported multiple encodings — protobuf over HTTP for efficiency, JSON for flexibility, and compatibility for gRPC downstream.

It took a few days to shape, not months. Yet it remains the backbone of service communication even now. Compression, distributed tracing, metrics and client generation were layered on without touching individual services — the compounding effect the team now optimises for deliberately.

When Lambda stopped being the right answer

Growth eventually revealed the limits of serverless.

Frontend analytics surfaced the first crack; cold starts added noticeable latency when dashboards fired dozens of parallel queries. Provisioned concurrency would have reduced the lag, but not without making the system expensive to run. Migrating those workloads to ECS brought the P95 down and costs along with it.

Long-running jobs followed. Lambda’s 15-minute cap worked for most async tasks, but report generation and exports needed more breathing room. Enterpret turned to AWS Batch backed by spot instances, achieving the same flexibility at a fraction of the cost.

There were other restrictions too such as Lambda’s 6MB payload cap, API Gateway’s 29-second timeout. The team routed around these with S3-based response offloading and request batching, but the lesson was clear: the right tool changes over time.

Because of how the team architected the system, migration was rarely a rewrite. Often, it was an hour.

Cost discipline as philosophy

In a bootstrapped-speed phase, cost is not a metric but a survival constraint. Enterpret audited everything: memory allocation, idle compute, cold starts, cross-service chatter. Many Lambda functions still run on 128MB, made possible by Go’s efficiency.

At one point, a CloudWatch bill eclipsed total compute spend. It prompted stricter observability hygiene, alerting thresholds, billing reviews and architecture choices rooted not in idealism but in operational reality.

The discipline stuck.

The playbook Enterpret now gives others

Looking back, Dwivedi says the company would make the same choices again. Serverless gave the speed, cost control, and focus when the team needed it most. The monorepo, the RPC abstraction, the migration-ready design, all of it would stay the same.

But the company would be more cautious about force-fitting workloads that don't belong on Lambda. Earlier, one of its data collection services required long-running execution, so the team stitched it together with AWS Step Functions and checkpointing logic to bypass the timeout. It worked, but maintaining it was painful. AWS Batch would have been the right call from day one.

His advice to other engineering teams boils down to a few principles:

Keep infrastructure dead simple. Enterpret didn't host a single piece of infrastructure itself for four years. Managed services and boring technology beat clever solutions every time. "The startups that survive aren't the ones with clever infrastructure; they're the ones that stayed focused on their product while the cloud did the heavy lifting," Dwivedi notes.

Be ruthless about cost. It directly impacts runway. Set spending alerts, review bills weekly, question every line item. Small leaks compound into hemorrhages.

Design for horizontal scale from day one. The perceived effort gap between "quick-and-dirty" and "scalable" is often an illusion. A few good abstractions and clear service boundaries take marginally more time upfront but save you from rewrites later.

Don't chase cloud agnosticism too early. Enterpret committed fully to AWS. When you constrain yourself to what works everywhere, you're optimizing for the lowest common denominator. You get better systems by embracing what your cloud does best, not what every cloud does adequately.

Five years on, the architecture still holds.

The journey continues

Today, Enterpret processes hundreds of millions of customer feedback records. Many of the systems the team wrote in the first year are still running—not just running, but thriving. They've evolved, scaled, and adapted because the team found that compounding threshold early and stuck to it.

The company is now building agentic architectures, pushing into new territories of what AI can do with customer feedback. The landscape keeps evolving, and the team is still learning what works.

"Some patterns from our serverless journey translate beautifully. Others need rethinking entirely," shared Dwivedi.

The lesson isn't that serverless is the answer for everyone. It's that small, thoughtful decisions compound over time. Design systems that evolve rather than expand. Choose clarity over cleverness. And when you hit the limits of a technology, migrate; don't rewrite.

This is just a glimpse of what Enterpret builds. Read more about the same on their engineering blog here.

Market Opportunity
Sleepless AI Logo
Sleepless AI Price(AI)
$0.03738
$0.03738$0.03738
-2.35%
USD
Sleepless AI (AI) Live Price Chart
Disclaimer: The articles reposted on this site are sourced from public platforms and are provided for informational purposes only. They do not necessarily reflect the views of MEXC. All rights remain with the original authors. If you believe any content infringes on third-party rights, please contact service@support.mexc.com for removal. MEXC makes no guarantees regarding the accuracy, completeness, or timeliness of the content and is not responsible for any actions taken based on the information provided. The content does not constitute financial, legal, or other professional advice, nor should it be considered a recommendation or endorsement by MEXC.

You May Also Like

American Bitcoin’s $5B Nasdaq Debut Puts Trump-Backed Miner in Crypto Spotlight

American Bitcoin’s $5B Nasdaq Debut Puts Trump-Backed Miner in Crypto Spotlight

The post American Bitcoin’s $5B Nasdaq Debut Puts Trump-Backed Miner in Crypto Spotlight appeared on BitcoinEthereumNews.com. Key Takeaways: American Bitcoin (ABTC) surged nearly 85% on its Nasdaq debut, briefly reaching a $5B valuation. The Trump family, alongside Hut 8 Mining, controls 98% of the newly merged crypto-mining entity. Eric Trump called Bitcoin “modern-day gold,” predicting it could reach $1 million per coin. American Bitcoin, a fast-rising crypto mining firm with strong political and institutional backing, has officially entered Wall Street. After merging with Gryphon Digital Mining, the company made its Nasdaq debut under the ticker ABTC, instantly drawing global attention to both its stock performance and its bold vision for Bitcoin’s future. Read More: Trump-Backed Crypto Firm Eyes Asia for Bold Bitcoin Expansion Nasdaq Debut: An Explosive First Day ABTC’s first day of trading proved as dramatic as expected. Shares surged almost 85% at the open, touching a peak of $14 before settling at lower levels by the close. That initial spike valued the company around $5 billion, positioning it as one of 2025’s most-watched listings. At the last session, ABTC has been trading at $7.28 per share, which is a small positive 2.97% per day. Although the price has decelerated since opening highs, analysts note that the company has been off to a strong start and early investor activity is a hard-to-find feat in a newly-launched crypto mining business. According to market watchers, the listing comes at a time of new momentum in the digital asset markets. With Bitcoin trading above $110,000 this quarter, American Bitcoin’s entry comes at a time when both institutional investors and retail traders are showing heightened interest in exposure to Bitcoin-linked equities. Ownership Structure: Trump Family and Hut 8 at the Helm Its management and ownership set up has increased the visibility of the company. The Trump family and the Canadian mining giant Hut 8 Mining jointly own 98 percent…
Share
BitcoinEthereumNews2025/09/18 01:33
Why Scalable Blockchain Infrastructure Is Critical for India’s Web3 Revolution?

Why Scalable Blockchain Infrastructure Is Critical for India’s Web3 Revolution?

Explore why the future of India’s digital economy depends on robust, scalable, and secure Web3 cloud hosting solutions.
Share
Blockchainreporter2025/12/17 20:23
UK CPI signals strong case for BoE rate cut – MUFG

UK CPI signals strong case for BoE rate cut – MUFG

The post UK CPI signals strong case for BoE rate cut – MUFG appeared on BitcoinEthereumNews.com. If there was any doubt about a rate cut at the BoE’s MPC meeting
Share
BitcoinEthereumNews2025/12/17 20:01