Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
minor docs update
  • Loading branch information
jshook committed Apr 6, 2021
1 parent b8dab00 commit 65705ff
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 5 deletions.
@@ -1,4 +1,4 @@
# nb -v http-graphql-cql-tabularrampup-cycles=1E6 main-cycles=1E9 stargate_host=my_stargate_host host=my_stargate_host auth_token=$AUTH_TOKEN
# nb -v http-graphql-cql-tabular rampup-cycles=1E6 main-cycles=1E9 stargate_host=my_stargate_host host=my_stargate_host auth_token=$AUTH_TOKEN
description: |
This workload emulates a time-series data model and access patterns.
This should be identical to the cql variant except for:
Expand Down
47 changes: 43 additions & 4 deletions sort_docs/eb_metrics_full.puml
@@ -1,4 +1,5 @@
@startuml
title: Metrics Types and Scopes in SyncAction

Participant Input as i
Participant Thread as t
Expand Down Expand Up @@ -43,21 +44,59 @@ group TIMER strides

group HISTOGRAM tries
loop over tries
== for blocking APIs ==

group TIMER execute
a --> d: execute
group TIMERS\nexecute\nresult\nresult-success[result-success\nwhen no error]
a -> d: execute
activate d
a <-- d: future
a <- d: result
deactivate d
end
note right
When the underlying native
driver does not expose an async
API, execute and result must be updated
with the same measurements.

result-success contains the
same measurements as result,
but ONLY for non-exceptional
native driver results.
end note


group TIMERS result\n& result-success[result-success\nwhen no error]
== for async APIs ==

group TIMER execute
a -> d: execute
activate d
d -> future **: create
a <- d: future
deactivate d
end

note right
When the underlying native
driver DOES expose an async
API, execute measures
submission of an op to the
native driver, while result
measures the completion
of the op.

result-success contains the
same measurements as result,
but ONLY for non-exceptional
native driver results.
end note

group TIMERS\nresult\nresult-success[result-success\nwhen no error]
a -> future: get
activate future
a <- future: result
deactivate future
end

end

t <- a : result
Expand Down

0 comments on commit 65705ff

Please sign in to comment.