I needed to create a server for up to 1000 concurrent users. Using a single-threaded-per-socket connection was taking too much CPU and memory. NIO is supposed to increase your latency but it wasn't too much in my case.... Read More
Juan Carlos Gonzalez Blog
Welcome to my Blog! I have been a analyst/programmer for over ten years, most of my work has been about integrating web an telephony services. In this Blog you can find information and code samples that have been useful to me and I hope they can be useful to you too.
Please, send me your feedback!
Latest from the blog
I was asked to develop a socket service that could send and receive requests asynchronously. The service was meant to cope with up to 300 concurrent users and up to send/receive 50/100 messages per second.... Read More
Open a terminal and switch to root user.... Read More
List of commands I normally use for this task:... Read More
Tips before the connecting... Read More
The blank line after JSP directive issue has been tackled from JSP 2.1 version and above. To sort this thing out just set the property trimDirectiveWhitespaces="true" which is set to false by default.... Read More
To get just the key... Read More
BeanProcesor is an Apache API that helps us copy all the values from a Resultset to a bean. It uses reflection and unless you need an extremely optimal code it highly recommended to uses because it reduces development time.... Read More