Tuesday Aug 02, 2011

GlassFish 3.1.1 and DTrace - Byron's series

Byron Nevins, and engineering on the team, has started a series of blogs on DTrace support in GlassFish 3.1.1 when running on JDK 7.

The first post covers how to get started : what is DTrace, installing the glassfish-monitoring-dtrace package, enabling monitoring and running your first probes. The second post covers the use of DTrace on a simple GlassFish cluster.

Dtrace architecture

The documentation for this feature is here. Now of course DTrace is not available on all platforms but a fix found using it will most likely be applicable to all environments GlassFish 3.1.1 runs on.

Sunday Nov 08, 2009

Extra GlassFish News - Nov 8th, 2009

Radio Receiver Icon

This is the first of our weekly news catch-up and covers Nov 1 to Nov 11, 2009. This week the news catch-up is partial; next week I'll create the entry through the week and will try to be more comprehensive.

This week we also cover old news on JRuby and OSGi.

GlassFish and Middleware News

Predicting our Systems Future

From the past: OSGi in GlassFish (triggered by this thread):

From the past: JRuby on GlassFish (triggered by this thread)

Wednesday Aug 26, 2009

GlassFish v3 Monitoring - DTrace, REST and More...


Prashanth has written a detailed description of the new monitoring framework in GlassFish v3, which includes descriptions of the basic concepts of probes, probe provider and probe listeners.

Probe providers include both class-based and XML-based providers, where the framework will automagically create a provider without requiring modifications to the existing code. Probe listeners are called from the providers to produce the desired information; for example statistics are generated by StatsProviders.

Prashanth's note also describes how to expose the probes to DTrace and to a OS-agnostic scripting client, and how this is used by different clients, including: JMX/AMX, REST, the Admin console and asadmin. Overall, a great overview - check it out.

PS. I was on vacation last week, just catching up now and I missed announcing the JavaEE 6 and GF v3 webinar from this morning; from what John told me and what I read in the Twitter posts, it was very successful: more than 4K subscribed, and over 1200 attended.

Wednesday Jun 03, 2009

Dtrace Support in GlassFish v3


Tucked at the end of TS-4923, Mahesh had a few slides on DTrace support on GlassFish v3. Not yet in the Preview release we released this week but "soon". The support is via Btrace; Mahesh has promised a writeup on the details and I'll try to get a screencast, maybe a Webinar.

With this we will have DTrace support on all the key containers: MySQL, WebStack and GlassFish Server. Way to go!

Saturday Apr 18, 2009

GlassFish and More at MySQL Users Conference


Mon-Thu I'll be attending the MySQL User's Conference here in Santa Clara. The tone of the conference is noticeably different to that of its (even larger) sibling JavaOne in San Francisco, and the topics are very grounded in the practical needs of the Users of the technology. There are many very interesting talks, below is a small selection extracted from my Personal Schedule.

Starting with those related to topics we normally cover here: Several BOFs: OpenSSO, OpenDS and LDAP, JavaFX Clients, OpenSolaris and Web Stack. Several Technical Sessions: MySQL and ZFS, Twitter and NetBeans and GlassFish and MySQL (that's Arun).

The rest of this list is not comprehensive but, here it is...

Keynotes: State of the Dolphin, Google, KickFire, Cloud, Andi, SmugMug, Infobrite and JasperSoft, Obama.
Fun Events Quizz Show.
Tutorials: Scale out, MapReduce, Partitioning, Memcached
DTrace: Intro, MySQL and Dtrace, Another DTrace
Cloud: MySQL and EC2, Hadoop and MySQL, Cloud Backup for MySQL, MySQL Clusters in the Cloud, MapReduce
Drizzle: Rethinking MySQL, Memory, libdrizzle, Drizzle BOF, Clusters
Memcached: Beginners, Distributed and InnoDB, And Flash!, Libraries, Advanced Use
Engines: InnoDB, Falcon, Maria, PBXT.
General: Performance and Scalability, the Future, Code Contributions (Masood's), Craig's List, Sandbox, Death.

... and I reserve the right to add and/or remove entries from my schedule at any time :-)

Wednesday Sep 03, 2008

... Liferay and NetBeans, GF Adoption in Bangalore, Hudson and Polls, GF at OStatic, DTrace BDay, and Science and Rap

A compilation of today's news of interest:

Radio Receiver Icon

Benefits of project WebSynergy, Satya reports that Portal Pack (for NetBeans) Now Supports Liferay.

From Bangalore a report by Vasudha on a Large Attendance on Vasundha's Presentation on GlassFish. Use of GlassFish in India started slow but it has been accelerating very rapidly recently; we see it in download numbers and also in registrations - India is the country with the 4th largest representation, over 10% of the 184K registrations this year.

Hudson continues to gather adoption and advocates. ThinkVitamin reports on Automated Testing with Hudson and Selenium, and the WSJ SOA Reader's Choice on Automation Tool Poll has Hudson winning handly - but don't hesitate to Add your Vote.

Ken was interviewed by OStatic on GlassFish; check out his interview; and don't forget the OStatic Free Hosting Offer.

More BDays... this time is the 5th Anniversary of DTrace!

And, under the And Now for Something Completely Different, check out the Hadron Collider Rap!

Monday Jul 23, 2007

End-to-End Tracing of Ajax Applications Using DTrace

Magnifying Glass from the "Vista Icons" Collection

There are lots of options for tracing web applications. But suppose you need a holistic view, such as a combined trace of the server-side Java and client-side JavaScript in an Ajax app. You might expect your options to drop to zero. Well, they don't.

DTrace can handle it. The Mozilla DTrace Project provides DTrace probes for Firefox's JavaScript engine, and recent versions of the JVM have built-in probes. Amit's latest article shows how to put these together to trace an Ajax application. It produces a true end-to-end picture, with traces flowing across the client/server boundary.

Monday Jul 16, 2007

Using DTrace to Profile JDBC-Related Calls in GlassFish

The "open(2)" Logo from OpenSolaris

How can a large project like GlassFish make such brisk strides on performance (1, 2, 3)? Well, for one thing, it certainly doesn't hurt to have backing from a company that has created tools like DTrace.

In his latest blog entry, Paul shows how he used DTrace to identify hot spots in the PostgreSQL JDBC Driver when run on GlassFish. Of course, the same techniques could be applied to any area of GlassFish. So please, feel free to jump in and help with our endless push for top performance.

Added: Also check out this Video Interview of the Dtrace tream.

Wednesday Apr 04, 2007

GlassFish on a (Solaris Express) Zone

OpenSolaris Header

Dick Davis (Rasputkin) is the author of Number 9 where he covers a number of topics, including hardware, Solaris and System Administration.

Dick had some reservations about J2EE but RoR on GF and the GF v2 beta contest encouraged him to give GlassFish a try and he seems to like it so far. Dick's first GF-related blog explains in detail how to start GlassFish on a Zone. Since then he wrote another good one, explaining how to Use DTrace on JVMs and applying this to GlassFish.

Solaris Zones and GlassFish mix well together. For example, the GlassFish Wiki just moved to its new location, a GlassFish instance on a Solaris Zone, and John has written quite a bit about GlassFish and Zones.