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

It's significantly over-provisioned now, which is why we're looking into how we can be more efficient about dealing with spikes.

Rust in Production
Radar with Jeff Kao

We already actually shard out the database servers by different use cases and by different tiers of customers because we are a SaaS company, just to reduce or essentially just to isolate certain workloads and prevent outages from a bad query from one customer affecting others.

Rust in Production
Radar with Jeff Kao

All that's to say is like we are quite over provisioned there, but we're working on it.

Rust in Production
Radar with Jeff Kao

Yeah, that's right.

Rust in Production
Radar with Jeff Kao

Cost cutting is like a, I wouldn't say it was the primary thing for getting this started, but we did see a lot of benefit from that.

Rust in Production
Radar with Jeff Kao

So even running 30 nodes, we're able to replace, you know, a number of like Elasticsearch instances.

Rust in Production
Radar with Jeff Kao

And we represented like geo queries in many different ways, like denormalized across different stores, stores like Redis and Mongo as well.

Rust in Production
Radar with Jeff Kao

You know, and then in total, I would say actually, even with the 30 nodes, you

Rust in Production
Radar with Jeff Kao

And over-provisioning.

Rust in Production
Radar with Jeff Kao

We probably saved maybe mid to high five-figure monthly spending for some of these things.

Rust in Production
Radar with Jeff Kao

Which is a misleading metric because for geocoding, which is search, is a very different workload from reverse geocoding.

Rust in Production
Radar with Jeff Kao

We do 600 queries per second per box, and it's about 20 to 30% CPU at the steady state, which means it can go higher.

Rust in Production
Radar with Jeff Kao

And I would say that, you know, our search workloads are probably like a 10x, sometimes even 100x of like reverse lookups as well as like primary key lookups.

Rust in Production
Radar with Jeff Kao

So, you know, breaking it down into like the different use cases for geocoding, which is search query reverse geocoding, which is like a lat long lookup.

Rust in Production
Radar with Jeff Kao

And then maybe even like primary key lookups.

Rust in Production
Radar with Jeff Kao

I would say the latter two are more IO bound.