Chuyển đến nội dung chính

Bài đăng

Hiển thị các bài đăng có nhãn web service

Compare Message Queue vs Webservice

STT Web Service Message Queue Notes 1 If the server fails the client must take responsibility to handle the error.  If the server fails, the queue persist the message (optionally, even if the machine shutdown). + Some Message Queue: RabbitMQ, Beanstalkd, ActiveMQ, IBM MQ Series, Tuxedo. + Web service: Restful, SOAP Service. 2  When the server is working again the client is responsible of resending it.  When the server is working again, it receives the pending message. 3  If the server gives a response to the call and the client fails the operation is lost.  If the server gives a response to the call and the client fails, if the client didn't acknowledge the response the message is persisted. 4  You don't have contention, that is: if million of clients call a web service on one server in a second, most probably your server will go down.  You have contention, you can decide how many