SlideShare ist ein Scribd-Unternehmen logo
1 von 30
Middleware Sanjoy Sanyal (Tech for NonGeek)
Middleware ,[object Object],[object Object],[object Object],[object Object],[object Object],Sanjoy Sanyal (Tech for NonGeek) In this section we are going into detail on the first aspect
Understanding Middleware ,[object Object],[object Object],Sanjoy Sanyal (Tech for NonGeek) Remote Procedure Call Sockets TCP/UDP IP A simple example Remote Procedure Call: Hides communication details behind a procedure call Sockets: operating system level interface to the underlying communication protocols Underlying communication protocol
Types of Middleware ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Sanjoy Sanyal (Tech for NonGeek)
Developing Distributed Applications with RPC  Sanjoy Sanyal (Tech for NonGeek) Client Code Client Stub Language specific call interface Development Environment IDL Compiler IDL Sources Interface headers IDL Server Stub Language specific call interface Server Code Client Process ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Binding in RPC ,[object Object],[object Object],[object Object],[object Object],[object Object],Sanjoy Sanyal (Tech for NonGeek) Static  Binding Dynamic Binding  Simple and Efficient Tightly Coupled Not possible to use dynamic load balancing  The directory server can assist in load balancing  Decoupling leads to flexibility There is additional cost of implementation
RPC functioning with Dynamic binding Sanjoy Sanyal (Tech for NonGeek) Client Procedure Call Client Stub Bind  Marshal  Serialize Client Process Communication Module Name and directory service (binder) Query for server implementing the procedure Address of server Server Procedure Server Process Server Stub Register  Un-marshal De-serialize Receive  Dispatch Communication Module Register server and procedure
Asynchronous Extension to RPC  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Sanjoy Sanyal (Tech for NonGeek)
RPC Middleware Extension: DCE ,[object Object],[object Object],Sanjoy Sanyal (Tech for NonGeek) Additional Service Description  Cell directory server  Sophisticated name and directory server used to create and manage RPC domains that can exist over the same network  Time Service Provides mechanisms for clock synchronization across all nodes Thread service Support to thread and mutiple processors  Distributed File Service Support to sharing of data files Security Service Support for authentication and secure communication
TP Monitors  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Sanjoy Sanyal (Tech for NonGeek)
TP Monitors: How it works?  ,[object Object],[object Object],Sanjoy Sanyal (Tech for NonGeek) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
2 PC Protocol  ,[object Object],[object Object],Sanjoy Sanyal (Tech for NonGeek) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Transactional RPC  Sanjoy Sanyal (Tech for NonGeek) Client 1.BOT 4. Procedure call 10. EOT  Client Stub 2. Register txn and create context 5. Add txn id and context to call  11. Request commit 14. Confirm termination  Client Process Server 9. procedure Server Process Server Stub 6. Extract context and txn id  7. Register server for txn  13. Participate in 2PC Register server and procedure Transaction manager 3. Create  txn id  Register txn  Regsiter txn for client  Return txn id  8. Lookup txn id Run 2PC Notify client of outcome 8. Lookup txn id Register server for txn
TP-lite and heavy ,[object Object],[object Object],[object Object],Sanjoy Sanyal (Tech for NonGeek)
TP Monitor Functionality Sanjoy Sanyal (Tech for NonGeek) Functionality  Description  RPC Support IDLs, name and directory servers, security and authentication, stub compilers ….  Programming abstraction deal with T-RPC BOT, EOT, and may include additional callback and workflow mechansisms (on commit, on abort)  Transactional Manager for implementing TRPC  Transaction Manager functionality: logging, recovery, locking  Monitor Systems Scheduling threads, assigning priorities, load balancing, replication, starting and stopping components Run-time environment Provides the resources and services applications may need (transactional services, security services, transactional file systems…) Specialized Components Ranging from proprietary protocols for interacting with mainframes to persistent queuing systems for asynchronous interaction Tools For installing, managing and monitoring the performance of all components
Object Brokers  ,[object Object],[object Object],[object Object],[object Object],Sanjoy Sanyal (Tech for NonGeek)
CORBA: System Architecture Sanjoy Sanyal (Tech for NonGeek) Object Request Broker  financials Supply chain distributed documents  information  management systems management Vertical facilities horizontal facilities CORBA facilities naming transactions events lifecycle time  relationships properties licensing   trader concurrency query security startup externalization collection persistence   User Defined Objects
How CORBA works ,[object Object],[object Object],[object Object],[object Object],[object Object],Sanjoy Sanyal (Tech for NonGeek)
Dynamic Service Selection and Invocation ,[object Object],[object Object],[object Object],Sanjoy Sanyal (Tech for NonGeek) However, we will quickly learn how this is possible
Dynamic Service Selection and Invocation: How? ,[object Object],[object Object],Sanjoy Sanyal (Tech for NonGeek) Interface Repository Dynamic Invocation Interface Stores IDL definitions for all objects known to the ORB Applications can access the repository to browse, edit or delete  IDL interfaces Provides operations such as get_interface and create_request that can be used by clients to browse the repository and dynamically construct the method invocation  Naming Service Trading Service Allows for retrieval of object references based on the name of the service needed  Clients are able to look for objects implementing a certain interface (Purchasing books) Allows for retrieval of services based on their properties Clients are able to look for objects which have specified values (selling history or IT books)
How CORBA works Sanjoy Sanyal (Tech for NonGeek) Object Request Broker Dynamic Invocation Interface Application object  (client) IDL of service provider stub Application object  (client) IDL compiler  (client side) IDL compiler  (server side) Application object  (service provider) skeleton Interface repository
CORBA: Encapsulation & Advantages  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Sanjoy Sanyal (Tech for NonGeek)
TP Monitors  ,[object Object],Sanjoy Sanyal (Tech for NonGeek)
Message Oriented Middleware ,[object Object],[object Object],[object Object],[object Object],Sanjoy Sanyal (Tech for NonGeek)
MOM Basics ,[object Object],[object Object],[object Object],[object Object],Sanjoy Sanyal (Tech for NonGeek) Client Service Provider Message-Oriented Middleware (MOM) Client Service Provider Message-Oriented Middleware (MOM) Client sends a message  The service provider servers the request by another message Note : to the MOM all objects are alike the distinction between clients and service providers depends on the context
Message Queues ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Sanjoy Sanyal (Tech for NonGeek)
Interacting with a Message Queuing System ,[object Object],[object Object],[object Object],Sanjoy Sanyal (Tech for NonGeek) In JMS each message is characterized by:  A header, which includes meta data like the message type, expiration,  priority  Optional properties that extend the haeder metadata attributes for example to support compatibility with specific JMS implementations  A body which includes the application-specific information  Senders (receivers) first bind to a queue and then start sending (receiving) messages
Transactional Queues ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Sanjoy Sanyal (Tech for NonGeek)
CORBA Architecture: Explained Sanjoy Sanyal (Tech for NonGeek) Component Description Object Request Broker Provides basic object interoperability functions  CORBA Services Provide functionality commonly needed by most objects such as persistence, lifecycle management and security  Accessible thru a standardized API CORBA facilities Provide higher level services needed by applications - Horizontal facilities: document management, internationalization, support for mobile agents  - Vertical facilities: services specific to a market vertical (healthcare, education….)
Summary ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Sanjoy Sanyal (Tech for NonGeek)

Weitere ähnliche Inhalte

Was ist angesagt?

middleware in embedded systems
middleware in embedded systemsmiddleware in embedded systems
middleware in embedded systems
Akhil Kumar
 
Architecture of message oriented middleware
Architecture of message oriented middlewareArchitecture of message oriented middleware
Architecture of message oriented middleware
Likan Patra
 
Client Server Architecture
Client Server ArchitectureClient Server Architecture
Client Server Architecture
suks_87
 

Was ist angesagt? (20)

Communication middleware
Communication middlewareCommunication middleware
Communication middleware
 
MOM - Message Oriented Middleware
MOM - Message Oriented MiddlewareMOM - Message Oriented Middleware
MOM - Message Oriented Middleware
 
Architecture of message oriented middleware
Architecture of message oriented middlewareArchitecture of message oriented middleware
Architecture of message oriented middleware
 
middleware
middlewaremiddleware
middleware
 
middleware in embedded systems
middleware in embedded systemsmiddleware in embedded systems
middleware in embedded systems
 
middleware
middlewaremiddleware
middleware
 
MSMQ - Microsoft Message Queueing
MSMQ - Microsoft Message QueueingMSMQ - Microsoft Message Queueing
MSMQ - Microsoft Message Queueing
 
Message oriented middleware
Message oriented middlewareMessage oriented middleware
Message oriented middleware
 
Technical Architectures
Technical ArchitecturesTechnical Architectures
Technical Architectures
 
Architecture of message oriented middleware
Architecture of message oriented middlewareArchitecture of message oriented middleware
Architecture of message oriented middleware
 
Message Oriented Middleware
Message Oriented MiddlewareMessage Oriented Middleware
Message Oriented Middleware
 
client server protocol
client server protocolclient server protocol
client server protocol
 
Cs556 section2
Cs556 section2Cs556 section2
Cs556 section2
 
Client Server Model and Distributed Computing
Client Server Model and Distributed ComputingClient Server Model and Distributed Computing
Client Server Model and Distributed Computing
 
Client Server Architecture
Client Server ArchitectureClient Server Architecture
Client Server Architecture
 
communication Mechanism in Client Server Model
communication Mechanism in Client Server Model communication Mechanism in Client Server Model
communication Mechanism in Client Server Model
 
Communication in Distributed Systems
Communication in Distributed SystemsCommunication in Distributed Systems
Communication in Distributed Systems
 
Components of client server application
Components of client server applicationComponents of client server application
Components of client server application
 
Distributed System-Multicast & Indirect communication
Distributed System-Multicast & Indirect communicationDistributed System-Multicast & Indirect communication
Distributed System-Multicast & Indirect communication
 
04 Client Server Computing
04 Client Server Computing04 Client Server Computing
04 Client Server Computing
 

Andere mochten auch

Great Java Application Server Debate
Great Java Application Server DebateGreat Java Application Server Debate
Great Java Application Server Debate
Hamed Hatami
 
Topic3 Enterprise Application Integration
Topic3 Enterprise Application IntegrationTopic3 Enterprise Application Integration
Topic3 Enterprise Application Integration
sanjoysanyal
 
Lec3 4 mm applications and use
Lec3 4 mm applications and useLec3 4 mm applications and use
Lec3 4 mm applications and use
Dom Mike
 
FAULT DETECTION IN WIRELESS SENSOR NETWORK
FAULT DETECTION IN WIRELESS SENSOR NETWORKFAULT DETECTION IN WIRELESS SENSOR NETWORK
FAULT DETECTION IN WIRELESS SENSOR NETWORK
PavithraRShettigar
 

Andere mochten auch (18)

Network Mnagement for WSN
Network Mnagement for WSNNetwork Mnagement for WSN
Network Mnagement for WSN
 
Wireless Sensor Networks
Wireless Sensor NetworksWireless Sensor Networks
Wireless Sensor Networks
 
Middleware
MiddlewareMiddleware
Middleware
 
paper presentation _ survey of wireless sensor netwrok
paper presentation _ survey of wireless sensor netwrokpaper presentation _ survey of wireless sensor netwrok
paper presentation _ survey of wireless sensor netwrok
 
Great Java Application Server Debate
Great Java Application Server DebateGreat Java Application Server Debate
Great Java Application Server Debate
 
Some OOW15 Observations
Some OOW15 ObservationsSome OOW15 Observations
Some OOW15 Observations
 
Enterprise Application integration (middleware) concepts
Enterprise Application integration (middleware) conceptsEnterprise Application integration (middleware) concepts
Enterprise Application integration (middleware) concepts
 
Chapter
ChapterChapter
Chapter
 
Distributed systems and middleware
Distributed systems and middlewareDistributed systems and middleware
Distributed systems and middleware
 
Week 12 mm_dev_model
Week 12 mm_dev_modelWeek 12 mm_dev_model
Week 12 mm_dev_model
 
MIDELWARE TECH
MIDELWARE TECHMIDELWARE TECH
MIDELWARE TECH
 
Enterprise Application Integration
Enterprise Application IntegrationEnterprise Application Integration
Enterprise Application Integration
 
Topic3 Enterprise Application Integration
Topic3 Enterprise Application IntegrationTopic3 Enterprise Application Integration
Topic3 Enterprise Application Integration
 
authoring tools
authoring toolsauthoring tools
authoring tools
 
Lec3 4 mm applications and use
Lec3 4 mm applications and useLec3 4 mm applications and use
Lec3 4 mm applications and use
 
Unit 17
Unit 17Unit 17
Unit 17
 
Chapter i(flash basic)
Chapter i(flash basic)Chapter i(flash basic)
Chapter i(flash basic)
 
FAULT DETECTION IN WIRELESS SENSOR NETWORK
FAULT DETECTION IN WIRELESS SENSOR NETWORKFAULT DETECTION IN WIRELESS SENSOR NETWORK
FAULT DETECTION IN WIRELESS SENSOR NETWORK
 

Ähnlich wie Topic2 Understanding Middleware

remote procedure calls
  remote procedure calls  remote procedure calls
remote procedure calls
Ashish Kumar
 
24. Advanced Transaction Processing in DBMS
24. Advanced Transaction Processing in DBMS24. Advanced Transaction Processing in DBMS
24. Advanced Transaction Processing in DBMS
koolkampus
 
Design patterns - ICIN 2010
Design patterns - ICIN 2010Design patterns - ICIN 2010
Design patterns - ICIN 2010
steccami
 

Ähnlich wie Topic2 Understanding Middleware (20)

Unit_2_Midddleware_2.ppt
Unit_2_Midddleware_2.pptUnit_2_Midddleware_2.ppt
Unit_2_Midddleware_2.ppt
 
remote procedure calls
  remote procedure calls  remote procedure calls
remote procedure calls
 
Dos(rpc)avishek130650107020
Dos(rpc)avishek130650107020Dos(rpc)avishek130650107020
Dos(rpc)avishek130650107020
 
Sun RPC (Remote Procedure Call)
Sun RPC (Remote Procedure Call)Sun RPC (Remote Procedure Call)
Sun RPC (Remote Procedure Call)
 
Middleware in Distributed System-RPC,RMI
Middleware in Distributed System-RPC,RMIMiddleware in Distributed System-RPC,RMI
Middleware in Distributed System-RPC,RMI
 
Chapter 4 communication2
Chapter 4 communication2Chapter 4 communication2
Chapter 4 communication2
 
CHP-4.pptx
CHP-4.pptxCHP-4.pptx
CHP-4.pptx
 
Lecture9
Lecture9Lecture9
Lecture9
 
Chapter 2B-Communication.ppt
Chapter 2B-Communication.pptChapter 2B-Communication.ppt
Chapter 2B-Communication.ppt
 
Remote procedure calls
Remote procedure callsRemote procedure calls
Remote procedure calls
 
Middleware1
Middleware1Middleware1
Middleware1
 
24. Advanced Transaction Processing in DBMS
24. Advanced Transaction Processing in DBMS24. Advanced Transaction Processing in DBMS
24. Advanced Transaction Processing in DBMS
 
Task communication
Task communicationTask communication
Task communication
 
CS9222 ADVANCED OPERATING SYSTEMS
CS9222 ADVANCED OPERATING SYSTEMSCS9222 ADVANCED OPERATING SYSTEMS
CS9222 ADVANCED OPERATING SYSTEMS
 
Aspect UIP Logical Architecture
Aspect UIP Logical ArchitectureAspect UIP Logical Architecture
Aspect UIP Logical Architecture
 
Remote Procedure Call
Remote Procedure CallRemote Procedure Call
Remote Procedure Call
 
Remote procedure call on client server computing
Remote procedure call on client server computingRemote procedure call on client server computing
Remote procedure call on client server computing
 
Cs556 section3
Cs556 section3Cs556 section3
Cs556 section3
 
Cs556 section3
Cs556 section3Cs556 section3
Cs556 section3
 
Design patterns - ICIN 2010
Design patterns - ICIN 2010Design patterns - ICIN 2010
Design patterns - ICIN 2010
 

Mehr von sanjoysanyal

Windindustryin India
Windindustryin IndiaWindindustryin India
Windindustryin India
sanjoysanyal
 
Solar Industryin India
Solar Industryin IndiaSolar Industryin India
Solar Industryin India
sanjoysanyal
 
Bio Fuel Industryin India
Bio Fuel Industryin IndiaBio Fuel Industryin India
Bio Fuel Industryin India
sanjoysanyal
 
Introductionto Solar
Introductionto SolarIntroductionto Solar
Introductionto Solar
sanjoysanyal
 
Introductionto Solar
Introductionto SolarIntroductionto Solar
Introductionto Solar
sanjoysanyal
 
Topic6 Basic Web Services Technology
Topic6 Basic Web Services TechnologyTopic6 Basic Web Services Technology
Topic6 Basic Web Services Technology
sanjoysanyal
 
Topic6 Basic Web Services Technology
Topic6 Basic Web Services TechnologyTopic6 Basic Web Services Technology
Topic6 Basic Web Services Technology
sanjoysanyal
 
Topic5 Web Services
Topic5 Web ServicesTopic5 Web Services
Topic5 Web Services
sanjoysanyal
 
Topic4 Application Servers
Topic4 Application ServersTopic4 Application Servers
Topic4 Application Servers
sanjoysanyal
 
Topic1 Understanding Distributed Information Systems
Topic1 Understanding Distributed Information SystemsTopic1 Understanding Distributed Information Systems
Topic1 Understanding Distributed Information Systems
sanjoysanyal
 
Content Navigation
Content NavigationContent Navigation
Content Navigation
sanjoysanyal
 
Instantmessagingprotocols
InstantmessagingprotocolsInstantmessagingprotocols
Instantmessagingprotocols
sanjoysanyal
 
Peerto Peer Networks
Peerto Peer NetworksPeerto Peer Networks
Peerto Peer Networks
sanjoysanyal
 
Caching Techniquesfor Content Delivery
Caching Techniquesfor Content DeliveryCaching Techniquesfor Content Delivery
Caching Techniquesfor Content Delivery
sanjoysanyal
 

Mehr von sanjoysanyal (20)

business
businessbusiness
business
 
Solar
SolarSolar
Solar
 
Windindustryin India
Windindustryin IndiaWindindustryin India
Windindustryin India
 
Solar Industryin India
Solar Industryin IndiaSolar Industryin India
Solar Industryin India
 
Bio Fuel Industryin India
Bio Fuel Industryin IndiaBio Fuel Industryin India
Bio Fuel Industryin India
 
Introduction to Carbon Markets
Introduction to Carbon Markets Introduction to Carbon Markets
Introduction to Carbon Markets
 
Virtualization VMWare technology
Virtualization VMWare technologyVirtualization VMWare technology
Virtualization VMWare technology
 
Microsoft Virtualization View
Microsoft Virtualization View Microsoft Virtualization View
Microsoft Virtualization View
 
Introductionto Solar
Introductionto SolarIntroductionto Solar
Introductionto Solar
 
Introductionto Solar
Introductionto SolarIntroductionto Solar
Introductionto Solar
 
Topic6 Basic Web Services Technology
Topic6 Basic Web Services TechnologyTopic6 Basic Web Services Technology
Topic6 Basic Web Services Technology
 
Topic6 Basic Web Services Technology
Topic6 Basic Web Services TechnologyTopic6 Basic Web Services Technology
Topic6 Basic Web Services Technology
 
Topic5 Web Services
Topic5 Web ServicesTopic5 Web Services
Topic5 Web Services
 
Topic4 Application Servers
Topic4 Application ServersTopic4 Application Servers
Topic4 Application Servers
 
Topic1 Understanding Distributed Information Systems
Topic1 Understanding Distributed Information SystemsTopic1 Understanding Distributed Information Systems
Topic1 Understanding Distributed Information Systems
 
Content Navigation
Content NavigationContent Navigation
Content Navigation
 
Instantmessagingprotocols
InstantmessagingprotocolsInstantmessagingprotocols
Instantmessagingprotocols
 
Peerto Peer Networks
Peerto Peer NetworksPeerto Peer Networks
Peerto Peer Networks
 
Caching Techniquesfor Content Delivery
Caching Techniquesfor Content DeliveryCaching Techniquesfor Content Delivery
Caching Techniquesfor Content Delivery
 
Streaming Media Protocols
Streaming Media ProtocolsStreaming Media Protocols
Streaming Media Protocols
 

Kürzlich hochgeladen

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Kürzlich hochgeladen (20)

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 

Topic2 Understanding Middleware

  • 1. Middleware Sanjoy Sanyal (Tech for NonGeek)
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7. RPC functioning with Dynamic binding Sanjoy Sanyal (Tech for NonGeek) Client Procedure Call Client Stub Bind Marshal Serialize Client Process Communication Module Name and directory service (binder) Query for server implementing the procedure Address of server Server Procedure Server Process Server Stub Register Un-marshal De-serialize Receive Dispatch Communication Module Register server and procedure
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13. Transactional RPC Sanjoy Sanyal (Tech for NonGeek) Client 1.BOT 4. Procedure call 10. EOT Client Stub 2. Register txn and create context 5. Add txn id and context to call 11. Request commit 14. Confirm termination Client Process Server 9. procedure Server Process Server Stub 6. Extract context and txn id 7. Register server for txn 13. Participate in 2PC Register server and procedure Transaction manager 3. Create txn id Register txn Regsiter txn for client Return txn id 8. Lookup txn id Run 2PC Notify client of outcome 8. Lookup txn id Register server for txn
  • 14.
  • 15. TP Monitor Functionality Sanjoy Sanyal (Tech for NonGeek) Functionality Description RPC Support IDLs, name and directory servers, security and authentication, stub compilers …. Programming abstraction deal with T-RPC BOT, EOT, and may include additional callback and workflow mechansisms (on commit, on abort) Transactional Manager for implementing TRPC Transaction Manager functionality: logging, recovery, locking Monitor Systems Scheduling threads, assigning priorities, load balancing, replication, starting and stopping components Run-time environment Provides the resources and services applications may need (transactional services, security services, transactional file systems…) Specialized Components Ranging from proprietary protocols for interacting with mainframes to persistent queuing systems for asynchronous interaction Tools For installing, managing and monitoring the performance of all components
  • 16.
  • 17. CORBA: System Architecture Sanjoy Sanyal (Tech for NonGeek) Object Request Broker financials Supply chain distributed documents information management systems management Vertical facilities horizontal facilities CORBA facilities naming transactions events lifecycle time relationships properties licensing trader concurrency query security startup externalization collection persistence User Defined Objects
  • 18.
  • 19.
  • 20.
  • 21. How CORBA works Sanjoy Sanyal (Tech for NonGeek) Object Request Broker Dynamic Invocation Interface Application object (client) IDL of service provider stub Application object (client) IDL compiler (client side) IDL compiler (server side) Application object (service provider) skeleton Interface repository
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29. CORBA Architecture: Explained Sanjoy Sanyal (Tech for NonGeek) Component Description Object Request Broker Provides basic object interoperability functions CORBA Services Provide functionality commonly needed by most objects such as persistence, lifecycle management and security Accessible thru a standardized API CORBA facilities Provide higher level services needed by applications - Horizontal facilities: document management, internationalization, support for mobile agents - Vertical facilities: services specific to a market vertical (healthcare, education….)
  • 30.