---
# System prepended metadata

title: Notes on Akrida

---

## Akrida request count notes 

### Verifier

The `presentation_exchange` task runs the Akrida command that calls a command to 
1. get the Credo Agent to listen to a verification request and accept
2. call the verifier agent and do the request
3. call the verifier agent to check the status is `verified`

![image](https://hackmd.io/_uploads/HJ_151DTa.png)


Client call showing the 3 things it does

![image](https://hackmd.io/_uploads/Sk3JqJPa6.png)



Things annotated with **stopwatch** are what count as a request # in the UI for the way Akrida is set up

So actually the verification test is doing **2** Verifier Agent api calls per stopwatch method. We can take that into account for our metrics but it's not undercounting or anything.

So can see by checking the Tenant UI that a run where I started up 3 users and then stopped quickly after a few requests
Counts 8 in the requests column
See 8 verify calls in the verifer agent


![image](https://hackmd.io/_uploads/rkYgcyD6T.png)






### IAS Issuance

Ran a test with 3 users, limited to 3 loops only each, so everything should happen 9 times total

Showing debug statement that logs out DID and response when IAS controller called
Can see 9 issuances to DIDs (top one got cut off a little) same count as Requests # for `call_ias_for_cred_and_recieve` task

![image](https://hackmd.io/_uploads/S1A-cyvpp.png)

