The breaking point: manual spreadsheets at enterprise scale
When a patient seeks mental health care—whether in-person or via telehealth—friction is the enemy. A patient searching for a therapist needs to filter by insurance accepted, clinical specialty, geographic location, and immediate appointment availability. For a local clinic with ten doctors, managing this on a website is simple. For an enterprise operating at the scale of LifeStance Health, it is a monumental engineering problem.
Before we stepped in, the digital infrastructure powering LifeStance’s provider directory was buckling under the weight of the company’s rapid growth. Behind the scenes, the workflow relied on manual human labor that simply could not scale. Every single day, internal employees were tasked with manually uploading massive spreadsheets into the website’s CMS (Content Management System—the back-end software used to manage digital content, such as WordPress) just to update clinician profiles.
Because human beings were manually processing data for over 8,500 clinicians, it was physically impossible to track and upload available appointment dates and times. A therapist’s calendar changes minute by minute as appointments are booked or canceled. By the time a daily spreadsheet was formatted, uploaded, and processed, the data was already obsolete. Patients were looking at chronically out-of-date availability, creating a frustrating gap between the digital storefront and the reality of the clinical schedules.
Worse yet, the website’s underlying database was never designed to handle high-concurrency search queries across that volume of complex data. High concurrency refers to thousands of users simultaneously asking the database complex questions at the exact same second. As patients flooded the site searching for care, the standard CMS database choked. The site experienced severe slowdowns and frequent SLO (Service-Level Objective) breaches—meaning the website was failing to meet the strict uptime and speed guarantees required for an enterprise healthcare platform. Slow load times weren’t just frustrating patients; they were actively penalizing LifeStance’s rankings on Google.
Learn first, then build: decoupling search from the CMS
At Darkstar, we learn where the work actually moves, identify the true operational bottleneck, and then we build. You cannot solve an enterprise data architecture problem by simply throwing more servers at a broken CMS database, nor can you solve it by asking employees to upload spreadsheets faster. We needed to fundamentally re-architect how provider data moved from LifeStance’s internal scheduling systems to the public-facing website.
Our first move was to eliminate the bottlenecked CMS database queries entirely. A standard CMS database stores information in rigid rows and tables that require heavy computing power to cross-reference during a live user search. We replaced this legacy setup with a custom search database and indexing engine purpose-built for instant retrieval.
Instead of forcing the website to dig through thousands of raw profile pages every time a patient typed in a zip code, the custom indexing engine pre-organizes the data for lightning-fast lookup. It was engineered specifically to search across nearly 11,000 employee profiles, cross-referencing clinical specialties, insurance networks, and complex scheduling matrices in milliseconds.
Bridging the gap: the intermediate API and caching layer
Building a fast search engine on the website was only half the equation; we still had to feed it accurate, real-time appointment data without relying on manual spreadsheet uploads. To do this, we collaborated closely with LifeStance’s internal engineering team to co-develop a custom integration API (Application Programming Interface—a digital bridge that allows two distinct software systems to talk to each other automatically).
However, as we mapped the data flow, we uncovered a secondary bottleneck. LifeStance’s primary internal API—the core system holding the live clinical schedules—suffered from severe latency (data transfer delays). It was built to handle internal administrative tasks, not to serve live, instant requests from thousands of concurrent website visitors. If we connected the public website directly to their internal API, the sheer volume of public search traffic would overwhelm their internal systems, resulting in the exact same slowdowns we were trying to fix.
To protect their internal systems while guaranteeing sub-second search speeds for patients, we engineered a separate, agency-managed caching layer that sits squarely between LifeStance’s internal API and the public website.
A caching layer acts as an ultra-fast, high-capacity short-term memory bank. Here is how our architecture changed the daily movement of data:
- Automated background ingestion: Instead of humans uploading spreadsheets once a day, our intermediate layer quietly communicates with LifeStance’s internal API in the background on a regular schedule, pulling updated clinician profiles, credentials, and available appointment slots without overwhelming their core servers.
- Bypassing internal latency: Once that data is pulled, it is organized and stored in our high-speed caching layer. When a patient visits lifestance.com and searches for a psychiatrist in their state, the website doesn’t have to wait on the slow internal API. It hits our caching layer and gets an instant answer.
- Performance vs. data integrity tuning: In high-volume enterprise architecture, there is always a tug-of-war between speed (serving cached data instantly) and accuracy (fetching the newest data). Through multi-iteration tuning, we calibrated the exact refresh rates needed to eliminate the historic data lag. We achieved near-real-time accuracy for provider availability while maintaining rock-solid platform stability.
The human and operational impact
At Darkstar, our philosophy is that great technology should make teams more capable by removing the soul-crushing busywork that holds them back. Before this architectural overhaul, internal staff were trapped in a daily cycle of spreadsheet management—a manual process that was doomed to fail given the sheer math of managing 8,500+ dynamic clinical schedules.
By automating the data pipeline through the co-developed API and our managed caching layer, we completely eliminated the manual spreadsheet workflow. Internal operations teams were freed from daily data-entry triage and could redirect their focus toward high-value patient support and clinical operations.
For the patients, the experience was transformed. A person in need of mental health support could now land on the site, filter through thousands of providers without the page freezing, and see accurate, up-to-date dates and times for appointments. The technology stepped out of the way, allowing the healthcare provider to actually provide care.
The return on investment: stability drives visibility
In the modern search landscape, technical infrastructure and SEO (Search Engine Optimization) are deeply intertwined. Search engines like Google actively measure how fast a website responds and how stable it remains under heavy traffic—metrics known as Core Web Vitals. When LifeStance’s legacy database was choking on queries and breaching its Service-Level Objectives, search engines noticed, and organic visibility suffered.
Once we deployed the custom search database and the intermediate caching layer, the platform stabilized immediately. The severe site slowdowns vanished, and SLO breaches were eliminated. The site could now effortlessly handle massive spikes in concurrent users while serving complex provider availability data in fractions of a second.
The downstream business result was massive. Following the technical performance stabilization—and working in tandem with LifeStance’s strong public relations and brand initiatives—organic Google traffic to the platform surged by roughly 200%. By fixing the underlying data plumbing and making thousands of clinician profiles cleanly, rapidly indexable by search engines, we helped unlock a massive wave of new patient acquisition for a billion-dollar healthcare leader.

