PowerVCS Forum
April 29, 2024, 01:29:23 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
  Home Help Search Login Register  
  Show Posts
Pages: 1 2 3 [4]
46  PowerVCS - PowerBuilder Integration / General Discussion / SccQueryInfoEx Error on: September 21, 2009, 02:26:31 PM
I received an error, "Error 2002. SccQueryInfoEx Callbacks=2 Should be 19" when refreshing the object status.  This error will occur in early versions of PB9 (which first implmented SccQueryInfoEx) and can be corrected by using a later release of PB9.  Alternatively you can set SccExtensions=0 in the pb.ini to disable the SccQueryInfoEx function.

As background SccQueryInfoEx is a function defined in the MS-Source Control API standard that allows source control providers to compare objects based on a version number, rather than a character-by-character source comparison.  This results in much faster functions like Refresh Status and Get Latest Version.

Regards,

Phil Wallingford
PowerVCS
47  PowerVCS - PowerBuilder Integration / General Discussion / Adding Objects on a Slow Internet Connection on: September 21, 2009, 02:14:34 PM
Best practice for slow internet connections:

Add the target to source control using the ‘Perform operation on this one target file only’ option

Add the pbls under the target to source control individually rather than ‘Select multiple files contained in this target’ option.

This prevents the slow turnaround for populating the list of objects available for that source control action when on a slow internet connection.

Regards,

Phil
48  PowerVCS - PowerBuilder Integration / General Discussion / Refresh Status vs. Get Latest Version Performance on: September 21, 2009, 02:12:44 PM
When PowerBuilder populates the list of objects for a Get Latest Version it is querying the source control system (PowerVCS or anyone else) one object at a time.  When PB performs a Refresh Status it is querying source control in batches (25 at a time). As a consequence the Get Latest Version is 6-10 times slower.  The basic operation is the same, so I don’t know why both couldn’t perform the same way.  I have a call into my PB source control expert at Sybase and he should shed some light on this.

In the meantime I’ve seen that both operations place the results in a cache so that if you call Get Latest Version a second time, the response is immediate.  This suggests a workaround for now.  If you first Refresh Status, the results, produced relatively quickly, are placed in the cache and if you then call Get Latest, the list of objects appears immediately.

Regards,

Phil Wallingford
PowerVCS
49  PowerVCS - General / General Discussion / Internet Performance on: September 21, 2009, 02:11:16 PM
PowerVCS relies on standard Internet technology so the speed or your connection is critical.

For comparisons sake, I use a speed measurement from speakeasy.net.  From the east coast sites (we're in New Hampshire) I see download speeds no worse than 17500 kbps and upload no worse than 1700 kbps.  We have a cable (Comcast) connection.

As a practical case this means we can Refresh Status of a PBL containing 50 objects in 5 seconds.

Regards,

Phil Wallingford
PowerVCS
Pages: 1 2 3 [4]
Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!