SlideShare ist ein Scribd-Unternehmen logo
1 von 18
Downloaden Sie, um offline zu lesen
Play! in Tokyo #2

       Netty        Play!




2011   10   8
Play! in Tokyo#2 Netty




                COPYRIGHT 2011 PLUGRAM, INC.




2011   10   8
Play! in Tokyo#2 Netty




                COPYRIGHT 2011 PLUGRAM, INC.




2011   10   8
Play! in Tokyo#2 Netty




                COPYRIGHT 2011 PLUGRAM, INC.




2011   10   8
Play! in Tokyo#2 Netty




                COPYRIGHT 2011 PLUGRAM, INC.




2011   10   8
Play! in Tokyo#2 Netty




                COPYRIGHT 2011 PLUGRAM, INC.




2011   10   8
Play! in Tokyo#2 Netty




                UpStream(                       )/DownStream(   )

                                                Handler

                ChannelPipeline                           Handler




                 COPYRIGHT 2011 PLUGRAM, INC.




2011   10   8
Play! in Tokyo#2 Netty




                COPYRIGHT 2011 PLUGRAM, INC.




2011   10   8
Play! in Tokyo#2 Netty




                COPYRIGHT 2011 PLUGRAM, INC.




2011   10   8
Play! in Tokyo#2 Netty




                COPYRIGHT 2011 PLUGRAM, INC.




2011   10   8
Play! in Tokyo#2 Netty




                COPYRIGHT 2011 PLUGRAM, INC.




2011   10   8
Play! in Tokyo#2 Netty




                COPYRIGHT 2011 PLUGRAM, INC.




2011   10   8
Play! in Tokyo#2 Netty




                COPYRIGHT 2011 PLUGRAM, INC.




2011   10   8
Play! in Tokyo#2 Netty




       // allow-access-from domain=”*” to-ports=”*”
       pipeline.addLast(
          "flashPolicy", new FlashPolicyHandler());
       // Netty   API
       pipeline.addLast(
          "decoder", new HttpRequestDecoder());
       // Long Polling (Streaming)
       pipeline.addLast(
          "aggregator", new StreamChunkAggregator(max));
       // Netty   API
       pipeline.addLast(
          "encoder", new HttpResponseEncoder());
       // Netty   API(Streaming                       )
       pipeline.addLast(
          "chunkedWriter", playHandler.chunkedWriteHandler);
       //         HTTP          WebSocket
       pipeline.addLast(
          "handler", playHandler);


                COPYRIGHT 2011 PLUGRAM, INC.




2011   10   8
Play! in Tokyo#2 Netty




                COPYRIGHT 2011 PLUGRAM, INC.




2011   10   8
Play! in Tokyo#2 Netty




                COPYRIGHT 2011 PLUGRAM, INC.




2011   10   8
Play! in Tokyo#2 Netty




                COPYRIGHT 2011 PLUGRAM, INC.




2011   10   8
2011   10   8

Weitere ähnliche Inhalte

Andere mochten auch

Introduction of netty
Introduction of nettyIntroduction of netty
Introduction of netty
Bing Luo
 
Zero-Copy Event-Driven Servers with Netty
Zero-Copy Event-Driven Servers with NettyZero-Copy Event-Driven Servers with Netty
Zero-Copy Event-Driven Servers with Netty
Daniel Bimschas
 
Real time analytics with Netty, Storm, Kafka
Real time analytics with Netty, Storm, KafkaReal time analytics with Netty, Storm, Kafka
Real time analytics with Netty, Storm, Kafka
Trieu Nguyen
 

Andere mochten auch (20)

Play FrameworkとWeb Socketの話
Play FrameworkとWeb Socketの話Play FrameworkとWeb Socketの話
Play FrameworkとWeb Socketの話
 
Nfcハッカソン発表資料
Nfcハッカソン発表資料Nfcハッカソン発表資料
Nfcハッカソン発表資料
 
Building scalable network applications with Netty (as presented on NLJUG JFal...
Building scalable network applications with Netty (as presented on NLJUG JFal...Building scalable network applications with Netty (as presented on NLJUG JFal...
Building scalable network applications with Netty (as presented on NLJUG JFal...
 
Introduction of netty
Introduction of nettyIntroduction of netty
Introduction of netty
 
Social.framework&Account.framework #twtr_hack
Social.framework&Account.framework #twtr_hackSocial.framework&Account.framework #twtr_hack
Social.framework&Account.framework #twtr_hack
 
Non blocking io with netty
Non blocking io with nettyNon blocking io with netty
Non blocking io with netty
 
Zero-Copy Event-Driven Servers with Netty
Zero-Copy Event-Driven Servers with NettyZero-Copy Event-Driven Servers with Netty
Zero-Copy Event-Driven Servers with Netty
 
エンジニアが成長のエンジンになる日 #devsumi #natsumiC7
エンジニアが成長のエンジンになる日 #devsumi  #natsumiC7エンジニアが成長のエンジンになる日 #devsumi  #natsumiC7
エンジニアが成長のエンジンになる日 #devsumi #natsumiC7
 
リーンスタートアップ概論
リーンスタートアップ概論リーンスタートアップ概論
リーンスタートアップ概論
 
Netty: asynchronous data transfer
Netty: asynchronous data transferNetty: asynchronous data transfer
Netty: asynchronous data transfer
 
社内スタートアップによる組織の成長に伴い発生する痛みとその解決策について45分拡大版 #devsumi #devsumiB
社内スタートアップによる組織の成長に伴い発生する痛みとその解決策について45分拡大版 #devsumi #devsumiB社内スタートアップによる組織の成長に伴い発生する痛みとその解決策について45分拡大版 #devsumi #devsumiB
社内スタートアップによる組織の成長に伴い発生する痛みとその解決策について45分拡大版 #devsumi #devsumiB
 
Asynchronous, Event-driven Network Application Development with Netty
Asynchronous, Event-driven Network Application Development with NettyAsynchronous, Event-driven Network Application Development with Netty
Asynchronous, Event-driven Network Application Development with Netty
 
社内スタートアップによる組織の成長に伴い発生する痛みとその解決策について(Rebuild) #devlove
社内スタートアップによる組織の成長に伴い発生する痛みとその解決策について(Rebuild) #devlove 社内スタートアップによる組織の成長に伴い発生する痛みとその解決策について(Rebuild) #devlove
社内スタートアップによる組織の成長に伴い発生する痛みとその解決策について(Rebuild) #devlove
 
Javaアプリケーションサーバ 構築・運用の勘所
Javaアプリケーションサーバ 構築・運用の勘所Javaアプリケーションサーバ 構築・運用の勘所
Javaアプリケーションサーバ 構築・運用の勘所
 
Jenkins+Play!で気軽にCI
Jenkins+Play!で気軽にCIJenkins+Play!で気軽にCI
Jenkins+Play!で気軽にCI
 
What is play
What is playWhat is play
What is play
 
Real time analytics with Netty, Storm, Kafka
Real time analytics with Netty, Storm, KafkaReal time analytics with Netty, Storm, Kafka
Real time analytics with Netty, Storm, Kafka
 
日経BPリーン式創業塾 #leanstartup #リーンスタートアップ
日経BPリーン式創業塾 #leanstartup #リーンスタートアップ日経BPリーン式創業塾 #leanstartup #リーンスタートアップ
日経BPリーン式創業塾 #leanstartup #リーンスタートアップ
 
LEANSTARTUPアンチパターン #devlove #leanstartup
LEANSTARTUPアンチパターン #devlove #leanstartupLEANSTARTUPアンチパターン #devlove #leanstartup
LEANSTARTUPアンチパターン #devlove #leanstartup
 
Netty from the trenches
Netty from the trenchesNetty from the trenches
Netty from the trenches
 

Mehr von Go Tanaka

Mehr von Go Tanaka (18)

DevLOVE Kansai KnockoutJS
DevLOVE Kansai KnockoutJSDevLOVE Kansai KnockoutJS
DevLOVE Kansai KnockoutJS
 
Jvm internal
Jvm internalJvm internal
Jvm internal
 
CPU
CPUCPU
CPU
 
Knockout handson
Knockout handsonKnockout handson
Knockout handson
 
Knockout bindings
Knockout bindingsKnockout bindings
Knockout bindings
 
Implement curry
Implement curryImplement curry
Implement curry
 
Log4j 2 writing
Log4j 2 writingLog4j 2 writing
Log4j 2 writing
 
Log4j 2 source code reading
Log4j 2 source code readingLog4j 2 source code reading
Log4j 2 source code reading
 
InvokeDynamic at #shikadriven 2012
InvokeDynamic at #shikadriven 2012InvokeDynamic at #shikadriven 2012
InvokeDynamic at #shikadriven 2012
 
Studying Network #1
Studying Network #1Studying Network #1
Studying Network #1
 
Inside The Java Virtual Machine
Inside The Java Virtual MachineInside The Java Virtual Machine
Inside The Java Virtual Machine
 
FxUG HTML5
FxUG HTML5FxUG HTML5
FxUG HTML5
 
T2 reading 20101126
T2 reading 20101126T2 reading 20101126
T2 reading 20101126
 
Kanjava20110302
Kanjava20110302Kanjava20110302
Kanjava20110302
 
GWT♥HTML5
GWT♥HTML5GWT♥HTML5
GWT♥HTML5
 
Slim3 Gwt In Action
Slim3 Gwt In ActionSlim3 Gwt In Action
Slim3 Gwt In Action
 
はじめてのPHP
はじめてのPHPはじめてのPHP
はじめてのPHP
 
T2 - 関ジャバ1月27日
T2 - 関ジャバ1月27日T2 - 関ジャバ1月27日
T2 - 関ジャバ1月27日
 

Kürzlich hochgeladen

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Kürzlich hochgeladen (20)

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 

Play Netty LT

  • 1. Play! in Tokyo #2 Netty Play! 2011 10 8
  • 2. Play! in Tokyo#2 Netty COPYRIGHT 2011 PLUGRAM, INC. 2011 10 8
  • 3. Play! in Tokyo#2 Netty COPYRIGHT 2011 PLUGRAM, INC. 2011 10 8
  • 4. Play! in Tokyo#2 Netty COPYRIGHT 2011 PLUGRAM, INC. 2011 10 8
  • 5. Play! in Tokyo#2 Netty COPYRIGHT 2011 PLUGRAM, INC. 2011 10 8
  • 6. Play! in Tokyo#2 Netty COPYRIGHT 2011 PLUGRAM, INC. 2011 10 8
  • 7. Play! in Tokyo#2 Netty UpStream( )/DownStream( ) Handler ChannelPipeline Handler COPYRIGHT 2011 PLUGRAM, INC. 2011 10 8
  • 8. Play! in Tokyo#2 Netty COPYRIGHT 2011 PLUGRAM, INC. 2011 10 8
  • 9. Play! in Tokyo#2 Netty COPYRIGHT 2011 PLUGRAM, INC. 2011 10 8
  • 10. Play! in Tokyo#2 Netty COPYRIGHT 2011 PLUGRAM, INC. 2011 10 8
  • 11. Play! in Tokyo#2 Netty COPYRIGHT 2011 PLUGRAM, INC. 2011 10 8
  • 12. Play! in Tokyo#2 Netty COPYRIGHT 2011 PLUGRAM, INC. 2011 10 8
  • 13. Play! in Tokyo#2 Netty COPYRIGHT 2011 PLUGRAM, INC. 2011 10 8
  • 14. Play! in Tokyo#2 Netty // allow-access-from domain=”*” to-ports=”*” pipeline.addLast( "flashPolicy", new FlashPolicyHandler()); // Netty API pipeline.addLast( "decoder", new HttpRequestDecoder()); // Long Polling (Streaming) pipeline.addLast( "aggregator", new StreamChunkAggregator(max)); // Netty API pipeline.addLast( "encoder", new HttpResponseEncoder()); // Netty API(Streaming ) pipeline.addLast( "chunkedWriter", playHandler.chunkedWriteHandler); // HTTP WebSocket pipeline.addLast( "handler", playHandler); COPYRIGHT 2011 PLUGRAM, INC. 2011 10 8
  • 15. Play! in Tokyo#2 Netty COPYRIGHT 2011 PLUGRAM, INC. 2011 10 8
  • 16. Play! in Tokyo#2 Netty COPYRIGHT 2011 PLUGRAM, INC. 2011 10 8
  • 17. Play! in Tokyo#2 Netty COPYRIGHT 2011 PLUGRAM, INC. 2011 10 8
  • 18. 2011 10 8