John Gallagher
Founding Engineer at Scuba
About
John Gallagher is Founding Engineer at Scuba. Previously, John Gallagher has worked at Notion.
Work Experience
Jul 2025 - Present (1y 5m)
Aug 2024 - Jun 2025 (10m)
Notion Search and AI
Apr 2016 - Jul 2024 (8y 3m)
Co-tech-lead on the Slack AI Search team. Prototyped and developed the Slack AI Search Answers implementation that launched in Feb 2024. Served as design and tech lead for Slack's new search infrastructure. The new architecture leveraged offline-built indexes and SolrCloud distributed search to scale Slack search to 100s of billions of documents, reduced latency by 3x (avg) to 7x (p95), and a returned a 4.3m annual cost savings. Co-tech-lead the Search Infrastructure and Backend team. Interviewed and onboarded and new members, upstreamed improvements to Solr, collaborated with teams to build their solutions on top of search. Built Computed Data Service, Slack's offline-to-online low-latency distributed key value store, which powers ranking models, analytics, billing, and more.
Aug 2011 - Mar 2016 (4y 7m)
Led the redesign of Foursquare's local search query processing pipeline and classification strategy in order to understand more complex queries. Aided in the design of a truncation model that removed irrelevant results. Improved tools to visualize and validate search improvements before we shipped them, and contributed to our competive analysis framework. Improved autocomplete performance and engagement. Created core pieces of Foursquare infrastructure: the application-level API router, SOA libraries and development tools, enabling the product to scale from 5 org-owned services to 30 team-owned services in a few months. Built an in-memory timezone and country reverse geocoder (part of open-source Twofishes); and an exception-gathering service (open-source Exceptionator). Aided teams with architecture guidance and performance advice.
