blob: b68046f149966042bf11a2fc92d63a146fd4bdae [file] [log] [blame]
/'
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
'/
@startuml
'https://plantuml.com/sequence-diagram
autonumber
actor "Alice" as alice
participant "alice-client-worker-3" as aliceWorker1
participant "alice-client-worker-4" as aliceWorker2
entity "Socket" as socket
participant "bob-srv-worker-2" as bobWorker1
participant "bob-srv-worker-5" as bobWorker2
participant "Bob's request handler \n(e.g. disruptor-stripe)" as bobHandler
actor Bob as bob
alice -> aliceWorker1 : Request from Alice \nwithin a user thread
aliceWorker1 -> socket : Request from Alice
socket -> bobWorker1 : Request from Alice
bobWorker1 -> bobHandler : Request from Alice
bobHandler -> bob : Request from Alice
bob -> bobWorker2 : Response from Bob
bobWorker2 -> socket : Response from Bob
socket -> aliceWorker2 : Response from Bob
aliceWorker2 -> alice : Response from Bob
@enduml