pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: Scott Marlowe <scott.marlowe@gmail.com>
To: A J <s5aly@yahoo.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Confused by 'timing' results
Date: Thu, 02 Sep 2010 14:09:39 -0500
Message-ID: <4C7FB02302000025000350AC@gw.wicourts.gov> (raw)
In-Reply-To: <458444.29196.qm@web120007.mail.ne1.yahoo.com>
References: <788866.21140.qm@web120020.mail.ne1.yahoo.com>
	<4C7D00330200002500034ED2@gw.wicourts.gov>
	<19320.56933.qm@web120013.mail.ne1.yahoo.com>
	<AANLkTi=6k6AbmBcqkVCKgNSiogVfQmP+iOC8FgA6+e5J@mail.gmail.com>
	<529329.89885.qm@web120007.mail.ne1.yahoo.com>
	<4C7F8F2A0200002500035037@gw.wicourts.gov>
	<294404.58402.qm@web120007.mail.ne1.yahoo.com>
	<AANLkTinyeLbvHSOaGSYxPAMQG9nt5nzDpzXM_6+Vg_vT@mail.gmail.com>
	<4C7FA72C0200002500035095@gw.wicourts.gov>
	<458444.29196.qm@web120007.mail.ne1.yahoo.com>

A J <s5aly@yahoo.com> wrote:
 
> With this approach, I will be assuming that the query time does
> not change due to client location, which though reasonable, is
> still an assumption.
 
As I explained in an earlier post, the query can block on the server
due to network bandwidth or latency.  So the "wall time" for query
execution can indeed be different based on location, especially if
you are returning a large result set.  But why would you want to
separate out this type of network delay from the others?
 
If you want to eliminate it as a factor, you need some tier to
receive requests and queue them, pull them from the queue and run
them with another queue for results, and send the results from the
queue back to the requester.  This is what we do, BTW, and it does
give us the ability to totally isolate run time from network
influences.
 
-Kevin



view thread (23+ messages)  latest in thread

Message-ID: <4C7FB02302000025000350AC@gw.wicourts.gov>
Permalink:  ../4C7FB02302000025000350AC@gw.wicourts.gov/
Also on:    postgresql.org/message-id/4C7FB02302000025000350AC@gw.wicourts.gov

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: Kevin.Grittner@wicourts.gov, scott.marlowe@gmail.com, s5aly@yahoo.com
  Subject: Re: Confused by 'timing' results
  In-Reply-To: <4C7FB02302000025000350AC@gw.wicourts.gov>
  References: <788866.21140.qm@web120020.mail.ne1.yahoo.com> <4C7D00330200002500034ED2@gw.wicourts.gov> <19320.56933.qm@web120013.mail.ne1.yahoo.com> <AANLkTi=6k6AbmBcqkVCKgNSiogVfQmP+iOC8FgA6+e5J@mail.gmail.com> <529329.89885.qm@web120007.mail.ne1.yahoo.com> <4C7F8F2A0200002500035037@gw.wicourts.gov> <294404.58402.qm@web120007.mail.ne1.yahoo.com> <AANLkTinyeLbvHSOaGSYxPAMQG9nt5nzDpzXM_6+Vg_vT@mail.gmail.com> <4C7FA72C0200002500035095@gw.wicourts.gov> <458444.29196.qm@web120007.mail.ne1.yahoo.com> <4C7FB02302000025000350AC@gw.wicourts.gov>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox