I'm testing some XML API (User) calls, and whilst they return successful Responses, they are all returning with a gsbStatus of BACKUP (not PRIMARY). And I'm noticing (what I believe to be) significant delays in the requested change to the user taking place. For example, making a change to a user via the API is taking some time to reflect on the Site, both for the User themselves and via the Site Admin view.
<?xml version="1.0" encoding="ISO-8859-1"?>
<serv:bodyContent xsi:type="use:setUserResponse" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
The GSB FAQ seems to suggest that everything should be being updated between Primary and Backup in real time.
Is there anything that can be done to avoid this delay?
Changes made via API should be reflected immediately. One possible cause would be if your application is caching DNS lookup, causing you to still be posting your requests to backup even though your service is on primary (or the other way around). This is a common issue with JAVA based applications, as JAVA caches DNS lookup indefinitely by default. JAVA can be configured to skip caching DNS lookups, or at least to flush DNS cache periodically. Not caching is preferable, but if it is necessary, I would recommend limiting the TTL to 5 minutes or less.