Skip to content

vievsovych/NIO

 
 

Repository files navigation

Test Code Instruction
-----------------------------------------
Almost all netty codes are from its source code repository https://github.com/netty/netty.git.

Grizzly server codes are from grizzly source code repository https://github.com/GrizzlyNIO/grizzly-mirror.git. 

Async HTTP client is used as websocket client for grizzly websocket server, which is found here https://github.com/AsyncHttpClient/async-http-client.



More Reading List Regarding to Chat Topic
-----------------------------------------
https://developers.facebook.com/docs/chat/

http://stackoverflow.com/questions/11077857/what-are-long-polling-websockets-server-sent-events-sse-and-comet


Twitter XMPP server
http://www.tigase.org/


20131215

web socket / netty over Apache MINA, Grizzly
http://netty.io/wiki/related-articles.html
http://netty.io/wiki/user-guide-for-4.x.html

JAVA NIO
http://tutorials.jenkov.com/java-nio/buffers.html (talks about NIO concepts)
A classic problem c10k, and then c10m
http://www.kegel.com/c10k.html (too theoretical)
http://highscalability.com/blog/2013/5/13/the-secret-to-10-million-concurrent-connections-the-kernel-i.html (too theoretical)
http://seeallhearall.blogspot.com/2012/05/netty-tutorial-part-1-introduction-to.html
http://seeallhearall.blogspot.com/2012/06/netty-tutorial-part-15-on-channel.html

NIO server simple example
https://gist.github.com/Botffy/3860641
https://github.com/nickman/netty-ajax-server/blob/master/src/main/java/org/helios/netty/examples/DateSender.java

secure netty chat example
http://docs.jboss.org/netty/3.2/xref/org/jboss/netty/example/securechat/package-summary.html

websocket secure
http://stackoverflow.com/questions/10336418/how-to-secure-websockets-with-netty



scale node.js

http://www.cyberciti.biz/tips/linux-increase-outgoing-network-sockets-range.html
debug node.js in eclipse
https://github.com/joyent/node/wiki/using-eclipse-as-node-applications-debugger


tsung test websocket
http://www.slideshare.net/ngocdaothanh/tsung-13985127

grizzly benchmark
http://restlet.org/learn/1.1/benchmark
https://weblogs.java.net/blog/sdo/archive/2008/04/more_on_the_sim.html
http://mailinator.blogspot.com/2008/02/kill-myth-please-nio-is-not-faster-than.html
http://jfarcand.wordpress.com/2006/03/19/can-a-grizzly-run-faster-than-a-coyote-2/
https://weblogs.java.net/blog/carryel/archive/2011/12/21/introduction-grizzly-thrift-and-sharing-benchmarking-results

test tools
http://www.opensourcetesting.org/performance.php
http://autobahn.ws/testsuite/manual/#testee
https://github.com/Worlize/WebSocket-Node

xmpp over websocket
http://www.adobe.com/content/dam/Adobe/en/devnet/html5/articles/book-excerpt-the-definitive-guide-to-html5-websocket/9781430247401_Ch04.pdf
https://www.loomio.org/d/0czigqsM/implement-realtime-chat-possibly-using-xmpp


twitter infrastructure
http://highscalability.com/blog/2013/7/8/the-architecture-twitter-uses-to-deal-with-150m-active-users.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 97.6%
  • JavaScript 2.1%
  • Other 0.3%