DEV Community

ADONIS SIMO
ADONIS SIMO

Posted on

How to implement real-time notifications in my web application when i can't afford service like firebase ?

Top comments (9)

Collapse
 
rhymes profile image
rhymes

Are you sure you can't afford it? How big is your service going to be?

Give us some numbers :-)

Collapse
 
simo97 profile image
ADONIS SIMO

Actually it is weird since the manager don't want to use it in fact, he want a "custom solution". This is why i am saying i can't afford it.

Collapse
 
rhymes profile image
rhymes

Well, a custom solution is probably going to be more expensive than a managed one. I'm not following the logic :-(

Thread Thread
 
alchermd profile image
John Alcher

I think he meant "afford" in a non-monetary way.

Thread Thread
 
rhymes profile image
rhymes

Oh, ok. I think he hasn't given us enough information to respond with meaningful suggestions :D

Collapse
 
simo97 profile image
ADONIS SIMO

The logic i had in mind it to build a simple websocket server app which will receive notification from application server and dispatch it to concerned clients which are currently connected. Like pusher.com, in the same logic of working i mean

Collapse
 
alex_barashkov profile image
Alex Barashkov

Take a look at my article about it. It could give you a good starting point.
dev.to/alex_barashkov/real-time--p...

Collapse
 
rhymes profile image
rhymes

Hasura is super interesting!

Collapse
 
akashkava profile image
Akash Kava

What kind of notifications? Simple data push can be done with Web sockets. For mobile, there are many solutions already available that you can self host.