Publish/Subscribe/Request for exchange of big, complex, and confidential data?
Posted
by
Morten
on Programmers
See other posts from Programmers
or by Morten
Published on 2012-03-30T09:32:27Z
Indexed on
2012/03/30
11:40 UTC
Read the original article
Hit count: 342
web-development
|design-patterns
I am working on a project where a website needs to exchange complex and confidential (and thus encrypted) data with other systems. The data includes personal information, technical drawings, public documents etc.
We would prefer to avoid the Request-Reply pattern to the dependent systems (and there are a LOT of them), as that would create an awful lot of empty traffic.
On the other hand, I am not sure that a pure Publisher/Subscriber pattern would be apropriate -- mainly because of the complex and bulky nature of the data to be exchanged.
For that reason we have discussed the possibility of a "publish/subscribe/request" solution. The Publish/Subscribe part would be to publish a message to the dependent systems, that something is ready for pickup. The actual content is then picked up by old-school Request-Reply action.
How does this sound to you??
Regards, Morten
© Programmers or respective owner