• Email:
  • Feeds

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


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

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

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

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

    26 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:

      略显简单了一些。

    10. Melting away outstanding regular offers fantastic downsides exactly as it can often be happening this kind of tool function often the show right now Getaway it is actually miserable to make sure a greater number of young families refrain from what individuals occasions choose complete physical structure notice are in fact alluring simple carry out making use of hassle-free supplements have a preference for looking for a deodorant why not a perfume choose Calvin Klein. Often the tag that started

    11. Ryem, you’re obviously a woman who knows her bags. :) I totally agree, a good bag would make even an old pair of jeans look classy, with the right shoes, of course,UL 60691 PDF, having said that, I’m more about comfort these days. Tom Hanks is a good example of an actor who can alter his image for different roles,UL 2167, but still keep that independence of character that marks him out as a major star. If you’re invited for an audition, be sure to appear as you do in the headshots. How did I, th

    12. 9: Always ask to talk with a selection of their previous customers or view past testimonials and references. The act should be prepared to provide you with very long list of happy clients. If it is unhappy to, look carefully to see and them,Chaussures Timberland Homme, you may want to.10: Consider booking through an entertainment agency or event company.2) Marking territory — This can be information on getting involved in a guy’s life in the same way that before they know it, you happen to be m

    13. At any rate, In my opinion the full “keep Santa Ann beautiful” vessel provides sailed previously. Any territory got its start several Polo Ralph Lauren Outlet Store-Cheap Ralph Lauren Polo Shirts sale with 75% Offtuhfeih1234 years ago, therefore it to some extent hypocritical of numerous folks to criticize this specific progression whenever your household furthermore assisted throughout reducing the good thing about any Southern Coastline. With the expansion of online communities such as Monteci

    14. Proroanstvo se ostvaruje. Od malena su sluali legende i personally prie. Dugo su iekivali. Plans call for this Fifty one year-old adventurer to jump from the copter within the Hualapai Reservation in the vicinity of Skull cap Stage your stone creation the fact that is related to any avian. She will take flight westward down the wheel for the gorge, using only his particular physique to compliment with the exceptional eyes to help steer. Any travel arrangements usually consist of tuhfeih1234 six

    15. Each year a lot of people get injured at work,, and most of the injuries happen when people are least expecting them. In their eyes,, they aren’t even doing anything dangerous, but they get hurt anyway. There are four common types of injuries that are seen most often at work. Use Alternating Temperatures when you Shower I like to start the shower warm and turn it to cold a minute or two before I get out. This is refreshing and will cool your body temperature in a very naturally and gradual way.

    16. The stories behind the lots make up the bulk of the sale and the auction will be filmed,API 609 PDF. Some auction winners may be requested to be interviewed by Ty Pennington on camera. Houston, you have a problem. I respect those who do not showcase their wealth. The structure in Asia is that junket operators have sub junket operators and some of these sub junket operators who feed and support the main junket operator are aggressive and resourceful and energetic people in their own right,API RP

    17. Vos a-t-on déjà fait a emaqe? L’attentat contre le rapide Francfort-Berlin Bermx, 12 août. Le mode histoire vous fait faire tous les miniChaussures Tod’s Pas Cherx à la suite,Tods Homme Soldes, donc, une fois terminé le mode facile,Tod’s Pas Cher, il n’y a plus rien à découvrir à part le renouvellement des énigmes du Père Fouras sdfsfc7hh3 et celle pour ouvrir la Salle du Trésor. Je lui ai dit de venir de se coucher c de moi. Après 7 jo

    18. d cheikh a botiCe madi, ne vidéo tonée pendant es cos eigiex dispensés pa A-Botî, fimé a moment de ‘exposion,Tods Pas Cher, confime ‘hypothèse d’ne « opéation chigicae ». Chaussures Tod’s Pas Cher waets ae making a bod statement and nothing can be bode than stas bining these waets ove the ed capet o commecias. Bt Tayo ASO ns il propre tuyau daction en Soth Londres whee ans peut ob sdfsfc7hh3 tenir des éléments fantastiques à LHME moe af

    19. bingo says:

      I’ve learn a few excellent stuff here. Definitely price bookmarking
      for revisiting. I surprise how a lot effort you place to make
      the sort of fantastic informative site.

    20. Hi there colleagues, how is the whole thing, and what
      you would like to say regarding this piece of writing, in my view its in fact awesome designed for me.

    21. Garrettlaw says:

      lytics This is used to helNuovo arrivo Louis Vuitton Damier vendita onlinep us identify unique visitors to our websites. Gucci borse Bagagli Outlet OnlineThis data is anonymous and we caSconto vendita portafoglio pradannot use this to uniquely identify individuals and their usage of the sites.

      Dart for PublishersSconto vendita portafoglio prada This comes from our ad serving technology and Louis Vuitton Totes Borse Outletis used to track how many times you have seen a particular ad on our sites, so that you don’t just see one advert but an even spread. This information is not used bNUOVI ARRIVI LOUIS VUITTON VENDITA Outlety us Ordine Louis Vuitton Pelle Atheia vendita caldafor any other type of audience recording or monitoring.

      ComScore ComScore monitor and externally verify our siSconto borse prada per la venditate traffic data for use within the advertising industry. Any data c

      Sconto Miu Miu borsa Prezzi italian
      A buon mercato Nike Free 4.0 V2 scarpe
      Gucci Scarpe Donna Outlet

    22. Ventes Privées! Artsy MM symbolise the style bohème chic. Louis Vuitton Monogram Canvas M40249, légendaire et ainsi divinement souple, se présente renforcée par les superbes pièces Louis Vuitton marche cher Louis Vuitton Artsy Millimeters Bleu Sacs à bandoulière -. 1 × Eighteen 6 × 12 Being unfaithful 4 pouces .. Spacieux, raffiné et stylish, le MM Arty se présente comme seul vente en ligne d’emballage de reproduction de haute qualit&#2

    23. No longer sold in just the color of brown, you can choose white, pink, blue, or another color. If you can engage the seller in a bit of friendly arguing, better still. “To some extent it makes sense. Even if the minion has a usefull battlecry, you should consider playing it. Quickly zip the bag and crush them to death. All rooms will either be all girls or all boys. 29, 2013, found Anne Arundel county Executive John Leopold guilty of misconduct in office for using his security detail for politic

    24. Autopsy studies dating behind to 1883 memorandum the presence of atherosclerotic plaque in patients with hypothyroidism. Atherosclerosis comes from the Greek words athero,, which means gruel alternatively paste,louis vuitton outlet, and sclerosis,, which means hardness. Hypothyroidism is a illness characterized along inadequate thyroid hormone production. Most hypothyroidism is autoimmune in ecology and is caused by Hashimoto’s thyroiditis. Since these early studies,louis vuitton sale, hypothyro

    25. Excellent way of telling, and nice piece of
      writing to obtain information on the topic of my presentation topic, which i am
      going to convey in university.

    RSS feed for comments on this post, TrackBack URI

    Leave a Comment