Better HN
topnewbestaskshowjobs
Log inSign up

Muhammad-saleh

1 karma · joined Jul 5, 2018 (8y ago) · 2 submissions

Submissions

comment 8y ago · link · parent

XMPP uses decentralized architecture where communication is asynchronous. XMMP uses client-server model where client Do not talk directly to each other.

On the other hand HTTP is a simple protocol which is synchronous in nature.

comment 8y ago · link · parent

I think Websub is enhancement to XMPP. Both are asynchronous. Which means it should be faster than HTTP. Actually it's a push-based protocol where server sends single POST to the hub, the hub then sends that notification to all subscribers.