Looks very interesting Radim, hope to see it at work soon :-)
Moving the conversation to -dev as other users might benefit from this as well.
On 2 May 2013, at 14:48, Radim Vansa wrote:
Good news, everyone,
in the last two weeks I've been working on a tool that could help us to profile
Infinispan performance, analyze it and probably debug some stuff as well. While trace logs
are the most useful, performance is impacted to almost unusable levels and it still does
not provide enough information, logs have low precision etc.
The idea is to analyze the behaviour based on the requests and track down the
consequences of each request (put/get/whatever). Currently I have a working prototype (I
believe already useful) which is able to track down all messages based on the initial
request, records which threads execute etc. It's Byteman based, no trace logs/code
changes required. However, according to my initial testing it reduces the overall
performance 2-3 times.
The code is located in
https://github.com/rvansa/message-flow-tracer , please look at
README for details what it can do and ping me if you have any questions/feedback.
Radim
PS: short demo output on
http://pastebin.com/raw.php?i=SBQFuG3a
-----------------------------------------------------------
Radim Vansa
Quality Assurance Engineer
JBoss Datagrid
tel. +420532294559 ext. 62559
Red Hat Czech, s.r.o.
Brno, Purkyňova 99/71, PSČ 612 45
Czech Republic