Comments (6)
sorry, i can't fully get your point.
The send rate indicates how many transactions are sent per second, and the throughput indicates how many transactions are actually committed on the ledger per second.
from caliper.
Does the 100 tps is calculated by (Succ+Fail )/time ?besides the cli processProposal successfully every request.
from caliper.
Caliper will record the submitting time and committing time (the time when the tx is committed on the ledger or when the failure occurred) for each tx.
So the send rate is calculated by (Succ+Fail) / (last submitting time - first submitting time).
The throughput is calculated by Succ/(last committing time - first submitting time), here only successful committed txs will be calculated.
from caliper.
1.nodejs has one thread in the lifecycle, the submitting process is in one thread, while goland has goroutine ,java have the multiple thread,
2.When to record committing time? Is the eventhub receives the blockevent from the block?
3.From my table, 100 tps 200 tps ... ,they are different , but how to control or adjust the send rate ?
from caliper.
- Although nodejs process is in one thread actually, the submitting process is in asynchronous mode. Meanwhile, we are using multiple child processes to improve the capability.
- That's the case for fabric.
- You can find the 'ratecontrol' property in config file, which defines how to control the sending rate.
from caliper.
You are so kind, thank you very much !
from caliper.
Related Issues (20)
- A Tutorial demonstrating using Prometheus and Grafana with Caliper HOT 1
- Missing Link: Deploy Hyperledger Caliper HOT 3
- Add a dummy connector to facilitate testing of caliper (also useful for build automation)
- Add unit tests for caliper-cli HOT 3
- Add unit tests for caliper-ethereum HOT 5
- Increase the unit test coverage for caliper-core HOT 3
- Documentation of the Ethereum Connector does not appear to match the implementation HOT 4
- A Tutorial on the use of declaritive workloads HOT 3
- When I increase the TPS, exceeding 110, errors occur,”Transaction nonce is too distant from current sender nonce“ or "Transaction nonce is too low"
- [Enhancement]: Increase test coverage of fixedRate controller. HOT 4
- ESLint `linebreak-style` Configuration Causes Errors on WindowsOS HOT 6
- Adding option to specify constructor arguments for contract deployment on Ethereum Connector HOT 1
- Add details around SmartBFT for fabric and the fact that the legacy 1.4 and 2.2 Fabric SDKs are unlikely to work
- Remove the Caliper Flow Control system HOT 1
- Caliper generator doesn't support the fixed-load rate controller
- Caliper ethereum documentation needs a complete overhaul HOT 6
- Interface on use of releaseContext and actual use differ, plus use of getContext/releaseContext doesn't seem correct within a worker
- Test flake in unit tests HOT 1
- Fix: test folder structure consistencies
- Bump up testing libraries to latest version
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 caliper.