{"action":"created","issue":{"url":"https://api.github.com/repos/hyperledger/caliper/issues/47","repository_url":"https://api.github.com/repos/hyperledger/caliper","labels_url":"https://api.github.com/repos/hyperledger/caliper/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/hyperledger/caliper/issues/47/comments","events_url":"https://api.github.com/repos/hyperledger/caliper/issues/47/events","html_url":"https://github.com/hyperledger/caliper/pull/47","id":318122381,"number":47,"title":"Adding smallbank benchmark use case which simulates bank operations","user":{"login":"Ram-srini","id":36431534,"avatar_url":"https://avatars3.githubusercontent.com/u/36431534?v=4","gravatar_id":"","url":"https://api.github.com/users/Ram-srini","html_url":"https://github.com/Ram-srini","followers_url":"https://api.github.com/users/Ram-srini/followers","following_url":"https://api.github.com/users/Ram-srini/following{/other_user}","gists_url":"https://api.github.com/users/Ram-srini/gists{/gist_id}","starred_url":"https://api.github.com/users/Ram-srini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ram-srini/subscriptions","organizations_url":"https://api.github.com/users/Ram-srini/orgs","repos_url":"https://api.github.com/users/Ram-srini/repos","events_url":"https://api.github.com/users/Ram-srini/events{/privacy}","received_events_url":"https://api.github.com/users/Ram-srini/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2018-04-26T17:15:46Z","updated_at":"2018-05-03T11:29:31Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/hyperledger/caliper/pulls/47","html_url":"https://github.com/hyperledger/caliper/pull/47","diff_url":"https://github.com/hyperledger/caliper/pull/47.diff","patch_url":"https://github.com/hyperledger/caliper/pull/47.patch"},"body":"Adding smallbank benchmark use case which simulates bank operations\r\n\r\nSigned-off-by: Ramakrishna Srinivasamurthy <ramakrishna.srinivasamurthy@intel.com>"},"comment":{"url":"https://api.github.com/repos/hyperledger/caliper/issues/comments/386264702","html_url":"https://github.com/hyperledger/caliper/pull/47#issuecomment-386264702","issue_url":"https://api.github.com/repos/hyperledger/caliper/issues/47","id":386264702,"user":{"login":"Ram-srini","id":36431534,"avatar_url":"https://avatars3.githubusercontent.com/u/36431534?v=4","gravatar_id":"","url":"https://api.github.com/users/Ram-srini","html_url":"https://github.com/Ram-srini","followers_url":"https://api.github.com/users/Ram-srini/followers","following_url":"https://api.github.com/users/Ram-srini/following{/other_user}","gists_url":"https://api.github.com/users/Ram-srini/gists{/gist_id}","starred_url":"https://api.github.com/users/Ram-srini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ram-srini/subscriptions","organizations_url":"https://api.github.com/users/Ram-srini/orgs","repos_url":"https://api.github.com/users/Ram-srini/repos","events_url":"https://api.github.com/users/Ram-srini/events{/privacy}","received_events_url":"https://api.github.com/users/Ram-srini/received_events","type":"User","site_admin":false},"created_at":"2018-05-03T11:29:31Z","updated_at":"2018-05-03T11:29:31Z","author_association":"CONTRIBUTOR","body":"@haojun \r\nMy Answers to your questions in order\r\n1. Once test is started it creates number of accounts specified and remaining operations are performed on those operations. Suppose the config file contains txNumber =10, accounts =10 and txnPerBatch=10 means it is 10 batches will be created and first batch with 10 transactions are create account operation and remaining 9 batches means 90 transactions are random operations(send payment, writecheck, etc) on those accounts. I have used  no_accounts global variable in smallbankOperations.js. If clients are calling one by one then it should create the different accounts. How multiple multiple clients will call smallbankOperations.js in parallel or serially?\r\n2. Batch statuses response will have number transactions status in that batch, it should be completed/pending. We should change framework to handle the batches and come up with right tps count. What if i send the invoke_status with additional parameter says txnCount which will have transactions count in that batch and it will be used for the tps calculation.\r\n3. Yes for fabric we should submit one transactions at time because it doesn't support batches. In smallbankOperations we are sending array of json objects and while invoking smart contract we should 1 transactions at a time.\r\n\r\n "}}
{"actor":{"display_login":"Ram-srini"}}