-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
A few weeks ago I was another victim of the RIIR (Rewrite It In Rust) agenda. I got inspired by the awesome wiremock-rs. At first sight, I saw it hadn't the ability to start a mock server from json stubs. That's the kind of functionality I'm intensively using in my daily job of Java developer ; may it be for contract testing with Spring Cloud Contract or for mocking external services in integration (sometimes perf) tests.
A few weeks ago I was another victim of the RIIR (Rewrite It In Rust) agenda. I got inspired by the awesome wiremock-rs. At first sight, I saw it hadn't the ability to start a mock server from json stubs. That's the kind of functionality I'm intensively using in my daily job of Java developer ; may it be for contract testing with Spring Cloud Contract or for mocking external services in integration (sometimes perf) tests.
I also set up an incremental benchmark to track down progresses made in each version of stubr. I also did a (very naive) benchmark of stubr against the original Java Wiremock here. Though too simple and not very objective (Wiremock not optimized at all), it still highlights a mean cpu usage divided by 4 and a mean memory usage divided by 100+ more a slightly better and steadier throughput.
It also comes in different flavours: * a Rust crate e.g. Stubr::start("tests/stubs/ping.json").await * a cli installable with cargo install stubr-cli and with completion files generation thanks to clap * a Docker image * a Helm chart with HPA (Horizontal Pod Autoscaler)