I’m not sure if possible or even viable from a traffic point of view as I’m not sure on the overhead of pubsub vs the chat client etc.
So here is the situation:
I would like to create a giveaway panel however if the channel has 2000+ viewers this could mean a lot of requests in a very short time, this could effectively DDOS my server as all the requests are from the same Origin (the extension) however spread over multiple thousand IP addresses.
I’m wondering if it would be possible to:
Allow an EBS signed token to connect to pubsub to listen for a topic of whisper-{ExtensionId} and then the viewer is able to send to the whipser-{ExtensionId} topic based on their JWT?
This would give the developer of the EBS a simpler task of listening to that single topic.