Some days ago I read an article about facebook's message system at highscalability.com, which was repeatedly reposted on countless websites overnight. Today, many people are interested in any facebook topic, however, I am more interested in what is not described in this article. How does one obtain instant messages in the system? PHP listener? Open
Some days ago I read an article about facebook's message system at highscalability.com, which was repeatedly reposted on countless websites overnight. Today, many people are interested in any facebook topic, however, I am more interested in what is not described in this article. How does one obtain instant messages in the system? PHP listener? Open
Some days ago I read an article about facebook's message system at highscalability.com, which was repeatedly reposted on countless websites overnight. Today, many people are interested in any facebook topic, however, I am more interested in what is not described in this article. How does one obtain instant messages in the system? PHP listener? How many listener services are enabled? Push mode? Pull Mode? Is message-oriented middleware used like Twitter? I have some questions about this and hope someone will give a clear answer in the future.
This is called JABase. It can give me some inspiration. JABase is a middleware applied in the distributed IM system. It can support the Scalable Architecture of large-scale cluster environments and be implemented in Java, JABase is an intermediary between Distributed Data Storage (HBase/HDFS) and real-time message sending and receiving (Erlbase/XMPP Server). JABase stores messages received and sent from XMPP Server in HBase, this is very similar to the one mentioned in facebook's message system article. In addition, in the JABase solution, the IM message Server (XMPP Server) Erlbase is written in Erlang, a bit like Twitter.
The overall system architecture consists of three parts: HBase/HDFS, JABase, and ErlBase. The overall architecture is as follows:
In addition to the primary components of HBase and HDFS, the following components are required:
-The ejabberd-2.0.3.tar.gz (Erlang)
-The erlbase-1.0.tar.gz (Erlang)
-Jabase-1.0.tar.gz (Java)
The following two ideas are introduced based on the current architecture:
1. Compare the scalability of XMPP with MQ. You have time to sit down and discuss it with us.
2. Performance expansion of MQ a) frontend integrated cache B) backend message storage. It is really helpful for us to see this addition.
Related Articles:
MySQL migration tool to Hive/HBase
HBase entry 5 (cluster)-load splitting and forwarding failure
Hive entry 3-Integration of Hive and HBase
HBase entry 4
HBase entry 3
HBase entry 2
HBase Basics
Distributed search built on HBase by Lily
-End-
Original article address: the distributed message (IM) system based on Hbase-JABase. Thank you for sharing it with me.