Re: PubSubHubbub Core 0.4: Verifying during subscription request

Hi,


>Is it allowed to do the validation and verification of intent
>process while the subscription request is running?
>
>This would imply that the verification of intent callback and the
>denied-callback is called when while the subscription request is still
>being answered.
>
>That would make it possible to skip all the worker setup that's
>necessary to do delayed validation and verification.
>
>This would also make it possible to not call the callback at all but
>tell the denied-state directly in the response of the subscription
>request. But that does not seem to be planned at all, right?

Reported as https://github.com/pubsubhubbub/PubSubHubbub/issues/28

Answer by julien51:

No. We decided to remove the complexity of having 2 modes (async or
sync -which you're describing). Sync was also creating issues in the
context of application unable to handle more than one concurrent
requests (GAE, Rails dev, Heroku applications... etc).

Also, the validation is inherently async because the publisher can take
days before confirming that subscription is allowed...

-- 
Regards/Mit freundlichen Grüßen
Christian Weiske

-= Geeking around in the name of science since 1982 =-

Received on Thursday, 12 March 2015 07:51:25 UTC