Code Monkey home page Code Monkey logo

Comments (6)

haojun avatar haojun commented on July 24, 2024

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.

friends110110 avatar friends110110 commented on July 24, 2024

Does the 100 tps is calculated by (Succ+Fail )/time ?besides the cli processProposal successfully every request.

from caliper.

haojun avatar haojun commented on July 24, 2024

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.

friends110110 avatar friends110110 commented on July 24, 2024

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.

haojun avatar haojun commented on July 24, 2024
  1. 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.
  2. That's the case for fabric.
  3. You can find the 'ratecontrol' property in config file, which defines how to control the sending rate.

from caliper.

friends110110 avatar friends110110 commented on July 24, 2024

You are so kind, thank you very much !

from caliper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.