Thursday Feb 24, 2011

Grizzly 2.0 release

Grizzly 2.0 has been released!

Grizzly team did a great job improving Grizzly 1.x usability, API, performance and finally we're ready to release Grizzly 2.0, which includes:

  • Completely new core module
    • Transport, Connection API, which simplifies network channels management, life-cycle control;
    • FilterChain, Filter API, providing easy mechanism for message parsing, serializing, asynchronous processing;
    • MemoryManager API, to separate memory management from essential core to be able to customize memory allocation if needed;
    • IOStrategy API, to customize (if needed) the processing of channel I/O events: process in the same thread, switch to a worker thread... etc;
  • Non-blocking HTTP Codec to work with HTTP messages, both client and server side;
  • Improved http-server module
    • Non-blocking Input, Output streams, which provide support for asynchronous, non-blocking HTTP requests processing;
  • Websockets;
  • Comet
  • Documentation ( the most wanted part :)) )

Talking about performance, here is a informal comparison of http-server benchmarks for Grizzly 1.9.32 and 2.0, which also show advantages of having customizable IOStrategies and applying them depending on specific requirements and server machine configuration. We ran the HTTP Echo test, which used HTTP post to send some content and Grizzly HTTP server replied with the same content back.

HTTP Echo benchmark

  • Bytes
    The Single-Byte Echo The 65K Byte Echo

  • Characters
    The Single-Char Echo The 65K Char Echo


Please give us feedback!

Thursday Sep 30, 2010

Grizzly 1.0.38 has been released

We've released Grizzly 1.0.38 to fix:

  • CR 6981517 "Synchronizing a large application which worked in<=2.1.1p3 fails with an EOF error with 2.1.1p4+"
  • CR 6979497 ClassCastException using key.attachment()s 
  • https://grizzly.dev.java.net/issues/show_bug.cgi?id=891 "default linger=100 causes problems with connection closing" 

You can download it from: http://download.java.net/maven/2/com/sun/grizzly/grizzly-framework-http/1.0.38/

Here are instructions how to patch Glassfish v2.1.x.

Thanks to all who helped!

 

Monday Apr 19, 2010

Grizzly 1.9.19-beta2 with Websockets support!

We have released Grizzly 1.9.19-beta2, which has fixes for the issues [1], [2]. But the most interesting part is that this release has websockets support, and considering, that beta2 will be integrated into Glassfish v3.1 branch this week - Glassfish v3.1 will start to support websockets! Details on websockets implementation you can find on Justin's blog [3] and ask questions on Grizzly mailing list.

[1] http://tinyurl.com/y4zkt4j 

[2] http://tinyurl.com/y54zfpr

[3] http://www.antwerkz.com/ 

Friday Mar 19, 2010

Glassfish "hangs"?

From time to time I see the messages on glassfish mailing list, reporting that Glassfish hangs at some point. I'd like to provide some simple instructions, which will help Glassfish team to find the problem and help you asap.

  1. Don't panic. In most cases the "hang" is caused by custom (web) application. 
  2. When you found that Glassfish is not responsive - pls. take a snapshot of threads dump:
    • Find the pid of the Glassfish process. Glassfish 2.x: jps | grep PELaunch, or Glassfish 3.x: jps | grep ASMain
    • Force threads dump to be written to the jvm.log file: kill -3 <pid>
  3. Locate jvm.log file (usually it could be found in the instance log directory): GF/domains/domain1/logs/jvm.log
  4. You can check the jvm.log file and make sure listed threads are not blocked inside your (web) application classes.
  5. If not - report the problem on glassfish users mailing list or forum, providing as detailed info/observations on the usecase as possible.

Thursday Mar 11, 2010

Release: Grizzly 1.0.33

We've released Grizzly 1.0.33, which has fixes for the following 2 issues:

"Empty request entity received"
https://grizzly.dev.java.net/issues/show_bug.cgi?id=11452

"file cache breaks virtual server docroot discrimination"
CR6910122

You can download it from:

http://download.java.net/maven/2/com/sun/grizzly/grizzly-framework-http/1.0.33/

Here is instruction on how to patch existing GFv2.1.x with the latest Grizzly binaries.

Thanks to all who helped!

About

oleksiys

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today