Smart Mutation Processing for Subscriptions

0

Hi.
I have a use-case where new objects, that added to Dynamo Db are published over AppSync real-time subscription channel. Due to specific usage pattern (large volume of writes as compared to number of active listeners that subscribed to filtered output) most of the time I don't need to publish those mutations, since nobody listens for them. I want to optimize mutation resolver lambda to work only if at least one active listener is present. Is there any API to check whether given mqtt topic has active subscribers, or configuration, that allows me to make mutation lambda working on active topics only?

denys3
demandé il y a 5 ans203 vues
2 réponses
0

Hi,

That's a good question and fair use case, but no, at this time there is no such API, unfortunately.

Thanks,
Jeff

répondu il y a 5 ans
0

Got it, thanks for the fast reply!

denys3
répondu il y a 5 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions