Menu
Sign In Search Podcasts Charts People & Topics Add Podcast API Pricing

Jeff Kao

๐Ÿ‘ค Speaker
514 total appearances

Appearances Over Time

Podcast Appearances

Rust in Production
Radar with Jeff Kao

So there are some boundary conditions to take into account.

Rust in Production
Radar with Jeff Kao

But for the most part,

Rust in Production
Radar with Jeff Kao

You maintain because of like, you know, somebody who's smarter than me who came up with this thing called like using a Hilbert curve, you have a locality with adjacent IDs, which means that things that are close to each other will be, you know, if you sort it will be next to each other.

Rust in Production
Radar with Jeff Kao

Obviously, you know, barring some boundary conditions, but that fits really well into a system that has, you know, things sorted like a log structure merge tree.

Rust in Production
Radar with Jeff Kao

So you're able to make very efficient range and geo queries from something like that.

Rust in Production
Radar with Jeff Kao

So this is more related to the forward geocoding side, which is essentially translating your text query into some sort of geo entity.

Rust in Production
Radar with Jeff Kao

And so one of the requirements we had to deal with was essentially...

Rust in Production
Radar with Jeff Kao

being able to handle a little bit of typo tolerance from our address validation service.

Rust in Production
Radar with Jeff Kao

And that comes in many different forms.

Rust in Production
Radar with Jeff Kao

Like there's so many like sort of failure cases for search, which is a little bit different from like more typical web applications.

Rust in Production
Radar with Jeff Kao

It's like you click through a couple of things and that you expected this.

Rust in Production
Radar with Jeff Kao

really like all the different use cases are literally every type of single character that a user can type.

Rust in Production
Radar with Jeff Kao

Those are all the potential use cases.

Rust in Production
Radar with Jeff Kao

So the cardinality is extremely high.

Rust in Production
Radar with Jeff Kao

And essentially the number of failure cases is almost unbounded in some sense.

Rust in Production
Radar with Jeff Kao

There's just so many combinations that at that point, like there's so many ways to type something in.

Rust in Production
Radar with Jeff Kao

So we deal with fuzzy search in a couple of ways.

Rust in Production
Radar with Jeff Kao

We use a library called FST.

Rust in Production
Radar with Jeff Kao

And I remember there's an episode you had with Charlie Marsh from UV.