Download presentation
Presentation is loading. Please wait.
Published byGerald Stiver Modified over 10 years ago
1
Clemens Vasters Technical Lead, Service Bus.NET Services BB12
4
Service Orchestration Service Orchestration Service Registry NamingNaming Federated Identity and Access Control Messaging Fabric ClientsClients MS/3 rd Party Services MS/3 rd Party Services On-Premise ESB ESBESB Desktop, RIA, Web Desktop, RIA, & Web Your Services
5
Sender Receiver ? Machine Firewall Network Firewall Network Address Translation Dynamic IP
6
Service Registry NamingNaming Federated Identity and Access Control Messaging Fabric
9
HttpTransportBindingElement HttpRelayTransportBindingElement SymmetricSecurity- BindingElement TextMessageEncoding- BindingElement ReliableSessionBindingElement SymmetricSecurity- BindingElement TextMessageEncoding- BindingElement ReliableSessionBindingElement WSHttpBinding WSHttpRelayBinding Listener: SB Internal Socket Binding Client Channel: HttpTransport- BindingElement Listener: System.Net. HttpListener Client Channel: System.Net. WebRequest Same binding elements Different Transport
10
Service Bus Sender Receiver sb://servicebus.windows.net/services/solution/a/b/ outbound connect one-way net.tcp TCP/SSL 828 Backend Naming Routing Fabric Frontend Nodes TCP/SSL 808/828 outbound connect bidi socket Msg NAT Firewall Dynamic IP Subscribe Route NLB
11
Service Bus Sender Receiver sb://servicebus.windows.net/services/solution/a/b/ outbound connect one-way net.tcp TCP/SSL 828 Backend Naming Routing Fabric Frontend Nodes TCP/SSL 808/828 outbound connect bidi socket Msg NAT Firewall Dynamic IP Subscribe Route NLB Listener Socket Connection Similar to WCF NetTcpBinding Full-duplex communication path.NET Framing message delineation.NET Binary encoding SSL channel overlaid on socket Always connects to port 828 on SB Port # will change before V1 OnewayRelayTransportBindingElement tries to reconnect as needed when connection drops Listener Socket Connection Similar to WCF NetTcpBinding Full-duplex communication path.NET Framing message delineation.NET Binary encoding SSL channel overlaid on socket Always connects to port 828 on SB Port # will change before V1 OnewayRelayTransportBindingElement tries to reconnect as needed when connection drops
12
Service Bus Sender Receiver sb://servicebus.windows.net/services/solution/a/b/ outbound connect one-way net.tcp TCP/SSL 828 Backend Naming Routing Fabric Frontend Nodes TCP/SSL 808/828 outbound connect bidi socket Msg NAT Firewall Dynamic IP Subscribe Route NLB Sender Socket Connection Uses NetTcpBinding underneath Full-duplex communication path.NET Framing message delineation.NET Binary encoding SSL channel overlaid on socket Connects to port 808 on SB: Open Connects to port 828 on SB: SSL Port #s will change before V1 Oneway transport tries to reconnect as needed when connection drops Sender Socket Connection Uses NetTcpBinding underneath Full-duplex communication path.NET Framing message delineation.NET Binary encoding SSL channel overlaid on socket Connects to port 808 on SB: Open Connects to port 828 on SB: SSL Port #s will change before V1 Oneway transport tries to reconnect as needed when connection drops
13
Service Bus Sender Receiver http://servicebus.windows.net/services/solution/a/b/ outbound connect one-way net.tcp HTTPS 443 Backend Naming Routing Fabric Frontend Nodes TCP/SSL 808/828 create buffer Msg Subscribe Route NLB Message Buffer Msg subscribe poll + demux
14
Backend Naming Routing Fabric Frontend Nodes Receiver http://servicebus.windows.net/services/solution/buf/ Relay HTTP Listener HTTP Socket Forwarder MB Factory Extender Message Buffer Create Subscribe SOAP CreateMessageBuffer Operation Plain HTTP POST X-Process-At X-MS-Identity-Token X-Http-Method-Equiv: X-CREATEMB SOAP CreateMessageBuffer Operation Plain HTTP POST X-Process-At X-MS-Identity-Token X-Http-Method-Equiv: X-CREATEMB Check Token Create
15
Backend Naming Routing Fabric Frontend Nodes Service Bus Receiver sb://servicebus.windows.net/services/solution/a/b/ 1 1 HTTP-Socket Forwarder HTTPS 443 NLB Message Buffer 2 2 3 3 5 5 Ctrl 4 4 HTTPS request 6 6 Message Buffer resides on the Service Bus node that received the Create request.
16
Service Bus Receiver sb://servicebus.windows.net/services/solution/buf/ Backend Naming Routing Fabric Frontend Nodes HTTPS 443 NLB Message Buffer HTTPS request Subscribe SOAP Subscribe Plain HTTP POST X-Process-At X-MS-Identity-Token X-Http-Method-Equiv: X-SUBSCRIBE SOAP Subscribe Plain HTTP POST X-Process-At X-MS-Identity-Token X-Http-Method-Equiv: X-SUBSCRIBE
17
Service Bus sb|http://servicebus.windows.net/services/solution/*/ Backend Naming Routing Fabric Frontend Nodes Message Buffer 4 4 Sender TCP/SSL 808/828 Msg HTTPS 80/443 any one-way sender mode Route SOAP Relayed Oneway Any Operation HTTP Relayed Oneway X-MS-Identity-Token Any method (except GET) SOAP Relayed Oneway Any Operation HTTP Relayed Oneway X-MS-Identity-Token Any method (except GET)
18
Service Bus Receiver http://servicebus.windows.net/services/solution/buf/ Backend Naming Routing Fabric Frontend Nodes HTTPS 443 NLB Message Buffer HTTPS request Request is parked until (a) Timeout expires (30s max) or (b) At least one message available Request is parked until (a) Timeout expires (30s max) or (b) At least one message available SOAP RetrieveMessages Plain HTTP POST X-Process-At X-MS-Identity-Token X-Http-Method-Equiv: X-RETRIEVE Options Timeout Encoding MaxMessages SOAP RetrieveMessages Plain HTTP POST X-Process-At X-MS-Identity-Token X-Http-Method-Equiv: X-RETRIEVE Options Timeout Encoding MaxMessages
19
Service Bus Receiver sb://servicebus.windows.net/services/solution/buf/ Backend Naming Routing Fabric Frontend Nodes HTTPS 443 NLB Message Buffer HTTPS request Available Response Encodings SOAP BareEnvelopeSequence Bare envelopes inside response body WrappedEnvelopeSequence Envelopes wrapped in inside body HTTP MimeMultipart multipart/mixed with application/http (complete incoming requests) MimeApplicationHttp application/http (complete incoming requests) RequestAsResponse Incoming request mapped onto retrieval response. Available Response Encodings SOAP BareEnvelopeSequence Bare envelopes inside response body WrappedEnvelopeSequence Envelopes wrapped in inside body HTTP MimeMultipart multipart/mixed with application/http (complete incoming requests) MimeApplicationHttp application/http (complete incoming requests) RequestAsResponse Incoming request mapped onto retrieval response. Response
20
Service Bus Receiver sb://servicebus.windows.net/services/solution/buf/ Backend Naming Routing Fabric Frontend Nodes HTTPS 443 NLB Message Buffer HTTPS request Renew Renew Operation Plain HTTP POST X-Process-At X-MS-Identity-Token Options Timeout Renew Renew Operation Plain HTTP POST X-Process-At X-MS-Identity-Token Options Timeout Renewal follows WS-* patterns MB expires after <30 minutes Requires explicit renewal Renewal follows WS-* patterns MB expires after <30 minutes Requires explicit renewal GetStatus GetStatus Operation Plain HTTP GET X-Process-At X-MS-Identity-Token Returns Expiration GetStatus GetStatus Operation Plain HTTP GET X-Process-At X-MS-Identity-Token Returns Expiration Delete Delete Operation Plain HTTP DELETE X-Process-At X-MS-Identity-Token Delete Delete Operation Plain HTTP DELETE X-Process-At X-MS-Identity-Token
21
Clemens Vasters Service Bus Technical Lead.NET Services
23
OnewayRelayTransport- BindingElement CompositeDuplexBindingElement BinaryMessageEncoding- BindingElement … … Custom Binding Listener: SB Internal Socket Binding Client Channel: TcpTransport- BindingElement
24
Clemens Vasters Service Bus Technical Lead.NET Services
26
Service Bus Sender Receiver sb://servicebus.windows.net/services/solution/a/b/ Backend Naming Routing Fabric Frontend Nodes Ctrl 1 1 2 2 3 3 4 4 Socket-Socket Forwarder outbound socket connect outbound socket rendezvous Ctrl TCP/SSL 818 Oneway Rendezvous Ctrl Msg Oneway Rendezvous Ctrl Msg NLB
28
Service Bus Sender Receiver sb://servicebus.windows.net/services/solution/a/b/ Backend Naming Routing Fabric Frontend Nodes Ctrl relayed connect Oneway Rendezvous Ctrl Msg Oneway Rendezvous Ctrl Msg relayed rendezvous TCP/SSL 818, 819 NAT Probing NAT Traversal Connection upgrade
30
Service Bus Sender Receiver sb://servicebus.windows.net/services/solution/a/b/ Backend Naming Routing Fabric Frontend Nodes Ctrl 1 1 2 2 3 3 4 4 HTTP-Socket Forwarder HTTP HTTPS request outbound socket rendezvous Ctrl HTTP/S 80/443 Oneway Rendezvous Ctrl Msg Oneway Rendezvous Ctrl Msg NLB
32
Service Registry NamingNaming Federated Identity and Access Control Messaging Fabric
33
Clemens Vasters Service Bus Technical Lead.NET Services
34
Service Bus sb://servicebus.windows.net/services/solution/a/b/ Backend Naming Routing Fabric Frontend Nodes How does this part work?
36
Management & Deployment Fabric
37
SB Replication Neighborhood Unicast: Point to point Multicast: Routed along ring Distributed Hash Table Names hash to nodes
39
Please fill out your evaluation for this session at: This session will be available as a recording at: www.microsoftpdc.com
41
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.