Code Monkey home page Code Monkey logo

Comments (13)

haojun avatar haojun commented on July 24, 2024

Emm, I can't see why there is such big performance difference.
Are you starting all nodes on the same machine in kafka mode? If yes, have you checked the system resources(cpu, memory) to see if the resources are exhausted? Also you can reduce the sending rate for example to 300 to see if fabric can handle and you can also test for a longer time to avoid possible cold start.

from caliper.

BeanChan1987 avatar BeanChan1987 commented on July 24, 2024

1、4 machine
2、sending rate set to 40
3、cpu loading < 50% ,memory loading< 40%
4、caliper send TS failed and TPS is very low.

from caliper.

BeanChan1987 avatar BeanChan1987 commented on July 24, 2024

I had changed the sending rate to 300,200,150,100,80,50,40 and so on, unable to promoted the TPS.

from caliper.

caohuilong avatar caohuilong commented on July 24, 2024

@BeanChan1987 您好,请问您是怎么用 caliper 来测试多个 Orderer 节点的 fabric 网络的呢?网络配置文件 fabric.json 文件中的 orderer 部分该如何配置啊?

from caliper.

shiningfrog avatar shiningfrog commented on July 24, 2024

hello, is there some details in how to fill the fabric.json file to test the performance under kafka mode?

from caliper.

aklenik avatar aklenik commented on July 24, 2024

@shiningfrog The current Fabric adapter only supports a single orderer node. Check out PR #296 that supports multiple orderer endpoints. Not merged yet, and any feedback is welcome!

from caliper.

shiningfrog avatar shiningfrog commented on July 24, 2024

hello, i've clone this tree and tesed in multi orderers. when i try to test tps in my own fabirc network(1.2 kafka) , i got this error in Instantiating Step(installing ok) :'commit timeout for simple@v0' in XXX_channel for peer1.org2.example.com. i want to know if this is caused by the smart contract? @aklenik

from caliper.

aklenik avatar aklenik commented on July 24, 2024

@shiningfrog Check the peer logs or the chaincode container log for details.

from caliper.

shiningfrog avatar shiningfrog commented on July 24, 2024

thank you. now the contract 'simple@v0' has instantiated in mychannel(i create a fabric network with 2 orderers and 4 peers, 2 orgs). but there is another problrm: [ChannelEventHub.js]: _connect - timed out after:45000 and unable to connect to the peer event hub.
i use fabric-1.2 to build up the whole network. is there any advice for me? @aklenik
image
image

from caliper.

aklenik avatar aklenik commented on July 24, 2024

@shiningfrog Hmm, it looks like that the transactions are not even processed. But it seems that the peers are available as an endpoint. Can you check the peer logs whether they're started successfully? The eventhub connect timeout suggest some peer errors

from caliper.

aklenik avatar aklenik commented on July 24, 2024

@shiningfrog Did you resolve this error?

from caliper.

shiningfrog avatar shiningfrog commented on July 24, 2024

@aklenik thank you very much!.sometimes it works well, but sometimes it doesn't. if i create a new chain network, this problrm fixed itself. however when i test in the same chain, the problem raises again. i cannot see any error in peer logs and orderer logs.

from caliper.

aklenik avatar aklenik commented on July 24, 2024

@shiningfrog If you test it on an already running network, make sure you don't try to create channels again, and there is no conflict between the tests if you run them again without clearing their effects.

Since the testing of multiple orderers works, I'm closing this issue. If you run into any problem, open a new issue, with the detailed error logs from the network side.

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.