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

  • SEARCH
  • Home
  • 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 8381793
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T16:46:32+00:00 2026-06-09T16:46:32+00:00

After spending few hours on the internet to find about push notification system for

  • 0

After spending few hours on the internet to find about push notification system for web application, I have some conclusion and also curiosity about it..

When we’re looking for this notification technology, we will see ‘websocket’ terms over and over again. specially in this HTML 5 era.

But, after seeing this demo : http://www.websocket.org/echo.html

One thing I just realized is : websocket will push notification FROM a browser TO another browser. There’s no database involved here.

What if, in my case, I have a database regularly inserted by Linux Daemon (not a web browser) but I want it to be pushed to client’s web browser? how to do that with websocket? or this is the limitation of websocket technology? if so, is there any solution for my case?

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-06-09T16:46:33+00:00Added an answer on June 9, 2026 at 4:46 pm

    It depends on the server you are using to handle the websocket requests. You will need to develop the server to check for/push database updates to the client.

    What if, in my case, I have a database regularly inserted by Linux Daemon (not a web browser) but I want it to be pushed to client's web browser? how to do that with websocket?

    You don’t do this with websockets; javascript websockets are the client-side implementations. You will need to handle this on your server (maybe make the insertion daemon send a signal to the server application, or have the server code regularly check for updates to the database).

    You may want to play aroud with mod_pywebsocket to give you ideas. Also see Why do we need web-sockets? to help you understand what websockets really are.

    Websockets are just open connections to the server. It’s kinda like calling someone and having them say “please hold”. The connection is open, but once they have something to talk to you about, rather than having to dial your phone and then wait for you to answer, they just lift up the receiver and start talking. So it is with websockets; once the server has data ready, I just sends it to the client (or vice-versa). This avoids having to make numerous AJAX calls to the server.

    So websockets can do anything; the limitation is not the connection, but how well you program the client and server.

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

Sidebar

Related Questions

After spending a good 3 to 4 hours on google trying to find any
A 3rd party site sends its notifications after my web application has completed some
OK, So I have recently moved into the world of Web development after spending
EDIT: After spending several hours researching this, I don't think I'm going to find
I am sure I am doing something wrong, but after spending a few hours
After spending the last few months learning about MATLAB, it seems I need to
I have a few questions about PHP memory usage. I'm going to run some
After spending some time wireframing my ideas, I want to start building my rails
We initially didn't use any logging or debug tracing but after spending few weeks
After spending a few months pondering how i was going to JOIN tables together

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.