[AG-TECH] Venue Client Entry simulator for AGTK 2.3

Andrew Rowley Andrew.Rowley at manchester.ac.uk
Thu Feb 17 03:30:28 CST 2005


Hi,

I am unsure of why this happens.  The script was just made up from what I
could work out from the interface.  Therefore it is quite possible that this
is not how it should be done in practice.  If anyone at ANL would like to
comment on this, this would be useful...

Andrew :)

============================================
Access Grid Support Centre,
RSS Group,
Manchester Computing,
Kilburn Building,
University of Manchester,
Oxford Road,
Manchester, 
M13 9PL, 
UK
Tel: +44(0)161-275 0685
Email: Andrew.Rowley at manchester.ac.uk 

-----Original Message-----
From: Christoph Willing [mailto:willing at itee.uq.edu.au] 
Sent: 17 February 2005 05:45
To: Andrew Rowley
Subject: Re: [AG-TECH] Venue Client Entry simulator for AGTK 2.3


On 02/02/2005, at 7:33 PM, Andrew Rowley wrote:

> Hi,
>
> I have written a short script (see below) that simulates the entry,
> heartbeats and exit of a client from an AGTk 2.3 venue server.  I 
> thought it
> might be useful to someone out there, such as people who want to use a
> dynamic venue without needing an AGTk 2.3 user to be in the venue.  
> This
> script enters the venue with a given URL, and holds the venue open 
> until the
> user presses ctrl-c to quit.
>

Andrew,

Cute script.

I noticed that it actually adds two entries into the venue's 
participant list - 1 on entry, then 1 for the hearbeats.

By swapping the sleep() & UpdateClientProfile() functions and sleeping 
for 300 instead of 10 (300 is VenueServer's houseKeeperFrequency), you 
can delay the problem by 5 minutes. For whatever this script is being 
used for, that should be plenty of time to avoid the double entry. 
However that just delays the problem - I'd like to know how to avoid it 
in the first place.

Any ideas?


chris



Christoph Willing                        Ph: +61 7 3365 8350
QPSF Access Grid Manager
University of Queensland






More information about the ag-tech mailing list