469,935 Members | 1,466 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,935 developers. It's quick & easy.

Pulling(traditional ajax) vs pushing(comet: reverse ajax)???

I am looking to add a chat service to my website. I have read that there are 2 differnt ways of doing this. The traditional way of polling the server for new messages or establishing a connection and pushing messages to the client.

My questions are about the difference in preformance and are there any differences in the bandwidth usage? Basically which is the best way.
Mar 17 '08 #1
1 2345
jhardman
3,406 Expert 2GB
Pushing is generally faster and will vary bandwidth depending on activity. On the other hand it is harder to program and the users must download some type of application for it to run, as far as I understand it.

Pulling will use the same amount of bandwidth at a constant rate, (even if there is no activity), doesn't require installation and is very easy to program.

Let me know if this helps.

Jared
Mar 18 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by bryanilton | last post: by
7 posts views Thread by Larry Bud | last post: by
1 post views Thread by afadich | last post: by
11 posts views Thread by paladin.rithe | last post: by
3 posts views Thread by blueapricot416 | last post: by
7 posts views Thread by Ivan Marsh | last post: by
2 posts views Thread by Yorian | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.