• Save
NServiceBus Availability, Fault Tolerance, and Scale
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

NServiceBus Availability, Fault Tolerance, and Scale

on

  • 2,905 views

 

Statistics

Views

Total Views
2,905
Views on SlideShare
2,903
Embed Views
2

Actions

Likes
1
Downloads
0
Comments
0

2 Embeds 2

https://twitter.com 1
https://www.linkedin.com 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

CC Attribution-NoDerivs LicenseCC Attribution-NoDerivs License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

NServiceBus Availability, Fault Tolerance, and Scale Presentation Transcript

  • 1. Availability, Fault Tolerance, & Scale
    NServiceBus
  • 2. Endpoint Fault Tolerance
    Service Failure
    Message Errors
    Messages are moved out of the way with the exception that caused them to storage
    Service Failure
    Messages back up in the input queue until the service comes up again
    Transport Failure
    MSMQ
    Messages back up in the outbound queue of the sender
    We must determine how much disk to give senders based on how long we will allow messages to backup
  • 3. Hardware/OS Fault Tolerance
    Virtualized
    Rely on VM software to move guests to a functioning host during failures(bad RAM, etc.)
    Rely on Windows Clustering to switch VMs in case of OS failure
    SAN Clustering & Replication
    Physical
    Redundant Hardware
    Rely on Windows Clustering for both hardware and OS failure
    SAN Clustering & Replication
  • 4. Server
    Client
    Outbound
    Input
    Endpoint Fault Tolerance
  • 5. Virtualized Local HA
    Hyper Visor Clustering
    Host1
    Host2
    Windows Clustering
    OS 1
    OS 2
    SAN Host1
    SAN Host2
    SAN Clustering
  • 6. Dedicated Virtualized Geographic HA
    Site A
    Site B
    Hyper Visor Clustering
    Host
    Host3
    Host1
    Host2
    Windows Clustering
    OS 3
    OS 2
    OS 1
    SAN Host1
    SAN Host3
    SAN Host2
    SAN Clustering & Replication
    Dedicated Line(s)
  • 7. Service Cluster Groups
    Windows Clustering
    OS 1
    OS 2
    MSDTC
    NSB
    MSMQ
    Shared SAN Disk
  • 8. Internet Virtualized Geographic HA
    Site A
    Site B
    Hyper Visor Clustering
    Host
    Host3
    Host1
    Host2
    OS 1
    OS 1
    OS 3
    Internet
    Gateway
    Gateway
    Gateway
    SAN Host1
    SAN Host3
    SAN Host2
    SAN Clustering & Replication
  • 9. Service Cluster Groups
    Windows Clustering
    OS 1
    OS 2
    MSDTC
    NSB
    MSMQ
    Shared SAN Disk
  • 10. Distributor Local HA
    Workers process one message at a time.
    The Distributor holds the working set.
    Windows Cluster A
    OS 1
    OS 2
    MSDTC
    MSMQ (Data & Control Storage)
    Distributor
    Optional
    Windows Cluster B
    OS 3
    OS 4
    Worker1
    Worker2
    MSMQ
    MSMQ
    OS Cluster only, Ok for 2 workers on the same OS, but the workers and distributor need to be separate
    MSDTC
    MSDTC
  • 11. Publisher Local HA
    Windows Cluster C
    Windows Cluster A
    OS 5
    OS 6
    OS 1
    OS 2
    MSDTC
    MSMQ
    MSDTC
    Publisher
    SQL Server
    Optional
    Windows Cluster B
    OS 3
    OS 4
    S1
    S2
    MSMQ
    MSMQ
    OS Cluster only, Ok for 2 subscribers on the same OS
    MSDTC
    MSDTC
  • 12. Distributor Transaction Scope
    Windows Cluster A
    OS 2
    OS 1
    MSDTC
    MSMQ (Data & Control Storage)
    Distributor
    Distributed Txn1
    OS 3
    OS 4
    Distributed Txn2
    MSDTC
    MSDTC
    MSMQ
    Worker1
  • 13. Distributor Transaction Scope Optimized
    Windows Cluster A
    OS 2
    OS 1
    MSDTC
    “Local” Txn1
    MSMQ (Data & Control Storage)
    Distributor
    Distributed Txn2
    OS 3
    OS 4
    MSDTC
    MSDTC
    MSMQ
    Worker1
  • 14. Publisher Transaction Scope
    Windows Cluster C
    Windows Cluster A
    OS 5
    OS 6
    OS 1
    OS 2
    MSDTC
    MSDTC
    SQL Server
    MSMQ
    Publisher
    Optional
    Windows Cluster B
    OS 3
    OS 4
    MSDTC
    MSDTC
    MSMQ
    MSMQ
    OS Cluster only, Ok for 2 subscribers on the same OS
    S2
    S1
  • 15. Site to Site Failover Techniques
    Stretch Clustering with Odd Number of Nodes(Quorum)
    SAN to SAN Replication(Snap-Mirror, etc.)
    If the Site B VMs are pointing to shared disk in Site A, then the disk has to be swung over to Site B
    Database(s) must be replicated
    Oracle Data Guard
    SQL Server Log Shipping, Mirroring, etc.
  • 16. Distributor Multi-Site Scenarios
    Active – Active
    Stretched Distributor with Workers in both sites
    Distinct Distributors with Workers in each site
    Distributor Data can be snapped cross sites(A-B, B-A)
    Active – Passive
    Stretched Distributor with Workers in either site
    Distinct Distributors with active Workers in Site A and dormant Workers in Site B
    Distributor Data must be snapped to Site B
  • 17. Distributor Scale Out
    D3
    D2
    D1
    W4
    W3
    W1
    W2
  • 18. Publisher Scale Out
    Subscriptions
    P1
    P2
    D1
    D2
    S2_B
    S1_B
    S2_A
    S1_A