| 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 requests are handled by the server (call it worker instead). | |
| 5 | You can expect an immediate response from the server, but you can handle asynchronous calls too. | You don't expect an immediate synchronous response, but you can implement/simulate synchronous calls. | |
| Enable send message to all subscribers. | |||
| Your resources exist until you delete them, which means you can view historical information long after the process and task complete. | |||
| Task that has multiple steps, without any extra complicated protocols. |
Xuất bản: 2016-04-19 20:21:53 Bằng cách sử dụng Mobile Backend as a Services (MBaaS), các nhà sản xuất và phát triển ứng dụng có thể tiết kiệm được nhiều thời gian xây dựng hệ thống và các chi phí vận hành. Push notification, tích hợp mạng xã hội, quản lý chứng thực người dùng là một trong số những chức năng thường xuất hiện trên các ứng dụng cho thiết bị di động và web hiện nay. Với Push notification cho phép các hệ thống thực hiện chuyển thông báo tới người dùng cuối một cách đồng loạt. Với chức năng tích hợp mạng xã hội, ứng dụng cho phép người dùng có thể dễ dàng chia sẽ những thông tin của bản thân từ ứng dụng cũng như nhận những thông tin, kiến thức được chia sẽ từ những người dùng khác… Các chức năng đó đối với các ứng dụng ngày nay được xem như một thành phần không thể thiếu. Tuy nhiên, có một thực tế mà các nhà sản xuất và phát triển ứng dụng trên nền tảng di động và web đã và đang trải qua đó là họ thường phải xây dựng lại những tính năng này cho các ...
Nhận xét