architecture

155 views
Skip to first unread message

mickey...@gmail.com

unread,
Aug 3, 2012, 4:49:29 AM8/3/12
to javam...@googlegroups.com
Hello
what's the architecture in Java Melody? I mean how the monitored data is sent to the monitoring server from the monitored web-app?

Vernat Emeric

unread,
Aug 4, 2012, 7:08:30 AM8/4/12
to javam...@googlegroups.com
Hi,

Using the monitoring in the webapp, without the optional collect server,
is simpler and in general more effective. But yes, you can use an
optional centralized collect server if you want.

As said in the advanced user guide, this optional collect server can
centralize in a same user interface and with a unique storage the
monitoring of several applications (QA and production for example) and /
or the monitoring of an application with several instances of servers (a
cluster for example). So the reports, the storage and the charts are
moved out of the monitored application to the collect server.

The collect server calls periodically the monitored webapps to get the
delta of the statistics and some data about global status (this is pull
and not push).
The channel of communication between the collect server and the
monitored webapps is http. And the format of the data is java
serialization over this http channel (xml over http is also possible but
not needed).
You can configure the frequency of calls and the storage directory.
There are options to secure the access to the data of the monitored
webapps including basic authentication and ip white list.
The collect server can be deployed in a container like Tomcat or with
the already included servlet container.

You can view the reports of the collect server with your browser and
choose the application and the period of the charts and of the
statistics to display (day, week, month, year or custom between two
dates). The graphics and the statistics are aggregated when the
application is for several instances in a cluster. The graphics are
stored in RRD format and the statistics are stored in ser.gz format.

Documentation:
https://code.google.com/p/javamelody/wiki/UserGuideAdvanced#Optional_centralization_server_setup

bye,
Emeric

niho...@gmail.com

unread,
Jun 17, 2013, 8:27:50 AM6/17/13
to javam...@googlegroups.com, mickey...@gmail.com
Bump!
 
An architecutral question with an architectural answer would be great!
 
These days, its hard to get such documentation, ie a JavaMelody architectural/design illustration. They justify going off with it rather than reasoning. Because it seems to work, everyone else jumps on the bandwagon that its not necessary. Everything should be built off engineering and their documentation. You'd think by now this would exist (hoping others chime in).
 
Best i could find:
 
I had difficulty understanding evernats post and how it relates to the topic. I'm not sure how the collection server reply helps?

Vernat Emeric

unread,
Jun 17, 2013, 5:54:39 PM6/17/13
to javam...@googlegroups.com
Hi,

Yes, documentation is often scarce for open-source projects. Or is it for most projects?

But you can find source code and some user's/advanced/dev&archi documentations at:
https://code.google.com/p/javamelody/wiki/UserGuide

If that's not enough:
- you can just try it
- or perhaps some others will help
- then help others

bye,
Emeric
--
 
---
You received this message because you are subscribed to the Google Groups "javamelody" group.
To unsubscribe from this group and stop receiving emails from it, send an email to javamelody+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages