Comments (10)
Read Latency or Transaction Latency?
for my understanding,
the Read Latency means the time diff between we send the envelope to orderer and the block event from peer grpc.
the Transaction Latency means the time diff between we send the envelope to orderer and the block confirmed at all peers configed in #43 ?
Read Latency
Read Latency = Time when response received – submit time
Read latency is the time between when the read request is submitted and when the reply is
received.
Transaction Latency
Transaction Latency = (Confirmation time @ network threshold) – submit time
Transaction Latency is a network-wide view of the amount of time taken for a transaction’s
effect to be usable across the network. The measurement includes the time from the point
that it is submitted to the point that the result is widely available in the network. This includes
the propagation time and any settling time due to the consensus mechanism in place.
To account for both of those factors and give the network-wide view, the delay should be
measured using all nodes in the SUT. Eyal et al provide a helpful definition for the amount of
time for a percentage of the network to commit the transaction1, which we have simplified
somewhat here. The latter part of this definition, the percentage of the network, is most
significant for consensus protocols like PoW. In such systems a threshold like 90% may
be desired, whereas in a non-probabilistic protocol like PBFT 100% is the only meaningful
threshold.
This metric is computed per transaction, but in most cases reports should provide various
statistics over all transactions like the average, high, low, and standard deviations.
from tape.
I'd say we'll do Transaction Latency
first. Read Latency
comes after issue #56
from tape.
update issue title, and btw, how we summarize/display for the latency?
one by one tx?
avg/max?
from tape.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from tape.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from tape.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from tape.
Hi just wonder if the submit time
in transaction latency equals the start of broadcasting?
edit: so the latency time should be the same as receivedTime
in observer.go?
from tape.
#262, how about we create two matrix and integrated with prometheus to show up latency?
@guoger
from tape.
@guoger , @dexhunter , I just updated Tape with prometheus to report read latency and tx latency for p50, p90 and p99. please let me know if we are able to close this issue by prometheus supported. It looks like:
from tape.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from tape.
Related Issues (20)
- Is there have any way to report TPS for commitOnly/endorsementOnly option? HOT 5
- Endorsement in a peer group
- release new tag after alpha branch merged
- Document upgrade
- upgrade ginkgo to v2 HOT 1
- logging的策略模糊问题
- Increase test coverage
- why "empty endorsement policy" HOT 4
- why change chaincode name and function name unsuccessfully? HOT 7
- rpc error: code = Unavailable desc = closing transport due to: connection error: desc = "error reading from server: EOF", received prior goaway: code: ENHANCE_YOUR_CALM, debug data: "too_many_pings" HOT 7
- replace azp by github action HOT 4
- prometheus integration
- update readme with author HOT 1
- rpc error: code = Unavailable desc = closing transport due to: connection error: desc = "error reading from server: EOF", received prior goaway: code: ENHANCE_YOUR_CALM, debug data: "too_many_pings" HOT 2
- 使用tape测试Fabric 1.4.4时,当指定的numbers超过200时引起MVCC冲突,求解决方案。 HOT 4
- rpc error: code = Unavailable desc = closing transport due to: connection error: desc = "error reading from server: EOF", received prior goaway: code: ENHANCE_YOUR_CALM, debug data: "too_many_pings"root HOT 7
- tape是否能看到latency数据? HOT 4
- TPS for Full Process miscalculated HOT 6
- enable lint for lint validations below HOT 1
- OpenSSF badge
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tape.