Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6542777
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T11:16:04+00:00 2026-05-25T11:16:04+00:00

I am currently implementing streaming twitter api using node.js & socket.oi Wondering how does

  • 0

I am currently implementing streaming twitter api using node.js & socket.oi

Wondering how does the streaming part actually work(on twitter end)? Lets say i want to implement my own live streaming service, using PHP/MySQL and get latest comments from db and display them live.

Any info/input would be greatly appreciated.

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T11:16:05+00:00Added an answer on May 25, 2026 at 11:16 am

    The streaming Twitter API is an example of a HTTP Streaming API.

    From Quora (linked to above):

    HTTP Streaming is a technique used to push updates to a web client. A persistent connection is held open between the web client and the web server so that when the server has new information it can push it to the client. This is a truly persistent connection that will only drop due to network problems or through user action e.g. navigating away from a web page or the application is closed.

    Looking at the response headers:

    Content-Type:text/html; charset=iso-8859-1
    Server:Jetty(6.1.25)
    Transfer-Encoding:chunked
    

    You can see it uses the Jetty web server.

    Although this is achievable using PHP it’s unlikely to scale all that well and won’t be that efficient – which is why Twitter are using Jetty.

    The way you’d achieve what you seem to be looking for would be to have your comment submitted and stored in your database and then push that comment onto a message queue of some sort. This message queue would be monitored by some kind of realtime technology (e.g. a process that works with Jetty), the message would be read from the queue and then streamed to any clients connected to your HTTP Streaming API.

    Note: If you are just looking at pushing updates (i.e. realtime push, server push, push notifications) to clients (applications, web browsers) then a HTTP Streaming API is probably overkill

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently implementing a .NET wrapper for a Java library by using JNI to
I'm currently implementing a RESTful API (nothing serious, just for a blog engine i'm
I'm currently implementing a software keyboard ( using some sophisticated prediction ), and drawing
I am currently implementing a timer/callback system using Don Clugston's fastdelegates. (see http://www.codeproject.com/KB/cpp/FastDelegate.aspx )
I'm currently implementing Interceptors using Castle DynamicProxy. I require the interceptor to pick up
I'm trying to create a file explorer using nscollectionview and am currently implementing a
I'm currently implementing a script engine in a game I wrote using the C#
I am currently implementing video streaming application where the goal is to utilize as
I am currently implementing a view in Android that involves using a larger than
I'm currently implementing ServletContextListener and using contextDestroyed() to run cleanup tasks on my web

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.