• Email:
  • Feeds

  • 基于分发机制的公众订阅平台设计


    如下图所示,一个基于分发机制的公众订阅平台,是指一个移动信息发布系统,可提供订阅功能的系统企业帐号可以给所有的订阅用户按照一定的条件(如地域或用户特征)群发消息,系统的主要关注点包括

    • 分发的throughput。由于群发的放大效应,如何让拥有大量订阅用户的企业帐号能及时投递消息。以及到客户端的移动push通道也存在throughput的问题。
    • 存储的性能,根据客户端的访问型态,如果考虑数据保存在云端,大多需要更新最近联系人、用户与企业订阅帐号之间的会话索引,以及每个会话的未读提醒数。由于客户端本地也可以保存部分数据,因此不同的实现型态可能云端存储及更新的数据有一定差异。
    • 分发及存储模型。分发指数据投递推拉方式的选取,由于筛选条件及通过移动网络主动push的可能性,推送方式可以更好满足业务型态。存储模型指如何选择合适的模型让上万订阅用户的推送能更及时快捷。

    (图中紫色为可能的瓶颈点)

    从图来看,实现并不复杂,但是当系统规模增大之后,如要达到投递即时性需要考验一些工程能力。
    紫色的三个框都可以用key/list来表达,redis的性能和功能可以匹配这样一个场景,这也是为什么近几年redis会如此流行,但离完美匹配类似场景还有一定距离。

    9 Comments  »

    1. pi1ot says:

      这个图基本不说明也不解决什么问题吧,只是一个问题的描述。

    2. test says:

      do it。

    3. strider says:

      不知道微信公众平台是怎么做的呢..

    4. 很高端啊~~~~~~

    5. even though they would come back in November favored to win it all again. “I don’t think I can keep this thing together by myself.” VandenBrink said between 200 and 300 people were outside Finish Line on the second level of the mall. About 15 Portage aire jordans Police officers responded. HGH sprays tend to be absorbed more quickly and effectively. Plus, Utah. good to ski at Alta, is charged with two counts red and white jordan 13 of homicide in connection with the jordans basketball shoes slay

    6. The sleep Gucci Outlet is dominated by generic and branded Gucci Onlines and the off-label use of many drugs, including doxepin, is common. Drive the business with new products or services. The Water Front Township has been well planned and proportioned at 17 acres with 10 Apartment towers, 1 Apartment hotel 55 villas along with 81 world class Amenities worth 50 crores. Again spray the area to be protected. Lower deniers are okay in this case. The compatible elements are fire with air,Cheap Cycl

    7. How to Naturally Confess Your FeelingsIt’s always difficult to confess your feelings to someone, even if you feel you are accepted. Rockaway’s the Newark Area? Willis left school in his junior year and moved to New York City. Most anti-viruses are guaranteed to detect suspicious files trying to install itself in the Barbour Outlet’s system, but a few can find clever ways to get past the security block. In order to select a Barbour London with the right processor speed, you will need to consider

    8. You will discover two non-immigrant parajumpers ski wear groups for that foreign superb wanting to assessment inside the U . I’m referring to your talents,Parajumpers Kodiak, time, skills and opportunities, which are far more valuable parajumpers ski wear. You can get sizes up to 4 foot by 8 foot at your local professional printer or reprographics; smaller sizes available at local art supply or craft supply. Some services require a contract or use of a particular merchant account or gateway. On

    9. 有风 says:

      略显简单了一些。

    RSS feed for comments on this post, TrackBack URI

    Leave a Comment