« April 2008 | Main | June 2008 »

May 2008 Archives

May 5, 2008

All set for JavaOne

You in town for JavaOne? Head to my talk if you can. Its on the 1st day, which is kinda of good because I get it over with quickly. But, its on the 1st day so many people will not have acclimated to the conference.

The important thing is the "broken application" which we are going to fix is pretty kewl. It is multi-threaded, does lots of work and I boil down the problems with it to plain English for the audience. Note that there are 2 parts where you the audience get to decide which way I fix the app. We shall see together if the fixes will help.

Cya there!

--Ari

May 6, 2008

Twitter is fascinating. Helps me learn about my project.

Have you looked at Twitter? I am addicted. The interesting thing is that David Pollack (seen on this blog commenting, after having been given unclear info about TC in the past) and I played with "the Twitter problem" in a Terracotta context / vacuum.

We learned something interesting together: Terracotta is core infrastructure. It can be used in many ways, but not all will work as well as others.

As an example (without going into details about Twitter since I know nothing about it, and we were just using it as a framework for discussion--check Twitter out for yourself and figure out how this all applies):

1. David thought that Terracotta should be used for messaging between some sort of node construct.
2. A few people want to use TC for messaging
3. I don't think TC should be used for messaging unless you want durable POJO-based messaging w/o any other infrastructure. Specifically, if you have clustered objects using TC and you need some messaging to signal and pass control amongst those already-clustered JVMs, go for it. But keep in mind TC is not a message bus.
4. Anyways, the more apropos use of Terracotta in a giant coordinated grid IMO might be to use point-to-point communication between Scala actors in the grid. Terracotta can then be used as an actor<->JVM lookup table that tells you where actors can be found at any point in time. Actors can then be migrated amongst nodes in real time because the lookup table is cluster-wide coherent at all times.
5. When the JVMs where actors are hosted crash, Terracotta's JMX-based cluster membership notifications can be leveraged to dynamically migrate actors in the grid.

The key: just because you have a hammer, not everything is a nail. I think it is incumbent upon us at Terracotta to make nails versus screws very clear to our users. I am going to plumb up Scala, Apache Qpid, and Terracotta in my copious spare time.

Stay tuned.

--Ari

May 8, 2008

My Talk is being repeated tomorrow

Missed my talk on Tuesday? Sun has asked me to repeat it tomorrow. Room #300 at 2:50 pm. Yes I know its the last day and you want to go see the beautiful places in and around S.F., but Tuesday's crowd had so much fun. We did a "choose your own adventure" style session. I explain the application I have built. We then use tools and analysis together to tune the application's performance. By default, the app does a big processing task in 80 seconds. The Tuesday audience and I got it down to 4.4 seconds. I personally came up with an approach that runs in 1.5 seconds.

Come by tomorrow. Let's see what you can do :)

--Ari

About May 2008

This page contains all entries posted to POJO Mojo in May 2008. They are listed from oldest to newest.

April 2008 is the previous archive.

June 2008 is the next archive.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 3.34