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

Cian Butler

๐Ÿ‘ค Speaker
690 total appearances

Appearances Over Time

Podcast Appearances

Rust in Production
Cloudsmith with Cian Butler

That's got good and bad.

Rust in Production
Cloudsmith with Cian Butler

It meant that previously we would have like the memory and CPU would stay flat.

Rust in Production
Cloudsmith with Cian Butler

But now like as requests went up, you could actually see the CPU was going up and down because we were doing more work.

Rust in Production
Cloudsmith with Cian Butler

And we were like, that's a good signal for us scaling now.

Rust in Production
Cloudsmith with Cian Butler

We could use that to do some auto scaling where previously we couldn't do that auto scaling.

Rust in Production
Cloudsmith with Cian Butler

Exactly, yeah.

Rust in Production
Cloudsmith with Cian Butler

So we sat down and we drew up a testing scenario, like some numbers we wanted to see, some testing we want to do.

Rust in Production
Cloudsmith with Cian Butler

Which parts of the stack could we try removing now that we just, and could we just replace it with Kranian?

Rust in Production
Cloudsmith with Cian Butler

So we did a lot of different load tests to the point we actually managed to bottleneck in the load test tooling.

Rust in Production
Cloudsmith with Cian Butler

We hadn't scaled the load test tooling up high enough that it could push enough throughput in one of our tests that we needed to step back and change the load test tooling out.

Rust in Production
Cloudsmith with Cian Butler

for, we were previously using Locust, which is a fantastic load test tool for where you manage stuff in, you write your load test in Python and you can, and then you spin on top lots of Python workers that are managed and it does the load test from different places.

Rust in Production
Cloudsmith with Cian Butler

But those workers were becoming our bottleneck.

Rust in Production
Cloudsmith with Cian Butler

So, well, they're not really a bottleneck.

Rust in Production
Cloudsmith with Cian Butler

How much money we were willing to spend on those workers became the bottleneck.

Rust in Production
Cloudsmith with Cian Butler

Like how many workers could you spin up for a load test was the bottleneck.

Rust in Production
Cloudsmith with Cian Butler

So we switched out for a tool called Goose, which was a reimagining of that in Rust.

Rust in Production
Cloudsmith with Cian Butler

Managed to push for the same amount of workers.

Rust in Production
Cloudsmith with Cian Butler

We were able to push more requests, like I think 100 or 1,000x more requests per worker, which meant that bottleneck was out the window.

Rust in Production
Cloudsmith with Cian Butler

I think that was the biggest signal of we can push more was when we had to swap out the load testing tool because that was what was being saturated.