In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article introduces the knowledge of "what are the features of Grizzly 2.2". Many people will encounter such a dilemma in the operation of actual cases, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
The Grizzly framework recently released version 2.2, which brings a number of new features and improvements and adds an implementation of the WebSocket specification.
Grizzly is an application framework designed to solve problems that arise when writing thousands of users to access the server. Grizzly framework was born in the GlassFish project, which can help developers build scalable, high-performance and robust servers and write scalable server-side applications using Java NIO API.
Some of the main features in Grizzly 2.2:
◆ supports non-blocking sendfile. Grizzly 2.2 now supports the FileChannel.tranferTo () method to send files to socket. This feature can be used in the core framework and is very convenient.
◆ 's new Grizzly-Thrift server / client model (Grizzly 2.2 Transport for Apache Thrift). You can check out Bongjae's blog for more details.
◆ Websocket protocol (RFC 6455). Websocket protocol is an important new feature of HTML5. At present, it has entered the list of W3C candidate standards.
◆ write I pansy O inhibition. A new interface has been added in Grizzly 2.2to provide write suppression (Thottling) to prevent asynchronous write queues from being overloaded or OOM (out of memory) conditions.
◆ Async HTTP Client . The next version of the Grizzly Async HTTP client, version 1.7, will be released soon, and WebSocket support will also be available.
◆ performance improvement.
According to the Grizzly team, 2.2 is not binary compatible with version 2.1. In addition, there are two points worth noting:
The ◆ CloseListener interface has been updated to enable developers to distinguish between local and remote close.
Methods that ◆ accepts CompletionHandlers will no longer return Futures, whereas methods that can return Futures will not accept CompletionHandles. This is a considerable improvement, and you can check out the Git revision page for more details.
According to alexismp, a Grizzly developer, Grizzly 2.2 will be integrated into GlassFish 4.0. The Grizzly version in GlassFish 3.1.2, which will be released later, will be 1.9.42.
This is the end of "what are the features of Grizzly 2.2"? thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.