New every Friday: the week's best founder lessons in one email. Subscribe free
Back to All Episodes
S8 E29: Open Source Device Management Using SQL with Zach Wasserman of Fleet
Oct 31, 2023 28:52 S8 E29

S8 E29: Open Source Device Management Using SQL with Zach Wasserman of Fleet

0:00 / 28:52

About this episode

Open source device management with osquery: Zach Wasserman of Fleet on giving IT and security teams SQL-based visibility and control over laptops and servers.

———

Zach Wasserman lives near Vancouver, but grew up a child of the 90's in Berkeley, California. The .COM boom was happening around him, so he found himself fascinated with this era in tech, with little understanding of the details. He was a skater kid, riding around the Bay Area, typically on a short board over long board. Nowadays, he is more into the outdoors, as a mountain biker, rock climber and back country skier. He enjoys the vast selection of Chinese food at his home near Vancouver.

In 2014, Zach was working at Facebook. During that time, a team member wanted to build a platform where they could know what was going on with all of their assorted machines. They ne eded a way to ask questions without writing code, and more quickly get answers about their community of devices.

This is the creation story of Fleet.

Sponsors

Links

Times are from the episode recording; ad breaks in your player may shift them a bit later.

Read the key answers from this episode, with quotes and timestamps from Zach Wasserman from Fleet: https://www.codestory.co/episodes/s8-e29-the-16-million-host-blueprint-treating-operating-systems-like-sql-tables-and-engineering-open-source-endpoint-security-with-zach-wasserman-co-founder-cto-of-fleet/



Current Sponsors:

Checkout our Substack

Checkout our Stacklist!

Checkout our Patreon!

Hosted by Noah Labhart.



Our Sponsors:
* Check out Granola and use my code granola.ai/CODESTORY for a great deal: https://granola.ai
* Check out Perplexity: https://pplx.ai/codestory


Advertising Inquiries: https://redcircle.com/brands

Privacy & Opt-Out: https://redcircle.com/privacy

Chapters

Featured Guest

Latest Season of the Podcast is Sponsored By

Key Takeaways

  • SQL Instead of Scripts: osquery uses SQLite virtual tables hooked to OS APIs and the file system, so users can query and join device data with a little SQL instead of writing Python, PowerShell or Bash.
  • One API for Everyone: Fleet's React single-page app uses the same APIs customers get. Zach says this slows shipping somewhat, but anything clickable in the UI can be done by API, and the app doubles as a reference implementation.
  • Two Very Different API Loads: A deployment with 10 human users may have 10,000 to 100,000 devices checking in. Human-facing endpoints need low latency, while agent endpoints mainly need throughput.
  • Scaling Past the Early Ceiling: Early Fleet fell over at about 3,000 to 5,000 devices as check-ins overwhelmed the database. Revisions and incremental optimization took it to hundreds of thousands of connected devices.
  • Buyer-Based Open Core: Following GitLab's model, Fleet keeps its MIT-licensed core ready for individual practitioners and aims premium features, with clear return on investment, at the people with purchasing power.

Frequently Asked Questions

How does osquery let you query operating systems with SQL?

Zach Wasserman, who helped co-create osquery at Facebook, explained that the team found "SQLite has a really interesting concept called virtual tables, where you can actually" [05:22] call functions that generate data as if it sat in a real table. They hooked those tables to OS APIs and the file system, so users can get answers by writing SQL rather than code.

How did Fleet start as an open-source project and company?

Zach said the MVP was an osquery management server built in about six months at his former company, Kolide, with a Go backend and a React frontend. Kolide open sourced the code when it pivoted, and Zach said of the project, "people were starting to use. And that was what really caught my attention" [08:00]. The company Fleet was founded on that code base in 2020.

How does Fleet decide which features are free and which are premium?

Zach said Fleet follows the buyer-based open core model that Sid Sijbrandij has promoted at GitLab. In his words, "we make sure that we build something that really is ready to use for individual practitioners," [12:58] while premium features offer clear return on investment to those with purchasing power.

What scaling challenges does Fleet face with large device fleets?

Zach said early versions had a limit: "Fleet would work up to until you're managing about three, four, five thousand devices with it." [18:22] He also described backlogs of device data that could turn small outages into bigger ones, which pushed the team to learn how to bring a system back online slowly.

Does Fleet support mobile device management (MDM)?

At the time of the interview, Zach said Fleet had released macOS MDM in April and planned to ship the same for Windows by the end of that year. He described the shift from telemetry by saying "the big thing that Fleet has been moving into this year is actually the active management of the system." [23:08]

Media List 5000, Podcasts, Fall 2026