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

Jeff Kao

πŸ‘€ Speaker
514 total appearances

Appearances Over Time

Podcast Appearances

Rust in Production
Radar with Jeff Kao

Maybe you pay some cost of serialization, deserialization from some of the storage systems, which will change soon because, you know, there's a lot of very nice like zero copy libraries from Rust.

Rust in Production
Radar with Jeff Kao

The CPU intensive queries tend to be of search.

Rust in Production
Radar with Jeff Kao

I would say it's actually both because if you think about it, like as I mentioned, this inverted index structure, if you have to do many key lookups, right?

Rust in Production
Radar with Jeff Kao

You tokenize your query, one, two, three, fake street, Brooklyn, New York.

Rust in Production
Radar with Jeff Kao

And in fact, there's many ways to express it in synonyms.

Rust in Production
Radar with Jeff Kao

So maybe you expand the query and maybe instead of

Rust in Production
Radar with Jeff Kao

123 fake ST, it could be street.

Rust in Production
Radar with Jeff Kao

Or if you know the users in Germany, it's Straße.

Rust in Production
Radar with Jeff Kao

And we haven't indexed or normalized everything in a certain way.

Rust in Production
Radar with Jeff Kao

So we do expand the queries.

Rust in Production
Radar with Jeff Kao

And you can see how it can fan out to many keys being pulled back.

Rust in Production
Radar with Jeff Kao

And once you have all these candidates, you essentially have to rank them.

Rust in Production
Radar with Jeff Kao

And so there is a little bit of CPU intensiveness in that, but we're working on optimizing these things.

Rust in Production
Radar with Jeff Kao

And I will say that if you do decide to build this sort of analytics or search system, we're very big fans of this new approach with growing bitmap, which is...

Rust in Production
Radar with Jeff Kao

It's actually, you know, an implementation that you see across many different languages.

Rust in Production
Radar with Jeff Kao

But we found, you know, at least from the sort of candidate fetching where we're essentially in the inverted index and trying to pull out which candidates match a criteria.

Rust in Production
Radar with Jeff Kao

Those tend to be like microsecond operations for most of our geocoding queries.

Rust in Production
Radar with Jeff Kao

So that's why we're sort of moving over to a more like dedicated and specific system for our use case.