Recently I was looking into capabilities of theThreadLocal. And I decided to test everything against a SimpleDateFormat instance. Unfortunately the SDF is not a thread safe. So in a multi-threaded environment you can avoid concurrent modifications using “Synchronized”. I ran 100000 iterations over small set of 3 dates. Now it was time to implement same thing using ThreadLocal. Read the rest of this entry »
My Setup: Mac OS X 10.6, Comcast Modem, Linksys router
Recently I noticed that suddenly my internet use to slow down. I started digging out for the exact problem. While pinging to Google I received following response:
64 bytes from 74.125.115.147: icmp_seq=3024 ttl=50 time=34.063 ms
64 bytes from 74.125.115.147: icmp_seq=3025 ttl=50 time=30.229 ms
64 bytes from 74.125.115.147: icmp_seq=3026 ttl=50 time=35.426 ms
Request timeout for icmp_seq 1
64 bytes from 74.125.115.147: icmp_seq=3027 ttl=50 time=32.416 ms
64 bytes from 74.125.115.147: icmp_seq=3028 ttl=50 time=31.934 ms
Request timeout for icmp_seq 2
(*Disclaimer: I’m not related to the movie upload or distribution by any means & just providing a resource which is freely available in the public domain.)
Beautiful stanza from “The road not taken” by Robert Frost
I shall be telling this with a sigh
Somewhere ages and ages hence:
Two roads diverged in a wood, and I—
I took the one less traveled by,
And that has made all the difference.