It is common knowledge that a basic chat can be created using an ajax timer and web service, functioning adequately for a small number of users.
I am considering using the same concept for a site with over 5000 users in a chat room. Messages would be stored in a queue in memory and dispatched upon user request, utilizing JavaScript timers to call page methods or services.
How successful will this model be? I am aware that GTalk uses XMPP protocol (jabber) for web chat. Would transitioning to XMPP be too challenging?
Can anyone offer guidance on this matter?