Notifications websocket improvement

in Ecency3 years ago

Last couple weeks, we have noticed some delays and intermittent issues with our notification service. It is crucial part of our infrastructure to deliver notifications to everyone using Ecency mobile app as well as website and desktop apps.

After some investigation we have decided to improve socket connections which seem to get overwhelmed with so many notifications being sent to many active users.

Previously we were using Tornado's socket architecture which is bit outdated, today we finished rewriting some parts of it with Sanic Framework.

So far, we noticed slight higher CPU usage but quite stable connection and message delivery. We will keep an eye on it to see if messages are delivered and service is stable.

Notification service Ecency developed is a bit different than what other apps in ecosystem use because our solution is custom. We wrote this piece of software more than 3 years ago and it is websocket notifications service that will also send push notifications to our mobile users.

Another major difference from Hivemind notifications, our notification service is pull & push, meaning any new activity is pulled from database and pushed to user's device, not only pulled from database the way Hivemind notifications work. This in turn gives us ability to do browser notifications, desktop notifications and mobile notifications. Like this for example:

ecency-notifications

Have you tried https://ecency.com yet? Try it out and learn different ways of surfing.
Are you mobile user? You can try dedicated Ecency mobile application as well.(iOS | Android)



Support

Delegate HP now and earn Ecency Points + curation reward daily + help us onboard more people ~33% APY:

50 HP | 100 HP | 500 HP | 1000 HP | 5000 HP | 10K HP | 20K HP | 50K HP | 100K HP

Support our proposals

Ecency | Hivesearcher | Hivesigner

Sort:  

Hello! Can you explain what points are for on the ecency app? How do you get them and what are they put towards? And is it solely for ecency users? Thx! Fairly new!

Hello,
Ecency Points are earned just by using Ecency.com and Ecency mobile, desktop apps. There are other ways to earn points, you can find them inside your points page https://ecency.com/@smokiecow/points. Points can be used for tipping other people, promoting your content so more people can see it, boosting your content so you get upvotes and more uses cases are being worked on.

En qué consiste delegar puntos? Que beneficio me genera?

No es delegar puntos, es delegar HP a @ecency para que a ti te generen puntos en la aplicación/web y puedas boostear o promover tu post (boost es que la cuenta de @ecency te vota cierto porcentaje y promover es que tu post te lo inserta en el feed de otras personas cuando usan la app o web de ecency pero especificando que es SPONSORED), también puedes regalar puntos o boostear o promover el post de alguien más.

Creo cada 1000HP te generan 100 puntos (no se si diariamente o por semana), además @ecency te da recompensas de curación cuando le das una delegación creo a partir de 50HP. Osea es un ganar ganar al delegarle HP a @ecency. Solo checa las transacciones que tengo, es poco pero porque solo le he delegado 100HP.

Nice said good formation Ecency all the way ✌️