Hello,

I would suggest to refer to following metrics and use MX bean:
https://apacheignite.readme.io/docs/cache-metrics, there are average
metrics for get/put/remove.

I'm not entirely sure if you really do want to have some internal
benchmarking for each operation, how big are workloads going to be in your
use-case? Would some generic implementation that is based on cache metrics
MX bean work for you as a solution here? Еhis is necessary to hold timings
for each single operation in the metrics as obviously it will require some
configuration to come up with like how many operations statistics to store,
when they should be dropped, when to reset etc.

The quickest thing to do is to wrap calls to these operations with time
measurements and do with that information any custom things you want to.

And if I've understood it wrong way, you can simply write your own
benchmarks and execute them on your environment within benchmark framework
that Ignite is shipped with:
https://github.com/apache/ignite/tree/master/modules/yardstick

Refer to DEVNOTES.txt file in this module to mvn line to execute and
directory to run and find benchmark config samples, it can warmup, gather
statistics and plot graphs (refer to short yardstick doc:
https://github.com/gridgain/yardstick/blob/master/README.md,
jfreechart-graph-gen.sh script to plot graphs from benchmarks output
directory is available).

пн, 15 июл. 2019 г. в 17:16, Andrei Aleksandrov <[email protected]>:

> Hi,
>
> You can try to use the web console for Ignite. It contains the Monitoring
> Dashboard with different cache metrics that were calculated during some
> period of time. Also, it contains different graphics related to cache
> operation throughput and latency:
>
> https://apacheignite-tools.readme.io/docs/ignite-web-console
>
> You can try to use the next "ready to go" installation for testing:
>
> https://console.gridgain.com/monitoring/dashboard
>
> BR,
> Andrei
>
> On 2019/07/15 13:20:09, nikhil dhiman <[email protected]> <[email protected]>
> wrote:
> > Hi, I am almost production ready, but I want to plot graphs for>
> > Throughput, latency operation wise[get, put, delete, eviction]. Is>
> > there a way I can produce metrics for time taken by ignite node for>
> > get/put/delete. I can see many metrics via rest module. But i am>
> > unable to find the above metrics.>
> >
> > I am on Ignite 2.7.5 version.>
> >
> > Thanks & Regards,>
> > Nikhil Dhiman>
> >
>

Reply via email to