Your SlideShare is downloading. ×
  • Like
Netty - a pragmatic introduction
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Netty - a pragmatic introduction

  • 2,386 views
Published

presentation for the 53rd JSUG Vienna meeting

presentation for the 53rd JSUG Vienna meeting

Published in Technology , Education
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
2,386
On SlideShare
0
From Embeds
0
Number of Embeds
2

Actions

Shares
Downloads
41
Comments
0
Likes
7

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Netty.ioa pragmatic introduction(live coding https://github.com/raphaelstary/jsug-netty-example)
  • 2. Raphael Stary- software dev(w/ focus on html5, js, java, (java ee), ux, agile,software craftsmanship)- founder of letsplay.io - open web gamestudiotwitter: @RaphaelStaryfacebook.com/RaphaelStarygithub.com/RaphaelStaryxing.com/profile/Raphael_Stary
  • 3. whats netty?Netty is a NIO client serverframework which enablesquick and easy developmentof network applications suchas protocol servers andclients.
  • 4. live coding :)https://github.com/raphaelstary/jsug-netty-example
  • 5. companies- Red Hat- Twitter- Facebook- Boundary- Typesafe...
  • 6. open source projects- HornetQ- Infinispan- Vert.x- Play Framework- Finangle- Cassandra...
  • 7. its asynchronous ...- no blocking IO- share Threads across manyconnections
  • 8. OIOsocketread/writeThreadsocketread/writeThreadsocketread/writeThreadsocketread/writeThread
  • 9. NIOsocketread/writesocketread/writesocketread/writeThreadsocketread/writeselector
  • 10. blocking IO scales not that good ...- a Thread takes memory from 256kb to 1mbfor the stack space- its good with <1000 connections (even betterlatency than NIO)- but >1000 concurrent connections use AIO orNIO
  • 11. netty transports- NIO- OIO- AIO- Local- Embedded
  • 12. supported protocols- TCP- UDP- SCTP (linux only)- UDT- Serial
  • 13. provided codecs- HTTP- Websocket- SPDY- Serialization- JBoss Marshalling- Protobufs- SSL- Zlib
  • 14. how to get started- MEAP preview- http://netty.io/wiki/user-guide-for-4.x.html- https://github.com/netty/netty/tree/master/example- stackoverflow examples- source code java docs
  • 15. Netty- http://netty.io- https://github.com/netty/netty- twitter: @netty_project