overture-stack / ego

OAuth 2.0 authorization service that supports multiple OpenID identity providers
https://www.overture.bio/products/ego
GNU Affero General Public License v3.0
25 stars 14 forks source link

Research notification frameworks #18

Closed ra-ver closed 6 years ago

andricDu commented 6 years ago

Communicating to a client

One thing that I'm taking a really hard look at is server-sent events. This half duplex communication makes a lot of sense when looking at the current examples we have brainstormed for the type of notifications users would receive.

I really don't see webapps having to maintain websockets for simply receiving communications.

Push API which is still in the works but supported by most browsers is another candidate similar to server-sent events but provides additional features for browsers by not needing actually have the webapp loaded at time of receiving events.

Infrastructure

Did some exploration with Kafka and I am very satisfied. Particularly from an engineering standpoint add Kafka support to a Spring Boot microservice is trivial.

Explored a little bit the services amazon provides for pub/sub and the pricing seemed very bad.

Akka seems perfectly suited for server-sent events.

Other thoughts

Further Investigation