Using MQTT broker for an E-commerce mobile application?

83 views
Skip to first unread message

amir reza ramtin

unread,
Oct 24, 2016, 10:56:06 AM10/24/16
to MQTT

Hi,


We have made a decision to use a MQTT broker (for example emqtt) which connects mobile applications to the business logic server using MQTT protocol.

In fact, all operations such as loading products, searching, login and so forth are done by channels on which business server have subscribed.

I am not still positive about this decision. We mainly choose MQTT broker because it is appropriate for handling notifications.

However, considering that loading large data (such as products which include pictures and long texts) should be done by helping MQTT broker too,

I would personally think maybe it is better to use MQTT broker merely for notifications and restful web services for other operations such as loading data.


I would be really grateful if you help me solving this dilemma.

ನಾಗೇಶ್ ಸುಬ್ರಹ್ಮಣ್ಯ (Nagesh S)

unread,
Oct 24, 2016, 11:56:31 AM10/24/16
to mq...@googlegroups.com

Maintaining states and sessions is probably not a good idea with a pub sub protocol. Also  a pub sub protocol shines when either ends of brokers do not (need not) 'know' each other.

Therefore, using pub sub for a shopping cart updates to relevant stake holders is ok. But, maintaining the life cycle of the cart is probably done best with a esb, etc.

Pardon brevity, typos and grammar mistakes. Sent from phone.


--
To learn more about MQTT please visit http://mqtt.org
---
You received this message because you are subscribed to the Google Groups "MQTT" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mqtt+unsubscribe@googlegroups.com.
To post to this group, send email to mq...@googlegroups.com.
Visit this group at https://groups.google.com/group/mqtt.
For more options, visit https://groups.google.com/d/optout.

amir reza ramtin

unread,
Oct 24, 2016, 12:05:10 PM10/24/16
to mq...@googlegroups.com
In fact, holding states or sessions is not my concern; my magor distress is loading large data from server to application.
You received this message because you are subscribed to a topic in the Google Groups "MQTT" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mqtt/ep6IAKKfzik/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mqtt+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages