Be Open Source
Posts tagged performance
Erlang Book Review
Jul 19th
After reading an interesting article on Erlang and Java interoperability, I have decided to dedicate my spare time to Erlang.
O’Reilly has just published a wonderful book on Erlang, so I decided to dive into it.
Evolving concurrency, like memory management did
Jun 11th
As processors become faster and multiprocessor systems become cheaper, the need to take advantage of multithreading in order to achieve full hardware resource utilization only increases the importance of being able to incorporate concurrency in a wide variety of application categories.
In this article we are evaluting a new approach to the concurrency. In the last five years computers are becoming even more parallel. Intel is pushing multi-core achiteture also on commodity personal computers. Neverless the computing power is ofter not well used: one again, hardware is a step head of our day-by-day software development. Remember when the 80286 came into More >
Java HttpClient and Load Balancer bad interactions
May 21st
Working for a very big customer, I found a very nasty interaction between Sun HttpClient (JDK 1.4) and Http Load Balancers.
In a complex network environment, sometimes you can experience low level TCP/IP comunication errors, because sometimes HttpClient get confused and hangs.
The bad behavior of Sun HttpClient is well known: some guys suggested me to use the Axis Web Client. Anyway you can solve the issue adding these three parameters to the JVM launch line
-Dsun.net.client.defaultConnectTimeout=5000 -Dsun.net.client.defaultReadTimeout=5000 -Dhttp.keepAlive=false
The first two parameters set globally the socket timeout to 5 seconds. The last parameter forces the JVM to avoid reusing http connections when doing More >
April 0.2 Application Performance Framework
Apr 16th
April (Application Performance Framework) is a super-light application framework based on Spring, featuring:
- An Aspect Oriennted Programing Performance Monitor, which try to increase performance on the fly
- A super-light XML-RPC communication framework
April first commitment is “be lite, be pluggable” and do not re-invent the wheel. I am happy to describe here how it works the Beta 0.2, called “Fat Cat” by friends.
Getting Started with April
April is a self-contained package, you can download here:
April Version 0.2 (119)April project has been developed under Eclipse Ganymede, which is higly recommended. Anyway an ant build script is provided.
The project binary results in a webapp (war) you can More >
Comments / Commenti