GlassFish V3 gem v0.1.2 for JRuby at Rubyforge
In my previous blog I had informed you all of the release of GlassFish v3 gem v0.1.1. Today I am announcing the release of GlassFish V3 gem 0.1.2.
Issues addressed in v0.1.2 :
The last released gem (v0.1.1) contained that bugs that were reported by users on the GlassFish Issue tracker and RubyForge Tracker. This release deals with those bugs.
- Scaffold created using Rails 2.0.2 adding duplicate entries with v3 gem 0.1.1.
- After the execution of an Ajax request, all subsequent requests are also treated as Ajax requests.
- When using observe_field for AJAX capabilities, it only works once and any attempt afterwards returns the first selected dataset.
Another bug that has been fixed as part of this gem release is - Blank page returned if there are no Rails instances available. From this release on the requests would not be rejected if there are no rails instances available to satisfy them.
Based on comments from Thomas Enebo, have changed the way we were processing requests as part of the gem. In the previous releases of the gem, for each request we were causing the request to be parsed before actually executing it. This obviously was increasing the time taken for each request. Have fixed this as part of this release.
From this release of the gem, you would be able to checkout and build the gem. This was a request that many users had made and this is the reason why the release of the gem was delayed by a couple of weeks. I will publish a blog shortly detailing information on how to build the gem from the GlassFish V3 source.
Continue to use Glassfish Issue Tracker, JRuby JIRA and RubyForge to post issues/comments about the gem.
Installation:
If you have installed the previous version of the gem please uninstall the gem using the commandjruby -S gem uninstall GlassFishInstall the new version of the gem using the command :
jruby -S gem install glassfish
Output from executing the "ab" command using the old v0.1.1 and the new v0.1.2 glassfish :
I have used "ab" on my Macbook pro, to compare the performance between then 2 latest versions of the gem - v0.1.1 and v0.1.2. These tests were done using the release JRuby 1.1RC2 bits with Rails 2.0.2. The sample that I have used is a very simple HelloWorld, so it is no reflective of the typical user application. Would be great to hear back from users about the performance that you are seeing with your application.
With gem v0.1.1 :
pramod-gopinaths-computer:~ pramodgopinath$ ab -c 1 -n 100000 http://localhost:3000/test/hello
This is ApacheBench, Version 1.3d <$Revision: 1.73 $> apache-1.3
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/
Benchmarking localhost (be patient)
Completed 10000 requests
Completed 20000 requests
Completed 30000 requests
Completed 40000 requests
Completed 50000 requests
Completed 60000 requests
Completed 70000 requests
Completed 80000 requests
Completed 90000 requests
Finished 100000 requests
Server Software: Grizzly/1.6 Server Hostname: localhost
Server Port: 3000
Document Path: /test/hello
Document Length: 68 bytes
Concurrency Level: 1
Time taken for tests: 2088.982 seconds
Complete requests: 100000
Failed requests: 0
Broken pipe errors: 0
Total transferred: 53100000 bytes
HTML transferred: 6800000 bytes
Requests per second: 47.87 [#/sec] (mean)
Time per request: 20.89 [ms] (mean)
Time per request: 20.89 [ms] (mean, across all concurrent requests)
Transfer rate: 25.42 [Kbytes/sec] received
Connnection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 15.4 0 2993
Processing: 19 20 11.5 20 1482
Waiting: 19 20 11.5 19 1481
Total: 19 20 19.2 20 3023
Percentage of the requests served within a certain time (ms)
50% 20
66% 20
75% 20
80% 20
90% 22
95% 23
98% 23
99% 24
100% 3023 (last request)
With gem v0.1.2 :
$ ab -c 1 -n 100000 http://localhost:3000/test/hello
This is ApacheBench, Version 1.3d <$Revision: 1.73 $> apache-1.3
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/
Benchmarking localhost (be patient)
Completed 10000 requests
Completed 20000 requests
Completed 30000 requests
Completed 40000 requests
Completed 50000 requests
Completed 60000 requests
Completed 70000 requests
Completed 80000 requests
Completed 90000 requests
Finished 100000 requests
Server Software: Grizzly/1.7 Server Hostname: localhost
Server Port: 3000
Document Path: /test/hello
Document Length: 68 bytes
Concurrency Level: 1
Time taken for tests: 440.712 seconds
Complete requests: 100000
Failed requests: 0
Broken pipe errors: 0
Total transferred: 53100000 bytes
HTML transferred: 6800000 bytes
Requests per second: 226.91 [#/sec] (mean)
Time per request: 4.41 [ms] (mean)
Time per request: 4.41 [ms] (mean, across all concurrent requests)
Transfer rate: 120.49 [Kbytes/sec] received
Connnection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 17.6 0 2852
Processing: 3 4 10.4 3 1270
Waiting: 3 4 10.4 3 1270
Total: 3 4 20.4 3 2858
Percentage of the requests served within a certain time (ms)
50% 3
66% 3
75% 3
80% 3
90% 4
95% 4
98% 7
99% 7
100% 2858 (last request)
Resources :
GlassFish JRuby wiki
JRuby wiki
Posted by pramodg [Sun] ( March 13, 2008 05:39 PM ) Permalink | Comments[5]

Posted by Arun Gupta's Blog on March 13, 2008 at 08:23 PM PDT #
dagfdsha
Posted by siteMap88 on March 17, 2008 at 11:29 PM PDT #
Hi, i tested the new gem and did some performance testing.
I used an application running on rails 2.02 and i did a test where i requested a database record and a bunch of child records (many to on relations)
with mongrel 50 runs took about 3.5 seconds, the glassfish took about 5 seconds, about the same as webrick performance
Posted by remco on March 25, 2008 at 03:43 AM PDT #
Where's the source? The rubyforge svn repo is empty. :) Please ?
Posted by Tim Dysinger on May 03, 2008 at 07:26 PM PDT #
Reverse Cell Lookup Options - Free Reverse Phone Lookup?
Are you looking for websites which offer free reverse cell phone lookups? Unfortunately I have personally searched for sites offering this service and any I have found have simply directed me to websites which require a fee for access.
The reason these services are not free is because the sites which offer access to the databases are providing access to records which the cell companies do not offer for free in the same way residential numbers are. Under these circumstance the reverse lookup sites charge us for access.
However, the good news is that the professional websites who offer reverse cell lookups provide an excellent service. In addition to information about the owner of the cell phone, they can often provide carrier details, connection status, and address history. Note however that they cannot guarantee every cell number can be found, but they all operate through Clickbank which offer full refunds!
As long as you have the area code and the seven digit number, you should be able to locate any number's owner, if you know cell phone lookup reviews viste this web: cell phone lookups reviews
Lookup Cell Phone Number - Search Now 1. Enter Cell Phone Number, 2. Get Owner, Address &...
http://www.cell-phone-lookups.info
Posted by cellphonelookup on September 08, 2009 at 12:24 AM PDT #