If your rdbms supports it, stored procedures would speed things up. A trigger on insertion would let you avoid polling.
Do you remove messages as they are read? If not, a timestamp or 'seen' flag would let you reduce the size of responses.
After Compline,
Zaxo
In reply to Re: Database poller
by Zaxo
in thread Database poller
by Marcello
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |