Distributed subject observer pattern with ano-plass and DistributeMe
Asynchronous notification aka publisher/subscriber model is a powerful pattern. Both ano-plass and DistributeMe offered a way to do it, one with subject/observer pattern, the other with the classical EventChannels. The ano-plass subject/observer pattern was limited to the current vm. Now it can become global. (more…)
Using Tags to catch unexpected bugs
MoSKito has many powerful features, it can monitor almost every aspect of your application, it is the worlds best open-source APM for Java. But sometimes all this functionality can be a bit overwhelming to the user, and you might run into some issues figuring out how monitor your app efficiently. To address this, and give you an example of problem solving with MoSKito, today we will give you an insight on a real life case of tracing bugs and optimizing your application using MoSKito. (more…)
Monitoring existing application using MoSKito Javaagent
In this tutorial we will demonstrate how to use MoSKito Javaagent to monitor existing web-application with no changes to the app's source code. We will show how to add MoSKito Javaagent to the app deployed in Tomcat servlet container, and how to connect to this app using MoSKito Inspect. (more…)
Newest. Hottest. Tracers.
Today MoSKito 2.7.3 is released, and it contains the hottest feature since long time. But decide for yourself. The feature request goes back some years to Dec 02, 2010 to my time at Parship, as Malte once asked, if it would be possible to know where a call to a method actually came from. It was on the list since then, but time was hard to find. So what are tracers anyway? Tracers have 3 purposes or aspects: Tracers allow you to find out which part of your code has been calling some methods in a class of your application you are interested in. They achieve it by guarding the class in question (works with most monitoring points) and triggering and saving a stack trace once something passes by. This is useful if you see strange behavior of some method/class in the MoSKito monitoring, but don't know who is actually using this class. After the execution has passed the tracer, the tracer start to record everything that happens afterwards. This means that a TracedCall (part of MoSKito Journey) is created on the fly and recorded. Every call on the monitored class will be noted, along with parameters and return values. To round this up, tracer will gather some amount of traces (code passing by). Depending on how you configured MoSKito, the tracers could collect only calls with largest duration or simply oldest or newest calls. This way you can run a tracer over a long period of time, collect all slow calls and investigate what slows them down. (more…)
Connect Moskito-Central to MongoDB
Today we are going to connect MoSKito-Central to MongoDB database. In a few words, MoSKito-Central is a service (remote or embedded) that receives your MoSKito statistics and stores it in the place of your choice (Filesystem, Database, …). Our choice for now is MongoDB and MoSKito-Central in embedded mode. (more…)
New access control in ano-site
We often want to restrict access to specific part of an application from some parties. Moreover we usually want to do it with high flexibility at runtime, don’t we? With the recent release of ano-site (version 2.4.1) we’ve added a brand new access control mechanism based on the ano-access framework. The idea was to make all parts of the application, that user interacts with, configurable from access point of view. In this article we'll make a brief overview of capabilities that are available in current version. It won't replace comprehensive developer documentation, though. Currently access can be controlled for such entities as: Page Box Navigation item Action Wizard All configuration is done traditionally through ASG (ano-site content management system) which was enriched with two new modules for access control configuration: Ano-Access Configuration and Ano-Access Data. While latter is pretty straightforward, the former requires some explanation. (more…)
This is a short overview of topics in opensource that took place in september. (more…)
MoSKito 1.5.0 - Happy threadhunting.
As MoSKito 1.5.0 hits the maven repositorty today, so do some new features about threads. Here's a short overview on 4 new screens added in 1.5.0 for threading issues. (more…)