Karl Uppiano

Home
The Weather Station
Java Weather Software
Software Tech Notes
Reliable Wind Speed Data
Science vs. Religion
My Resume

Engineering Web Site

Archive Newer | Older

Monday, March 20, 2006

WxMonitor Update
I discovered some more issues when running through a poor quality SOHO router. Not only does it not like concurrent access, it drops packets randomly even with synchronized access. You can improve the client behavior by adding

-Dsun.net.client.defaultReadTimeout=60000

to the Java command line. This way, the client will time out after 60 seconds, and keep running, rather than hang indefinitely.
 
You should not attempt to use the timeout to keep things humming along by making the timeout short; this will cause problems when downloading logs and history. You can't make a timeout both short enough to perform well and long enough to be reliable. The problem is still with the router. It is the thing that really needs to be fixed.
 
The Windows shortcuts will have this modification starting with version ow4j060320.
7:57 pm pst

WxService Update
I added synchronization to the web service client. The web service is thread-safe end-to-end, but some routers seem to drop packets when clients attempt concurrent access, causing client request timeouts. The syncronization seems to prevent the timeouts (version ow4j060319).
12:00 am pst


Archive Newer | Older

Contact Us
Use the form below to send comments about this site.

Name:
Email:
Comments:
 

Welcome!
This site is dedicated to my interest in engineering. I use it as a place to just put stuff "out there" for anyone who might be interested, as well as a job search tool. This page contains my engineering web log (to your left). Anything that seems timeless enough, or too involved for a log entry may get it's own page as a full-blown article. And, of course, my resume is here for anyone who might be considering hiring me to do something. Email me.

About Me
I have worked as a broadcast engineer, electronics designer (analog and digital) and software developer. I especially enjoy audio engineering, although I've been writing software for the last several years, since that's where the opportunities are in the Pacific Northwest (this is Microsoft country after all). I'm currently working as a Senior Staff Engineer -- Resume at another large independent software vendor in Washington State.

Futurama Web Site
(not my best side)

I majored in mathematics and physics in college. Other interests include music appreciation (baroque, classical and early romantic, ragtime, and 60's and 70's rock & roll), high fidelity audio electronics, meteorology and of course, computing hardware and software. I tend to think a lot like this guy.