The Source for Java Technology Collaboration
User: Password:



Jean-Francois Arcand

Jean-Francois Arcand's Blog

Jetty 6.1.6 is out, with Grizzly 1.6.1 support

Posted by jfarcand on November 19, 2007 at 02:45 PM | Comments (4)

Jetty 6.1.6 has been released, and that release can now run using Grizzly 1.6.1. 6.1.6 - 1.6.1...7.7.7...a new monster is born!

IMG_0609.JPG

Greg recently announced the availability of Jetty 6.1.6. As usual, the Jetty community is doing great job of delivering a very nice product. Among the new features, I've recently ported Grizzly support in Jetty, removing the dependencies of Grizzly 1.0.x and instead using the brand new 1.6.1. The design is much better and this time I didn't have to changes anything from Jetty itself. And just for fun, I did a little benchmark between the two connectors using Faban with 50 users. Just a simple ping like http://:/jetty-test/index.html:

Using Jetty Connector:
ops/sec: 2021.167
% errors: 0.0
avg. time: 0.002
max time: 0.163
90th %: 0.05
Using Grizzly Connector:
ops/sec: 2639.450
% errors: 0.0
avg. time: 0.002
max time: 0.122
90th %: 0.05

And now with a Servlet that looks like:

    public void doPost ....

        response.setContentType("text/plain");
        response.setStatus(HttpServletResponse.SC_OK);
        PrintWriter wrt = response.getWriter();
        for (int i = 0; i < 10000 ; i++) {
            wrt.write("Text(1)");
        }
    }

Using Jetty Connector:
ops/sec: 98.875
% errors: 0.0
avg. time: 0.050
max time: 0.352
90th %: 0.15
Using Grizzly Connector:
ops/sec: 103.533
% errors: 0.0
avg. time: 0.048
max time: 0.320
90th %: 0.10

But wait! That doesn't means anything as the Jetty Connector as much more features, and my implementation might still have some bugs....for now :-). But I really think my temporary Selector trick when reading/writing is making the difference!

As usual, I've managed to inject a bug just before the release. So if you are planning to use the Grizzly Connector, install Jetty and download the jetty-grizzly-6.1-SNAPSHOT.jar, and drop it under ${jetty.home}/lib/grizzly/. Then follow the instruction on how to start Jetty on Grizzly here. Oh ya! being able to run on 1.6.1 will make Jetty running in GlassFish v3 really simple! Feedback are welcome! Next monster Grizzly should run with and attack: Tomcat!

technorati:


Bookmark blog post: del.icio.us del.icio.us Digg Digg DZone DZone Furl Furl Reddit Reddit
Comments
Comments are listed in date ascending order (oldest first) | Post Comment

  • WoW Gold
    Buy WoW Gold
    Cheap WoW Gold
    World of Warcraft Gold
    Runescape Gold
    Cheap Runescape Gold
    Buy Runescape Gold
    Runescape Items
    Runescape Powerleveling
    Runescape Power leveling
    RS Powerleveling
    MapleStory Mesos
    Maple Story Mesos
    Buy Maple Story Mesos
    Cheap Maple Story Mesos
    MapleStory Powerleveling
    MapleStory Power leveling
    Maple Story Power leveling
    EverQuest II Plat
    EverQuest 2 Plat
    EverQuest 2 Gold

    Posted by: enshia on November 19, 2007 at 11:50 PM

  • EverQuest II Platinum
    EQII Platinum
    EQ2 Platinum
    Gaia online Gold
    Gaia Gold
    Buy Gaia online Gold
    Final Fantasy XI Gil
    FFXI Gil
    Buy FFXI Gil
    Cheap FFXI Gil
    FFXI Powerleveling
    Lotro Gold
    Buy Lotro Gold
    Cheap Lotro Gold
    Buying Lotro Gold
    Sword Of The New World Gold
    Sword Of The New World Vis
    Sword Of The New World Gil
    Granado Espada Vis
    SOTNW Vis
    2Moons Dil
    Buy 2Moons Dil
    2Moons Gold
    2Moons Money
    WoW Powerleveling
    WoW Power leveling
    WoW Powerleveling
    Lineage2 Powerleveling
    Lotro Powerleveling
    Lotro Power leveling

    Posted by: enshia on November 19, 2007 at 11:50 PM

  • Sure thing!! the Jetty community is inded doing an incredible job of delivering a very nice product.
    xenical , levitra , clomid , buy viagra online , propecia

    Posted by: joostvan on May 08, 2008 at 12:14 AM

  • I wouldn't bother with the Euro spec turbo's, you won't gain a lot for the hassle. However a hybridised pair of stock turbo's might be worth it. They are the same externally as the stock turbo's but feature larger compressor and turbine wheels.

    The 550cc injectors will allow you to get close to 550HP with the right turbo's but in reality a small single turbo is required to achieve the power as even the hybrid OEM turbos arn't capable of flowing that much air.how to play roulette
    roulette how to win
    roulette tips
    how to win at roulette
    Run your car on water
    Run Car on Water
    Water Powered Car
    Water Car
    horse racing
    horse racing tips
    horse racing betting
    horse racing software
    horse racing systems
    downloadable movies
    download full version movies
    download movies
    movie downloads
    forex trading systems
    forex currency trading
    forex software
    learn forex
    world of warcraft guide
    wow gold guide
    wow guide
    world of warcraft cheats
    how to play poker
    learn poker
    poker strategy
    poker sites
    poker calculator
    free blackjack
    online blackjack
    blackjack strategy
    how to play blackjack
    iphone downloads
    iphone games download
    iphone download site review
    iphone download sites
    how to make money on ebay
    make money on ebay
    warren buffett
    warren buffet

    Posted by: j_doe1 on May 25, 2008 at 04:53 AM



Only logged in users may post comments. Login Here.


Powered by
Movable Type 3.01D
 Feed java.net RSS Feeds