Currently we have an application that, upon certain events, will send notifications to users. We use SQS to handle the actual delivery of the notifications.
As an example, when a user registers an account we will create a new push notification task (put onto an SQS queue) that will send them a push notification using OneSignal.
It's been working well for us so far and notifications are delivered pretty quickly.
My question is why are websockets typically advocated as the go-to architecture for when setting up a push notification service when the above model seems like it's just as good, if not better? Am I missing something?