DreamWeixinMonitor

开发背景

在DreamWeixin设计之初,就已经预想到以DreamWeixin的功能性质,必然会成为以后多个项目的核心服务。

所以确保DreamWeixin的在线正常运行至关重要,监控服务必不可少。

在我的项目中,担任这项服务的是DreamMonitor,但是DreamMonitor是微信报警,而微信报警时的核心服务又是DreamWeixin,也就是说,当DreamWeixin故障时,DreamMonitor也无法报警,所以DreamWeixin的监控服务无法由DreamMonitor来完成。综上所述,最终决定特别做一个DreamWeixin专用的监控服务。

双向报警

DreamWeixinMonitor保证DreamWeixin的正常,但是一旦DreamWeixinMonitor故障的话,监控服务也无法建立。

所以,为了保证服务的稳健,使用了双向报警设计。DreamWeixin故障时,DreamWeixinMonitor发出报警,DreamWeixinMonitor故障时,DreamWeixin发出报警,二者双辅双成,缺一不可。

地域分布

DreamWeixin和DreamWeixinMonitor的双向报警设计,决定了必须要至少有一方正常运行才可以正常监控的。

因此,二者不可以同时在一台服务器上安装,否则服务器一旦故障,二者都同时无法运行,监控服务就名存实亡了。

在目前的使用中,DreamWeixin为了兼顾对国内的网速,设在美国西部。而DreamWeixinMonitor则放到了美国中部,二者不单是不同机房,地域上分隔了半个美国,甚至连ISP服务商都不一样,可以充分发挥出二者双向监控,双向报警的功能。

监控间隔

DreamWeixin身上肩负着多个项目的核心服务,所以DreamWeixinMonitor对的监控是3-5分钟,随时可调整,以确保服务的正常运行。

但DreamWeixinMonitor只负责DreamWeixin这一个项目,所以优先级就比较低了,DreamWeixin是30分钟,如果发生故障,则转为10分钟,直到服务重新上线,再恢复成30分钟。

随用随走

DreamWeixin和DreamWeixinMonitor二者需要分布在不同的地域上,也可以认为,DreamWeixinMonitor需要避开DreamWeixin所在的地区。因此,一开始DreamWeixinMonitor就被设计成绿色安装,随用随走的模式,现在在美国中部,下一分钟可以在美国东部,美国北部,国内,日本等任意地区迁移,这不会对双向监控造成影响

关联项目

DreamWeixin

运行效果

180 评论

  1. Thanks for sharing superb informations. Your web-site is so cool. I am impressed by the details that you have on this site. It reveals how nicely you understand this subject. Bookmarked this website page, will come back for more articles. You, my pal, ROCK! I found just the information I already searched everywhere and just couldn’t come across. What an ideal web-site.

  2. [url=https://tetracycline500.com/]tetracycline 500mg[/url] [url=https://albendazoletablets.com/]albendazole tablets[/url] [url=https://lipitor20.com/]generic lipitor[/url] [url=https://viagraforwomen.com/]viagra in women[/url] [url=https://kamagra10.com/]kamagra[/url] [url=https://doxycycline1.com/]doxycycline[/url] [url=https://lisinopril5.com/]zestril lisinopril[/url] [url=https://advairinhalers.com/]advair[/url] [url=https://acyclovir400.com/]acyclovir[/url] [url=https://tretinoincream1.com/]buy tretinoin cream online[/url]

  3. Attractive section of content. I just stumbled
    upon your website and in accession capital to assert that I acquire in fact enjoyed account your blog posts.
    Any way I will be subscribing to your augment and even I achievement you
    access consistently rapidly.daftar casino nova88

  4. [url=https://lisinopril10.com/]lisinopril 20 mg[/url] [url=https://lipitor20.com/]lipitor 20 mg[/url] [url=https://stromectolonline.com/]where to buy stromectol[/url]

  5. Hello! Would you mind if I share your blog with
    my facebook group? There’s a lot of people
    that I think would really appreciate your content. Please let
    me know. Thank younova88

  6. Undeniably believe that which you stated. Your favorite justification appeared to be on the net the easiest thing to be aware of.
    I say to you, I certainly get annoyed while people consider worries
    that they plainly do not know about. You managed to hit the nail upon the top as well as defined out the whole thing without having side effect , people could
    take a signal. Will probably be back to get more.
    Thanksidn play online

  7. The othe day, while I was at work, my sister stole myy iPadd and tested too
    see if it can survive a thirty foot drop, just so she can bee a youtube sensation. My apple ipasd iis now destroyed and she has 83
    views. I know this is entirely off topic bbut I had to share it with someone!

    Poker hands learn to play poker play poker online

  8. I am now not sure thhe place you’re getting your info, but
    great topic. I must spend some time learning mucdh more or understanding
    more. Thank you for great info Iused to be on the lookout ffor this information for my
    mission.
    Online casino game real money web site казино онлайн

  9. After looking intօ a handful of tһe articles on your
    web pаgе, I reaⅼly appreciatе үouг technique ⲟf blogging.
    I added іt to my bookmark webpage list ɑnd wіll be checking
    Ьack soоn. Take a look ɑt mmy website as well and let me қnoᴡ һow you feel.

  10. I asked him what it was like – did he get big royalty checks, is it
    arranging a world tour, maybe you have met this artist or that artist that’s signed about the label too.
    A good little bit of sheet music will usually say be it
    for piano or guitar. We understand that chanting affects
    brain waves and elicits a psychological response.

  11. [url=https://ventolininhl.com/]ventolin prescription[/url] [url=https://prozacfluo.com/]where can i buy prozac online uk[/url] [url=https://citalopram24.com/]citalopram 20mg price[/url] [url=https://hydroxychlorequine.com/]hydroxychloroquine buy online[/url] [url=https://tetracycline911.com/]tetracycline 500[/url]

  12. I will right awayy snatch your rss ass I can’t find your emwil subscription link or e-newsletter service.
    Do you’ve any?Please let mme recognise in order that I
    may subscribe. Thanks.
    как играть в покер poker for real money oline poker for
    real money

  13. It is perfect time to make a few plans for the longer term
    and it’s time to be happy. I’ve learn this submit and if
    I could I desire to recommend you some fascinating things or tips.
    Perhaps you can write subsequent articles referring to this
    article. I wish to read more things approximately it!

  14. When I initially commented I clicked the “Notify me when new comments are added”
    checkbox and now each time a comment is added I get four e-mails with the same comment.
    Is there any way you can remove me from that service?
    Thank you!

  15. I think this is one of the most important info for me.
    Andd i’m happy studying your article. But want to statement on ffew
    normal issues, The website stle is great, the articles is actually excellent :
    D. Excellent task, cheers

    Look into mmy web page – casino club volcano (marvelunited.com)

  16. My brother recommended I might like this website.
    He waas entirely right. This submit actually made my day.
    You cann’t imagine simplly how so much time I had spent for this information! Thanks!

    Texas holdem play online for free texas holdem
    combinations (evdekiodevim.xyz)
    poker for pennies

  17. I’ve learn this submit and if I could I desire to recommend you some fascinating things or tips.
    Perhaps you can write subsequent articles referring to this
    article. I wish to read more things approximately it!

  18. Can I simply just say what a comfort to discoer somebody tha actually understands what they are talking about on the net.
    You actually realize how to bring a problem to light and makoe
    it important. More people should read this and understand this side off your story.

    It’s surprising you are not more popular since you definitely
    possess the gift.
    homepage спорт онлайн

  19. I know you would like to forget that you have one, but unless you
    are never constipated, don’t overindulge regularly, or do take part
    in some unhealthy gimmik, you my pal have a very little belly.
    These stems are handmade in Thailand and are vacuum-packed that
    ensures their purity and freshness. Here are a couple of links that will help you find the right massage therapist in your case:.

  20. I’ve learn several just right stuff here. Definitely value bookmarking
    for revisiting. I wonder how a lot effort you
    put to make any such excellent informative web site.

  21. Right here is the right blog for everyone
    who really wants to understand this topic.
    You understand a whole lot its almost hard to argue with you (not
    that I personally would want to…HaHa). You definitely put a new spin on a
    topic that’s been written about for years.
    Great stuff, just excellent!

  22. Please let me know if you’re looking for a writer for
    your blog. You have some really great posts and I believe I would
    be a good asset. If you ever want to take some of the load off, I’d love to write some articles for your blog in exchange for a link back to mine.
    Please shoot me an email if interested. Cheers!

  23. They contact the creator Shonda although she doesn’t actually like becoming identified as like that. The preferred pastime for my little kinds and me is kayaking and now I’m making an attempt to earn funds with it. She is at current a credit authoriser but quickly her spouse and her will commence their own enterprise. Indiana is her start location but her spouse wishes them to shift.

  24. Excellent site you have here but I was curious if you knew of any user discussion forums that
    cover the same topics talked about here? I’d
    really like to be a part of group where I can get feedback from other experienced individuals that share the same
    interest. If you have any recommendations, please let me know.

    Kudos!

  25. First off I would like to say excellent blog!
    I had a quick question that I’d like to ask if you don’t mind.
    I was curious to find out how you center yourself and clear your head prior to writing.
    I’ve had difficulty clearing my mind in getting my thoughts out.

    I truly do take pleasure in writing however it just seems like the first 10 to 15 minutes tend to be
    lost simply just trying to figure out how to begin. Any suggestions or tips?

    Thank you!

  26. Oh my goodness! Amazing article dude! Thank you so much,
    However I am having problems with your RSS. I don’t know the reason why I cannot subscribe to it.

    Is there anybody else having identical RSS issues? Anybody who knows the answer will you kindly respond?
    Thanx!!

  27. I love your blog.. very nice colors & theme.
    Did you make this website yourself or did you hire someone to do it for you?
    Plz respond as I’m looking to create my own blog and would like to find out where u
    got this from. appreciate it

  28. I was just looking for this information for a while. After six hours of continuous Googleing, finally I got it in your website. I wonder what is the lack of Google strategy that don’t rank this kind of informative websites in top of the list. Generally the top sites are full of garbage.

  29. you make running a blog glance easy. The full look of your site is fantastic, as neatly as the content material! this will help me to create my own blog. if you dont mind can you give me an advice? thanks alot!!!

  30. I’m nott sure why but this weblog is loading very slow for me.
    Is anyone elkse having this issue or is it a issue
    on my end? I’ll check back later on aand see
    if the problem still exists.

    Stop by my blog …

发表评论

电子邮件地址不会被公开。