Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Push updates to conversations #132

Open
skord opened this issue Jan 15, 2013 · 0 comments
Open

Push updates to conversations #132

skord opened this issue Jan 15, 2013 · 0 comments

Comments

@skord
Copy link
Contributor

skord commented Jan 15, 2013

So I've had to use some pretty craptastic chat apps, thought is that upon submission, the comment is pushed via web socket and appended to the end of the comment list.

This is preferable over polling every X seconds as:

  • Target platform is Heroku, polling for updates when there aren't any can tie up dyno time
  • Conditional gets would bypass that problem, but have been problematic in this app due other document.ready things like timeago being ignored when this is the behavior. This could be overcome by the use of polling with conditional gets to a JSON representation of the comments and other ways.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant