Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail From: Roedy Green Newsgroups: comp.lang.java.programmer Subject: Re: Low-latency alternative to Java Object Serialization Date: Tue, 04 Oct 2011 02:51:34 -0700 Organization: Canadian Mind Products Lines: 27 Message-ID: <1fll879eses7ov6s2c08v3pl4a0u104g82@4ax.com> References: Reply-To: Roedy Green NNTP-Posting-Host: RCd/Ul4tyxGUBII8WGwa5g.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 X-Newsreader: Forte Agent 6.00/32.1186 Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:8514 On Sat, 01 Oct 2011 09:48:50 -0700, markspace <-@.> wrote, quoted or indirectly quoted someone who said : > The increase in CPU costs and network bandwidth it >requires is very cheap. I did a system for monitoring security cameras. The boss said efficiency in transport was the #1 priority because it limited how many cameras could be monitored at a remote site. I did it by defining a number of binary records and writing a method to read/write each type with DataStream. It is conceptually simple -- COBOL think, and had almost no overhead. I could have written a program to generate the Java code to read and write each method given a data description, but the formats were stable enough I never bothered. There were heart beat packets in times of no traffic to let each side know if the other were still live. -- Roedy Green Canadian Mind Products http://mindprod.com It should not be considered an error when the user starts something already started or stops something already stopped. This applies to browsers, services, editors... It is inexcusable to punish the user by requiring some elaborate sequence to atone, e.g. open the task editor, find and kill some processes.