{"action":"created","issue":{"url":"https://api.github.com/repos/poanetwork/bridge-nodejs/issues/60","repository_url":"https://api.github.com/repos/poanetwork/bridge-nodejs","labels_url":"https://api.github.com/repos/poanetwork/bridge-nodejs/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/poanetwork/bridge-nodejs/issues/60/comments","events_url":"https://api.github.com/repos/poanetwork/bridge-nodejs/issues/60/events","html_url":"https://github.com/poanetwork/bridge-nodejs/pull/60","id":349543148,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA3NjMzODcz","number":60,"title":"Basic stress testing","user":{"login":"fvictorio","id":417134,"node_id":"MDQ6VXNlcjQxNzEzNA==","avatar_url":"https://avatars1.githubusercontent.com/u/417134?v=4","gravatar_id":"","url":"https://api.github.com/users/fvictorio","html_url":"https://github.com/fvictorio","followers_url":"https://api.github.com/users/fvictorio/followers","following_url":"https://api.github.com/users/fvictorio/following{/other_user}","gists_url":"https://api.github.com/users/fvictorio/gists{/gist_id}","starred_url":"https://api.github.com/users/fvictorio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fvictorio/subscriptions","organizations_url":"https://api.github.com/users/fvictorio/orgs","repos_url":"https://api.github.com/users/fvictorio/repos","events_url":"https://api.github.com/users/fvictorio/events{/privacy}","received_events_url":"https://api.github.com/users/fvictorio/received_events","type":"User","site_admin":false},"labels":[{"id":942673264,"node_id":"MDU6TGFiZWw5NDI2NzMyNjQ=","url":"https://api.github.com/repos/poanetwork/bridge-nodejs/labels/review","name":"review","color":"ededed","default":false}],"state":"open","locked":false,"assignee":{"login":"fvictorio","id":417134,"node_id":"MDQ6VXNlcjQxNzEzNA==","avatar_url":"https://avatars1.githubusercontent.com/u/417134?v=4","gravatar_id":"","url":"https://api.github.com/users/fvictorio","html_url":"https://github.com/fvictorio","followers_url":"https://api.github.com/users/fvictorio/followers","following_url":"https://api.github.com/users/fvictorio/following{/other_user}","gists_url":"https://api.github.com/users/fvictorio/gists{/gist_id}","starred_url":"https://api.github.com/users/fvictorio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fvictorio/subscriptions","organizations_url":"https://api.github.com/users/fvictorio/orgs","repos_url":"https://api.github.com/users/fvictorio/repos","events_url":"https://api.github.com/users/fvictorio/events{/privacy}","received_events_url":"https://api.github.com/users/fvictorio/received_events","type":"User","site_admin":false},"assignees":[{"login":"fvictorio","id":417134,"node_id":"MDQ6VXNlcjQxNzEzNA==","avatar_url":"https://avatars1.githubusercontent.com/u/417134?v=4","gravatar_id":"","url":"https://api.github.com/users/fvictorio","html_url":"https://github.com/fvictorio","followers_url":"https://api.github.com/users/fvictorio/followers","following_url":"https://api.github.com/users/fvictorio/following{/other_user}","gists_url":"https://api.github.com/users/fvictorio/gists{/gist_id}","starred_url":"https://api.github.com/users/fvictorio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fvictorio/subscriptions","organizations_url":"https://api.github.com/users/fvictorio/orgs","repos_url":"https://api.github.com/users/fvictorio/repos","events_url":"https://api.github.com/users/fvictorio/events{/privacy}","received_events_url":"https://api.github.com/users/fvictorio/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-08-10T14:43:53Z","updated_at":"2018-08-13T11:35:57Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/poanetwork/bridge-nodejs/pulls/60","html_url":"https://github.com/poanetwork/bridge-nodejs/pull/60","diff_url":"https://github.com/poanetwork/bridge-nodejs/pull/60.diff","patch_url":"https://github.com/poanetwork/bridge-nodejs/pull/60.patch"},"body":"Related to #51.\r\n\r\nThis PR:\r\n\r\n- Makes all scripts pipe their logs to disk. This make it easier to analyze them. Notice that this means that the logs to stdout are always prettified, but I don't think it's a problem since we'll have the raw log files (and if it is a problem, it's easy to fix).\r\n- Adds a very basic script that analyzes these logs. This just computes some statistics on the time it passes between a signature request event is received and the corresponding transaction is sent, but there's a lot of room for improvement here (statistics in other events, the ability to select a time frame, we could even compute online statistics to use in a monitoring system, etc.).\r\n- Adds a document that explains how to generate a block with N transactions. I did this manually, but I think it's something that may be automated if the need arises.\r\n\r\nDoing this I found that the bridge fails when there are a lot of transactions in a block (it starts having issues around 200-300 txs). I think this happens because a lot of RPC requests are done to the node and, if one of them fails, the whole process fails. This is retried later, with the same or more transactions, and it fails again, and so on. I will open an issue about this so that we can discuss possible solutions."},"comment":{"url":"https://api.github.com/repos/poanetwork/bridge-nodejs/issues/comments/412489422","html_url":"https://github.com/poanetwork/bridge-nodejs/pull/60#issuecomment-412489422","issue_url":"https://api.github.com/repos/poanetwork/bridge-nodejs/issues/60","id":412489422,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjQ4OTQyMg==","user":{"login":"akolotov","id":20793260,"node_id":"MDQ6VXNlcjIwNzkzMjYw","avatar_url":"https://avatars2.githubusercontent.com/u/20793260?v=4","gravatar_id":"","url":"https://api.github.com/users/akolotov","html_url":"https://github.com/akolotov","followers_url":"https://api.github.com/users/akolotov/followers","following_url":"https://api.github.com/users/akolotov/following{/other_user}","gists_url":"https://api.github.com/users/akolotov/gists{/gist_id}","starred_url":"https://api.github.com/users/akolotov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akolotov/subscriptions","organizations_url":"https://api.github.com/users/akolotov/orgs","repos_url":"https://api.github.com/users/akolotov/repos","events_url":"https://api.github.com/users/akolotov/events{/privacy}","received_events_url":"https://api.github.com/users/akolotov/received_events","type":"User","site_admin":false},"created_at":"2018-08-13T11:35:57Z","updated_at":"2018-08-13T11:35:57Z","author_association":"CONTRIBUTOR","body":"> If you are asking about the number of blocks, then I don't have a good measure since I used parity with instant seal as the foreign chain, so there's just one block per sent transaction.\r\n\r\nOk. I see. Could you use Sokol as Foreign network for this test?"}}
{"actor":{"display_login":"akolotov"}}