tag:blogger.com,1999:blog-11251261.post9185622855872274023..comments2023-05-22T04:55:48.447-04:00Comments on See All. Hear All.: Netty Tutorial Part 1: Introduction to Nettynickmanhttp://www.blogger.com/profile/09238427833396441114noreply@blogger.comBlogger51125tag:blogger.com,1999:blog-11251261.post-84420543633937837312016-12-08T15:07:22.300-05:002016-12-08T15:07:22.300-05:00Would that be possible for you to post on OIO impl...Would that be possible for you to post on OIO implementation (I think this is synchronous one). Thanks.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-11251261.post-19923418692147517062016-11-15T10:38:28.130-05:002016-11-15T10:38:28.130-05:00Thank you very much for this post. It has helped m...Thank you very much for this post. It has helped me to understand concepts better.santosh s shethttps://www.blogger.com/profile/17192504550569751896noreply@blogger.comtag:blogger.com,1999:blog-11251261.post-25210133799271155192016-02-26T07:43:07.706-05:002016-02-26T07:43:07.706-05:00This is very helpful info for start-up guys like m...This is very helpful info for start-up guys like me.<br />Thanks you so much.<br /><br />I have just started to build a very fast chat app with the php, apache, android and ios. <br /><br />I have developed the chat apps for iOS and Android.<br /><br />On the server site, I have developed the web site and the api requied for chat apps.<br /><br />The issue i am getting now, is that, when I send/receive photo, videos, audio, it responds very slow.<br /><br />Now , I am planning to use web socket to replace http for faster messeging(chat) system.<br /><br />Please guide me if I need to re-consider my framework structure of client and servers sides.<br /><br /><br />Thanks in advance.<br /><br />Anonymoushttps://www.blogger.com/profile/14087830444081130824noreply@blogger.comtag:blogger.com,1999:blog-11251261.post-43309824582430938642016-01-26T22:46:08.355-05:002016-01-26T22:46:08.355-05:00Excellent publication . Very grateful for the effo...Excellent publication . Very grateful for the effort. Fully usable at present.<br /><br />Best regards,César Garcíahttps://www.blogger.com/profile/01446590935741064268noreply@blogger.comtag:blogger.com,1999:blog-11251261.post-23446160925526559852015-11-12T05:33:55.804-05:002015-11-12T05:33:55.804-05:00This is by far the best and the only tutorial avai...This is by far the best and the only tutorial available for netty. Thank you so much for this detailed awesome tutorial. The only sad part is, you are not writing anymore here. Is there any other place you write? Do you plan to write for later netty versions (at least netty 4.0?). Please reply and let us know where you are currently sharing/writing your knowledge/tutorials. (I am opting to follow up on any comments to this post, hoping you would reply. After all this is a three years old post!)Amudhanhttps://www.blogger.com/profile/06517557838074500370noreply@blogger.comtag:blogger.com,1999:blog-11251261.post-20517234682085131392015-10-02T12:10:39.940-04:002015-10-02T12:10:39.940-04:00Diagrams were done in Inkscape.Diagrams were done in <a href="https://inkscape.org/en/" rel="nofollow">Inkscape</a>.nickmanhttps://www.blogger.com/profile/09238427833396441114noreply@blogger.comtag:blogger.com,1999:blog-11251261.post-86529092263579503982015-09-03T13:32:19.321-04:002015-09-03T13:32:19.321-04:00Thanks for great article, I have read it through, ...Thanks for great article, I have read it through, but have not found what I was looking for, and that is:<br /><br />1. How many requests can be working in parallel at once in one channel. Usually there is 1:1 relation, but if you have a load balancer in front like ELB, you will have multiple requests getting in through same socket.<br /><br />2. if there are several requests each in different handler of same channel, and one request stores something through <br />ctx.channel().attr("some_key").set(someValue);<br /><br />will another request be able to access it / change it since they both are in same channel?<br /><br />thanks<br /> Anonymoushttps://www.blogger.com/profile/11507059198125457828noreply@blogger.comtag:blogger.com,1999:blog-11251261.post-80500475199822955152015-06-18T06:36:38.248-04:002015-06-18T06:36:38.248-04:00Great article - Thank you for your effort & he...Great article - Thank you for your effort & help to others.Aidannoreply@blogger.comtag:blogger.com,1999:blog-11251261.post-11581934119557850252015-06-18T06:16:56.095-04:002015-06-18T06:16:56.095-04:00What is the diagram software / tool you used to cr...What is the diagram software / tool you used to create these diagram in this post. Is it <a href="http://creately.com" rel="nofollow">creately</a> ?Evanhttps://www.blogger.com/profile/01134034541170679170noreply@blogger.comtag:blogger.com,1999:blog-11251261.post-15865273725554068082015-03-09T00:10:35.590-04:002015-03-09T00:10:35.590-04:00Thank you for the tutorial. Your explanation is ve...Thank you for the tutorial. Your explanation is very clear and to the point. This is the best tutorial available on Netty that I would recommend to a beginner like me.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-11251261.post-75168912621493892232015-01-09T16:18:36.469-05:002015-01-09T16:18:36.469-05:00Thanks so much for this great article! I'm new...Thanks so much for this great article! I'm new to Netty and I'm currently working on a TCP/UDP router application using the Camel framework and the associated Netty4 component. I need the ability to accept/reject multiple TCP connections from a given client. Using a lookup file where each entry contains a client IP:port tuple and the maximum_number_of_connections allowed for that client, accept a new connection from the client if the connection would not exceed the maximum allowed connections for that client. If a new connection request would cause the maximum allowed TCP connections for that client to be exceeded, then deny/reject the request and also disconnect all currently established TCP connections for that client. This is done as a means to force the client to re-sync.<br /><br />I'm using a consumer-linked channel pipeline factory and currently is just has a decoder handler to detect TCP message boundaries (i.e newline-delimited) followed by a Camel processor() to convert each received TCP string to JSON format.<br /><br />Any pointers would be greatly appreciated, Thanks, SteveRAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-11251261.post-20733893945068328712014-11-06T11:10:53.305-05:002014-11-06T11:10:53.305-05:00thank sir, you are the real mvpthank sir, you are the real mvpAnonymoushttps://www.blogger.com/profile/02571050119722290469noreply@blogger.comtag:blogger.com,1999:blog-11251261.post-38957408741313882412014-10-08T09:03:52.579-04:002014-10-08T09:03:52.579-04:00Without doubt the best article I have ever read co...Without doubt the best article I have ever read concerning anything.<br /><br />Thank-you so much for writing something at a level which is digestible, understandable and fun to read.<br /><br />If there were awards for such things, I'd nominate you :-)Anonymoushttps://www.blogger.com/profile/00871065229674318183noreply@blogger.comtag:blogger.com,1999:blog-11251261.post-88655605565970875472014-05-30T15:23:22.537-04:002014-05-30T15:23:22.537-04:00I AM SORRY for not responding to any of your posts...I AM SORRY for not responding to any of your posts. I was sunk into something else for a while and had a hard time getting back to this. Please bear with. I will try and respond to each one.<br /><br />Thanks.<br /><br />//Nicholasnickmanhttps://www.blogger.com/profile/09238427833396441114noreply@blogger.comtag:blogger.com,1999:blog-11251261.post-27781031104658180102014-04-30T16:49:13.774-04:002014-04-30T16:49:13.774-04:00Thanks a lot for this wonderful tutorial.. This ha...Thanks a lot for this wonderful tutorial.. This has really helped me a lot in understanding the basics without getting lost in the technical jargon.. Keep up the good work..Arpitanoreply@blogger.comtag:blogger.com,1999:blog-11251261.post-65444737652892141542014-04-04T06:52:58.753-04:002014-04-04T06:52:58.753-04:00Thanks for this wonderful introduction nickman. ch...Thanks for this wonderful introduction nickman. cheers..!sudheerahttps://www.blogger.com/profile/07103347164487595794noreply@blogger.comtag:blogger.com,1999:blog-11251261.post-43066840547239331562014-02-11T19:40:04.823-05:002014-02-11T19:40:04.823-05:00Great tutorial. Tnks! Part 2 would be great!Great tutorial. Tnks! Part 2 would be great!Anonymoushttps://www.blogger.com/profile/07395974750507395504noreply@blogger.comtag:blogger.com,1999:blog-11251261.post-50293934835117880372013-12-16T04:18:54.074-05:002013-12-16T04:18:54.074-05:00Bootstrap boostrap = new ClientBootstrap(channelFa...Bootstrap boostrap = new ClientBootstrap(channelFactory);<br />You have created a object of Bootstrap and in next line you are calling to connect method, which is not there in Bootstrap Class, connect method is of ClientBootStrap class which extends BootStrap. Might be i am on wrong documentation but I am not able to see connect method on clientBootstrap class.<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-11251261.post-75628136913274400842013-12-16T04:08:09.352-05:002013-12-16T04:08:09.352-05:00another typo
Bootstrap boostrap = new ClientBoots...another typo <br />Bootstrap boostrap = new ClientBootstrap(channelFactory);<br /><br />and in second line<br /><br />bootstrap.connect(addressToConnectTo);<br /><br />variable name differ (boostrap -> bootstrap)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-11251261.post-29294717349457375762013-11-30T20:14:27.751-05:002013-11-30T20:14:27.751-05:00Good stuff there - simple, concise and concrete ex...Good stuff there - simple, concise and concrete examples.<br /><br />Top marks!<br /><br />Your article is a shining example of how tutorials should be written.<br /><br />Thanks for your efforts!Garynoreply@blogger.comtag:blogger.com,1999:blog-11251261.post-22870239604258327982013-11-27T00:06:25.822-05:002013-11-27T00:06:25.822-05:00This is the best tutorial on netty I have found. I...This is the best tutorial on netty I have found. I think I finally know enough to read the code examples<br /><br />ThanksAnonymoushttps://www.blogger.com/profile/09125717892996696840noreply@blogger.comtag:blogger.com,1999:blog-11251261.post-14085350547815508422013-11-27T00:04:46.568-05:002013-11-27T00:04:46.568-05:00This is by far the tutorial I have found on netty....This is by far the tutorial I have found on netty. I finally think I know enough to read the example<br /><br />Many thankAnonymoushttps://www.blogger.com/profile/09125717892996696840noreply@blogger.comtag:blogger.com,1999:blog-11251261.post-72410878490918716262013-11-19T07:58:03.710-05:002013-11-19T07:58:03.710-05:00Thank you for this great tutorial.Thank you for this great tutorial.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-11251261.post-52780767923826657132013-09-30T09:33:22.884-04:002013-09-30T09:33:22.884-04:00Thank you so much for this tutorial, I'm readi...Thank you so much for this tutorial, I'm reading some first lines and find it is so valuable for whom just comes to Netty like me. Very clear and strong basic explaination. Awesome work!Redseahttps://www.blogger.com/profile/12866344888979984843noreply@blogger.comtag:blogger.com,1999:blog-11251261.post-30366661228105887112013-08-27T13:48:50.069-04:002013-08-27T13:48:50.069-04:00Netty is crap. It is designed by someone who didn&...Netty is crap. It is designed by someone who didn't even understand the difference between tcp and udp. You just can't expect a proper design from someone who lacks this basic understanding.<br /><br />Unfortunately, the Java world is sloppy and it just jumps on whatever framework out there.Anonymousnoreply@blogger.com