My application has a bottle neck when my users connect to the Parent Geodataserver and retrieve the replica list. Here is the line of code in arcobjects.
IGPReplicas gpReplicas = ParentGeoDataServer.Replicas;
Is there any better way to get this list? Some locations running my code take 30 seconds to get this list. I even run this part of the code asynchronously, but it really slows up my sync and replication process for what seems like a pretty simple function? Does anyone know of any way around this?
We run into the same issue. Especially with 10.0. It got a little bit better with 10.2, but still performance of this silly function is very very poor. We finally ended up with code where we read SDE.GDB_ITEMS =>directly<=:
SELECT UUID into $1 FROM GDB_ITEMTYPES WHERE Name = 'Replica'
SELECT NAME FROM GDB_ITEMS WHERE TYPE = $1
This was the fastest way to get the names of the replicas. But: You get a string instead of an IReplica Handle...