Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Streaming API - order of messages
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
devth  
View profile  
 More options Sep 28 2012, 12:57 pm
From: devth <trevorhart...@gmail.com>
Date: Fri, 28 Sep 2012 09:57:14 -0700 (PDT)
Local: Fri, Sep 28 2012 12:57 pm
Subject: Streaming API - order of messages

It looks like the streaming api doesn't guarantee streaming messages in the
order that they were received.

I quickly posted 10 messages with my Campfire client (Flint) and noticed my
streaming api connection received them slightly out of order.
Logs (with ids zeroed out):

{:room_id 0, :created_at 2012/09/28 16:44:43 +0000, :body ten, :starred
false, :id 0, :user_id 0, :type TextMessage}
{:room_id 0, :created_at 2012/09/28 16:44:42 +0000, :body nine, :starred
false, :id 0, :user_id 0, :type TextMessage}
{:room_id 0, :created_at 2012/09/28 16:44:41 +0000, :body eight, :starred
false, :id 00, :type TextMessage}

You can tell they're out of order by the created_at timestamps. Is that
expected?

Trevor


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »