Skip to content

Atlys accelerates travel-visa analytics by 28x with ClickHouse Cloud

neutral avatar 400804ae96
Dec 3, 2026 · 12 minutes read

Summary

  • Atlys, a visa processing platform, runs its real-time analytics on ClickHouse Cloud, joining product events, application data, and operational tables in one store.
  • Its previous stack spread data across five pipelines, including Snowflake and Postgres. The stack synced twice a day and couldn't join data across domains.
  • Atlys moved first to self-hosted ClickHouse, then to ClickHouse Cloud in a 30-day phased migration. User-funnel queries now run 28x faster and the slowest production queries run 50x faster.
  • Fulfilment and customer service teams now ask operational questions directly, such as how many appointment bookings are stuck today, and rely on the answers.

Atlys is a visa processing platform built to get travellers their visas on time. As VP of Data Manik Dua explains, the company brings a familiar model to an unfamiliar place. "Look at how, as Indians today, we order food or do cab bookings. We don't do them over a call; we have apps for them. We have aggregators," he says. Atlys plays that role for visas, operating within each embassy’s rules and requirements.”

No two applications are alike. Each visa application and its documents have to be tailored to the applicant, and Atlys uses AI and automation to make that process seamless. Applications, documents, fulfilment, and government submissions all run on one stack, and every one of them emits data. Automation handles approximately 80 to 90% of Atlys' visas, Manik says, but "every application is going to have a human behind it."

Those people need answers fast. "Any business wants decisions to be taken in real time," Manik says.

At ClickHouse Open House in Bangalore, Manik and Senior Software Engineer Abhishek Banerjee shared how Atlys rebuilt its data stack around ClickHouse twice: first self-hosted, then on ClickHouse Cloud on AWS. Along the way, it consolidated five data pipelines into one store, cut dashboard load times by 7x, and gave its operations teams answers they could trust.

Customer operations needed fresh data and real-time analytics

Atlys' original data stack grew one tool at a time. Frontend and backend events flowed from Segment into Snowflake, with Metabase on top. PostHog handled product analytics. Fulfilment and backend data lived in Supabase and Postgres, reported through Metabase. Firestore covered one-off work, and a newer Postgres database fed Looker Studio.

"If you look at it, there was no way to join the data together. The data lived in five different places," Manik says. "There were five different pipelines to maintain, five different sanity issues, all of it was just a lot of tooling tax for us."

Freshness was a problem too. Segment synced data to Snowflake twice a day, at 06:00 and 18:00, so every question asked in between was answered with older data. Each layer of Metabase, Snowflake, and Segment added another place for something to potentially fail.

Cost mattered as much as speed, and licensing for Snowflake and all the tools added up fast. "We are still a growing startup; we are going to be cost efficient wherever our budgets go," Manik says. "Analytics, as people view it, especially in the initial years of any company, is a cost center. It needs to provide ROI and you have to make it as efficient as possible."

The breaking point was a simple business question: how many users who applied for a Schengen visa also paid extra to fast-track it? Purchases lived in Postgres, while fast-track payments lived in the analytical warehouse. "That singular question we couldn't answer," Manik says.

Why Atlys chose ClickHouse

The team knew what it needed. "We needed to have a data warehouse that could solve our real-time analytics problems, have enough tools so that all of our data sources can be connected, and also be blazing fast," Abhishek says. "So the obvious choice was ClickHouse."

He points to the fundamentals. "MergeTrees have really fast inserts and reads, and the data compression is also great so that you don't pay extra for storage."

Atlys started with self-hosted ClickHouse on its own Kubernetes infrastructure, partly because the team wanted control over sharding. To compare engines, it ran the same production queries on Snowflake, self-hosted ClickHouse, and ClickHouse Cloud. A 30-day user funnel query with three joins took 54 seconds on Snowflake, 7.8 seconds on self-hosted ClickHouse, a 7x improvement.

The cost model changed as well. "With Snowflake and Metabase we had licensing costs, but in ClickHouse self-hosted, the only tax we were paying was our infrastructure," Abhishek says.

Pulse: owning the ingestion layer

With a warehouse in place, the next question was how to get data into it. Atlys has three clients (a website, an Android app, and an iOS app) plus a number of backend services that send analytical data as events. "None of that could be powered through Segment alone," Manik says.

So the team built its own ETL pipeline, called Pulse, offered to every client as an API. Pulse receives an event and enriches it with user metadata. It then hands the event to NATS, the message broker that publishes it onward with backpressure, and NATS delivers it into ClickHouse.

Pulse was designed around the problems the team had hit before. Under the old architecture, one client might send a field as a string and another as a float, and the insert would fail without anyone knowing for up to seven days. Pulse moved that work to the source. Column patching, schema identification, and typecasting all happen at the Pulse API. "This was a problem that needed to be fixed right at the root cause,” says Manik.

Challenges of self-managing during 50x traffic spikes

Atlys' self-hosted cluster ran three replicas across two shards, sharded by user ID, timestamp, and ID. Each of the six nodes held its own local table, with one Distributed table on top. Inserts went to the local tables, and every read went through the Distributed table, which found its way to the right node. "If any node goes down or if it needs scaling up, that was handled out of the box with this ClickHouse architecture," Abhishek says.

For dashboards and alerting, the team replaced Metabase with Grafana reading directly from ClickHouse. Grafana used less memory than Looker Studio, offered native alerting, and also cost nothing in licensing.

Over time, though, running the cluster pulled the team away from its real work: building the systems that get travellers their visas. “We’re not experts at data warehousing,” Manik says. “Self-hosting something requires understanding a number of different components.” The complexity showed up as failures in specific shards or replicas, which could affect the entire event stream. At times, pointing a query at one replica returned one answer and pointing it at another returned a different one.

One challenge Manik recalls came when the ZooKeeper metadata layer that keeps replicas in sync crashed. "That one crash gave us really sleepless nights," Manik says. During one sale event, traffic spiked 50x and the self-managed setup couldn't catch up. As he puts it, "Are we here to solve infra issues or are we here to provide visas?"

“We trust ClickHouse Cloud to be the expert in data warehousing; we are the experts in providing you the best travel experience possible.” — Manik Dua, VP of Data at Atlys

A 30-day phased migration to ClickHouse Cloud

Atlys found its next step in ClickHouse Cloud. Rather than switching over in a single weekend, the team spent 30 days moving in three phases.

  1. Parallel writes and backfill (days 1 to 14). The team provisioned a ClickHouse Cloud service, backfilled the full dataset in about 3 hours, and had Pulse dual-write to both clusters. "Parallel writes were very important because we might not know what might not work if syntax changed with a different version," Abhishek says.
  2. Validation (days 14 to 25). The team ran identical queries on both clusters, using synchronization scripts to compare counts, aggregates, and timestamps, and fixed any discrepancies before moving reads.
  3. Cutover (days 25 to 30). With full confidence in ClickHouse Cloud, the team flipped reads over, monitored for 48 hours, and decommissioned the self-hosted cluster.

On ClickHouse Cloud, the sources Atlys once kept apart now land in one place. "ClickHouse Cloud provides us with so many different connectors," Abhishek says. "We can connect our Postgres via CDC, we can have materialized views, and we can have refreshable materialized views."

Application data in Postgres replicates through ClickPipes change data capture. Google Sheets serve as runtime tables, and data in S3 is read through ClickHouse's native s3 table function, with no pipeline code for any of them. Materialized views and refreshable materialized views shape the data for the way teams use it.

On top of that foundation, Atlys keeps five to seven tables that encode its own business definitions, such as what counts as revenue, fulfilment, and perfect fulfilment. "It's an entire funnel in itself," Manik says.

That single store matters most to the people working applications. Before, patterns that affected many applications at once could go unnoticed. Manik gives the example of 50 applications stuck waiting for appointment booking at a visa center for a specific slot date. Neither architecture surfaced it: the old one had no single store, and the self-hosted setup's results couldn't always be trusted. Now a Grafana alert on ClickHouse can catch that pattern. It combines Pulse step events, application data mirrored from Postgres, and a calendar of key dates the team maintains in a Google Sheet, all in one query.

Current architecture. A single universal store, with everything cross-joinable.

Real-time answers fulfillment teams can rely on for visa processing

"What changed was pretty apparent for us," Manik says. "What we thought was the best architecture might not always end up being the best architecture."

Dashboards are the main way business stakeholders use the data. On ClickHouse Cloud, a dashboard built on a multi-table aggregation loads in 1.15 seconds, down from 8.1 seconds on the self-hosted cluster, and 22 seconds on Snowflake. The slowest production query dropped from 30 seconds to 0.6 seconds, 50x faster. The full backfill into ClickHouse Cloud took 3 hours. Manik credits some of the gains to the team's own tuning: "Obviously, a little bit of optimization here and there gives some credit to us as well."

The bigger change was in how the business works with data. "Once this switch happened, tech debt was freed up the most," Manik says. Fulfilment teams now bring operational questions straight to the data.

"Customer operations teams can ask, 'How many appointment bookings do I have stuck today for a group of two in the Delhi center for France?' At that point, I could give it to them instantaneously and reliably." — Manik Dua, VP of Data, Atlys

That reliability has spread across the company. "Different functions across Atlys that rely on analytical workloads now use this data and trust it more and more," Manik says.

Three lessons from rebuilding twice

Manik shares advice for teams on a similar path. The first is to build something like Pulse early. "The more control you have over your ETL, the more control you're going to have over what destinations you support, how it's enriched, processed, batched, or real-time," he says.

The second is to phase migrations rather than attempt a big bang. Moving from self-hosted to ClickHouse Cloud was one of the biggest projects he took on. "There could have been a way where I just said, 'Okay, I'll run the script,' but that could have caused a massive failure on my side where business data couldn't be relied on or other operations could suffer," he says. "So choose phased over big bang."

"An important piece of advice. Move to ClickHouse Cloud sooner. Trust the experts so that you can concentrate on adding business value." — Manik Dua, VP of Data, Atlys

Today, Atlys has consolidated its data foundation onto ClickHouse Cloud, every source is cross-joinable in real time and Atlys' operations teams can rely on the infrastructure, and the business can rely on the numbers.

Get started today

Interested in seeing how ClickHouse works on your data? Get started with ClickHouse Cloud in minutes and receive $300 in free credits.

Sign up

Share this post

  • Y Combinator icon
  • X icon
  • Bluesky icon
  • Facebook icon
  • LinkedIn icon

Subscribe to our newsletter

Stay informed on feature releases, product roadmap, support, and cloud offerings!

Recent posts

Lionel Palacin and Gülçin Yıldırım Jelínek · Dec 3, 2026

Follow us

XBlueskySlackGithubTelegramMeetupRSS