Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Why does a simple XML request take so long?

AnnMarie Otoole
Addicted scripter
Join date: 6 Jan 2007
Posts: 162
10-20-2007 09:54
Nothing special - using the textbook example by RobKubrick at http://rpgstats.com/wiki/index.php?title=XMLRPC#PHP_Implentation
I'm using the IXR Library he suggests.

It works fine. No errors. The SL Object receives the packet and responds but turn around time is running 15 to 60 seconds. I know there is a 3 second delay in llRemoteDataReply, what on Earth is taking so much additional time?

(I am extracting the Channel key from a MySQL data base but that should only be taking microseconds.)

AnnMarie Otoole
AnnMarie Otoole
Addicted scripter
Join date: 6 Jan 2007
Posts: 162
10-22-2007 00:40
If anyone is interested, I think I've found the problem. They have added UNDOCUMENTED script delays to the XML functions in an attempt to solve a griefing problem. Instead of solving a problem they just did a lobotomy on the functions making them all but unusable.

HOWEVER IT WOULD HAVE BEEN CONSIDERATE HAD THEY PUT A SHORT NOTE IN THE WIKIs TO LET ME KNOW BEFORE SPENDING 2 WEEKS SCRIPTING A PROJECT AND SPENDING HARD CASH ON A WEBSITE TO HANDLE THE PROJECT.

I sincerely hope this analysis is wrong but I suspect I'm up the cyber bloody creek without a cyber bloody paddle.
AnnMarie Otoole
Addicted scripter
Join date: 6 Jan 2007
Posts: 162
10-30-2007 12:45
It turns out they have added what appears to be an undocumented variable delay from 5 to over 60 seconds on the XML-RPC Communication functions to limit griefing where it appears that a 1 or 2 second delay should have been adequate.

If you are a land owner, please go to https://jira.secondlife.com/browse/MISC-686 and vote to have this travesty corrected.