Skip to content

Commit

Permalink
docs: add dcache door generic workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kofemann committed Aug 18, 2023
1 parent 21f441b commit 4071315
Showing 1 changed file with 69 additions and 0 deletions.
69 changes: 69 additions & 0 deletions modules/dcache/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# dCache request diagrams


## Door workflow on successful read, close through door (NFS)

```mermaid
sequenceDiagram
autonumber
participant Client
participant Door
participant poolA
participant PoolManager
participant PnfsManager
participant Billing
Client ->> Door: GET
Door->>PnfsManager: PnfsGetFileAttributes (path|pnfsid)
PnfsManager -->> Door: storage info, attrs
Door ->> PoolManager: PoolMgrSelectReadPoolMsg(pnfsid, storage info)
PoolManager-->>Door: poolA
Door->>poolA: Start Mover (pnfsid, protocol, storage info)
poolA -->>Door: mover id
poolA-->>Door: redirect
Door -->> Client: redirect
loop Application IO
Client->>poolA: GET
poolA-->>Client: 'bytes'
end
Client->>Door: CLOSE
Door->>poolA: Kill Mover(id)
poolA ->> Billing: MoverInfoMessage
poolA-->>Door: DoorTransferFinishedMessage(status)
Door->>Billing: DoorRequestInfoMessage
Door-->>Client: OK
```

## Door workflow on successful read, close through pool (dcap, xroot, http)

```mermaid
sequenceDiagram
autonumber
participant Client
participant Door
participant poolA
participant PoolManager
participant PnfsManager
participant Billing
Client ->> Door: GET
Door->>PnfsManager: PnfsGetFileAttributes (path|pnfsid)
PnfsManager -->> Door: storage info, attrs
Door ->> PoolManager: PoolMgrSelectReadPoolMsg(pnfsid, storage info)
PoolManager-->>Door: poolA
Door->>poolA: Start Mover (pnfsid, protocol, storage info)
poolA -->>Door: mover id
poolA-->>Door: redirect
Door -->> Client: redirect
loop Application IO
Client->>poolA: GET
poolA-->>Client: 'bytes'
end
Client->>poolA: CLOSE
poolA ->> Billing: MoverInfoMessage
poolA-->>Door: DoorTransferFinishedMessage(status)
Door->>Billing: DoorRequestInfoMessage
opt dcap
Door-->>Client: OK
end
```

0 comments on commit 4071315

Please sign in to comment.