Ajax chat shouldn't be received at an interval. You should get every message as soon as it's sent.
LlamaSlayers Ajax Chat does not require any database server or special configuration. All you need is a server that supports PHP and you're on your way!