From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f4671,dcf2c3d9b4549885 X-Google-Attributes: gidf4671,public X-Google-Thread: f6653,dcf2c3d9b4549885 X-Google-Attributes: gidf6653,public X-Google-Thread: f57db,2870e3c2c7ff13cb X-Google-Attributes: gidf57db,public X-Google-Thread: 1164f8,2870e3c2c7ff13cb X-Google-Attributes: gid1164f8,public X-Google-Thread: 11035d,dcf2c3d9b4549885 X-Google-Attributes: gid11035d,public X-Google-Thread: 102b75,dcf2c3d9b4549885 X-Google-Attributes: gid102b75,public From: scott@doubleu.com (Scott Hess) Subject: Re: Latency vs performance Date: 1998/05/01 Message-ID: #1/1 X-Deja-AN: 349206175 References: <35359B3A.2A830CB1@earthlink.net> <6i23aq$3nu$5@news1.fast.net> <6i42lr$deg$1@lyra.csx.cam.ac.uk> <6i4m5n$t19$1@news1.fast.net> <6i5clm$uek$1@news.iastate.edu> <6i7dfm$4go$1@news1.fast.net> Followup-To: comp.sys.sun.hardware,comp.sys.sun.misc,comp.unix.solaris,comp.arch,comp.sys.dec,comp.benchmarks X-Trace: 1 May 1998 04:12:53 -0500, 206.112.192.106 Organization: Is a sign of weakness Newsgroups: comp.sys.sun.hardware,comp.sys.sun.misc,comp.unix.solaris,comp.arch,comp.sys.dec,comp.benchmarks In article <6i7dfm$4go$1@news1.fast.net>, scott@wopr.iuinc.com (Scott Walters) writes: John Hascall (john@iastate.edu) wrote: : Turns out the client program was issuing a whole series of : (small) queries to the DB on the server. This : reply-respond-repeat isn't very visible when the client and : server are a few feet of ethernet apart -- when they have more : than 1000 miles of T3 between them, you have a lot of dead air : time. : : This failure to consider latency when architecting this app, : pretty much left the project a total loss. Yeah, i could really see that. I've never encountered apps that have that problem, but does not suprise me that they exist. One area this problem is prevalent in is GUI displays. Under certain GUI's, say, Windows or MacOS, the windowing subsystem is effectively part of the application itself. Other GUI's, such as those based on X Windows or DPS, the windowing system runs via a seperate process. [Windows NT is a weird case. As I understand things, earlier versions of NT ran the windowing system as a seperate process, but nowadays it's more or less back in the kernel.] The main difference, even for a single machine, is latency. On a system where they are seperate, a program with moderately well designed drawing algorithms can be an order of magnitude faster than a program with a badly designed drawing algorithm. Nominally, it doesn't make a difference on something like Windows, though in my experience it does. If you take a badly designed scheme of drawing, revise it so it draws much faster under X, and then port it back to Windows, the result will likely be somewhat faster than the original version. Under X Windows or NeXTSTEP/OpenStep, the network latency becomes much more noticable when displaying across a 10Mbit LAN - and hard to ignore if it's a WAN link. I expect this "problem" to become more and more commented on, given the oncoming popularity of Windows NT variations on remote display. Citrix and kin can only do so much to make display efficient before the app developer has to step in and help. Later, -- scott hess (408) 739-8858 http://www.doubleu.com/