Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Why do we have to poll for email in the first place?

Huns Valen
Don't PM me here.
Join date: 3 May 2003
Posts: 2,749
05-15-2005 16:42
It is said that one of the problems with the database server is that there are several hundred email queries coming in per second. With XML-RPC, one opens a channel and RPC calls raise an event directly. Why poll for email? Why not raise an event instead? Polling seems like a wasteful way to go about it.
Adam Zaius
Deus
Join date: 9 Jan 2004
Posts: 1,483
05-15-2005 17:10
From: Huns Valen
It is said that one of the problems with the database server is that there are several hundred email queries coming in per second. With XML-RPC, one opens a channel and RPC calls raise an event directly. Why poll for email? Why not raise an event instead? Polling seems like a wasteful way to go about it.


Yeah, I'd happily support a change to having it push out. Woudlnt break anything of mine either, since usually I have to setup a timer (which is more resources wasted) to keep polling every 10-20s.

-Adam
_____________________
Co-Founder / Lead Developer
GigasSecondServer