Hello all, I've been using WireMock for quite some...
# general
s
Hello all, I've been using WireMock for quite some time now and it's a great solution, probably the best free open source solutions out there, but there a few key features that I feel are missing for a "cloud native" solution. • #1 by far is observability... I'm using Wiremock to load test a big distributed system and I have no way of seeing how WireMock is behaving. Is it handling the load ok, do I need more replicas of it? how's memory being manages? I've seen a few external solutions (extensions) for telemetry but there's nothing "official" that keeps up with WireMock. I wish we had something out of the box. • The other item, but it's actually related to the first one to be honest is a proper benchmark. How much traffic has a speocif instance of Wiremock can handle with X stubs Y memory and Z cpu? That would be very useful because we usually grab solutions like this one and take it for a quick test but we then need to move to the real deal... and sometimes the live environment is too much for it So, speaking of which... it would be nice to have known use cases in your blog... like successful cases and how Wiremock was used to get there. I'd be happy to share my story, once I get it working for the specific CCUs I need 🙂 Cheers
l
Definitely agree on those points. We have an otel extension that was started as part of the hacktoberfest last year. It is a good start but it doesn't yet cover all the cases needed for good observability. If this is something you would like to contribute to we are always happy to accept new contributions. Benchmarking is always a little tricky. It is so dependent on what you are actually doing with your stubs. X number of simple url matching stubs with static responses would scale much better with Y memory and Z cpus than the same number of stubs performing large json matching and performing complex templating in the response etc. Either way, it would perhaps be nice to have a range of benchmarks available as a guide.
We would be very interested in hearing your story and perhaps sharing for others to benefit from
It sounds like you have a pretty good setup as far as your WireMock use is concerned but you might want to take a look at WireMock Cloud. A number of the enterprise features you are referring to are covered in WireMock Cloud - https://www.wiremock.io/comparison
s
Thanks @Lee Turner for coming back to me, and yes, I would love to contribute to the project... I just need to find the time 🙂 As of WireMock Cloud, I have thought about it, but we\re really struggling on latency so we need WireMock as close as possible to our solution. I will keep it in mind though. Cheers
Regarding the Otel extension, I haven't tried yet and I will but right now the documentation is very... non existent 😄 (it's understandable though) I tried another extension but it's not compatible with WireMock 3.9 so lead nowhere 😞