Sunday, November 4

Azul Systems Java appliance

So, I've been dragged more and more in to managing Java application containers like Weblogic, Websphere and JBoss. These have a tendency to be hugely complex beasts, almost as complex as our favorite database and performance optimization is sometimes quite difficult, or simply it's to much effort to actually upgrade or replace the server.
Azul offers a quite neat (but a tad pricey) solution to this. They off-load Java computation to a separate appliance, the smallest model has 96 processing cores and 48Gb of ram. The big daddy has a massive 768 cores and 768Gb ram. It's a by Azul in house engineered hardware with custom software (I would guess the OS is semi-based on one of our open-source friends (have a look at the ifconfig output)). The application server still a normal server (Linux/Solaris etc), the small JVM on the server pretty much acts as a proxy between external resources such as JDBC sources and the actual JVM on the appliance.
Their marketing crew calls it a "turn key solution", it's not really that easy but it's pretty straight forward to use.
Azul vega
The appliance itself takes about 15 minutes to install, setup the networking and the compute domain name and you are pretty much done with the appliance itself.
The application side is almost as easy. Azul provides sort of a "JDK wrapper", you unpack the wrapper and run a simple shell script to integrate it with an existing JDK, the script asks for the path to the JDK to "mimic". Works with IBM and Sun JDK's, both 1.4 and 1.5 (I haven't tried with Jrockit).
Change your appserver init script's to use the new JAVA_HOME, give it a couple of azul specific JVM options, give it 10Gigs or so of heap and off you go. One thing to remember is that most garbage collection arguments are now obsolete, azul uses it's own custom "pausless gc".
The first thing that hit me when starting the first app-server was how incredibly slow it was to deply, deploying EJB's etc took ages, but hm, yes, that's an almost single threaded operation. The application itself felt "ok" when using it, now the cool part, we really couldn't get the application to run slowly with our benchmarks, at least not if we count out the fact that it eventually trashed the database sever (just some random 8-core thing) behind it. Bottlenecks in the application tiers where all gone! It doesn't matter if 5 users are online or 250, the application performs exactly the same.
The simple conclusion now is "we need a bigger Oracle box!".

Azul provides a quite good web management console for the appliance, the gui provides functionality to manage compute pools if you need to throttle CPU and memory usage between applications or servers and also provides views to monitor applications and utilization.

I guess one could call it a bit of a custom "throw hardware at the problem" solution, the box itself is quite expensive but for a medium sized company with loads of j2ee apps it makes sense.

7 comments:

Anonymous said...

Any news on the viability of Azul as a company? I had heard they were having some trouble a few months back. We had used their products at my old company, and I had recommended them at my new job. But the sales department never called me back when I was tasked with putting together the actual proposal. We just went with bigger hardware for the overall server instead.

Hampus said...

From what I've heard about azul as a company they are "sort of fine" and recently got a new round of funding from it's investor (JVax, Accell, Credit Suisse etc.).
I think most of the rumors spread by The Register where unfounded and where based on the fact they where reducing staff.
Considering the azul client base we see I wouldn't have any issues with using Azul boxes in production, some of the worlds largest bank (most of them?) have double digit azul appliances for their j2ee farms.
Even heard about one bank doing risk analysis on azul, simply because that was the cheapest way to get a single 700Gb heap JVM.

Bruce said...

A couple of questions as I'm fairly interested in the azul approach for a solution to help reduce costs for a saas solution:

How expensive is expensive?
How is the single thread performance? From your description I'm worried that single thread performance is quite poor.
Have you heard anything about JDK 1.6 compatibility? The last I heard was that they were working on it, but nothing more.

Hampus said...

Cost of course depends on the size of the box(es) and quantity you buy. I can't give any numbers, people expect the worst (think Netapp) and get pleasantly surprised by the Azul pricetag. But it's not Dell priced.
I suggest a price inquiry to Azul.

If single threaded performance is some you really need for your app, then the Azul box is not suitable. Single threaded performance is on par with something like a 1GHz sparc processor (tested and got similar speeds on an early v240).

No idea about JDK 1.6 compatibility, most likely in the pipeline.

Anonymous said...

It is the knight noah which makes me very happy these days, my brother says knight gold is his favorite games gold he likes, he usually knight online gold to start his game and most of the time he will win the knight online noah back and give me some cheap knight gold to play the game.
I am so happy to get some last chaos gold and the lastchaos gold is given by my close friend who tells me that the lastchaos money is the basis to enter into the game. Therefore, I should buy last chaos gold with the spare money and I gain some cheap lastchaos gold from other players.

Anonymous said...

I like play online game, I also Buy metin2 gold and Metin2 gold, the Metin2 yang is very cheap, and use the Cheap metin2 yang can buy many things, I like Cheap metin2 gold, thanks, it is very good.

I like play online game, I also Buy Perfect World Gold and Perfect World Gold, the Perfect World Silver is very cheap, and use the Perfect World money can buy many things, I like cheap Perfect World Gold, thanks, it is very good.

chinese aion server kina said...

aion china, aion china gold,
aion cn goldaion chinese gold,
aion gold chinaaion gold chinese,
china aion goldchinese aion gold,
aion china kinaaion chinese kina,
aion kina chinachina aion kina,
aion china buybuy aion china,
aion chinese server goldaion cn server gold,
aion china server goldchina aion server gold,
chinese aion server goldaion chinese server gold,
aion cn server kinaaion china server kina,
china aion server kinachinese aion server kina