CREDITSCOM / node

Credits Node is the main module that provide an opportunity to run a node and participate in CREDITS blockchain network.
https://developers.credits.com/
GNU Affero General Public License v3.0
151 stars 16 forks source link

One minute between these 2 blocks #1

Closed botstorm closed 5 years ago

botstorm commented 5 years ago

we finished test and chain is slow. here is some log with no transactions over network [2019-05-15 23:33:37.023910] [0x00007f14af928700] [debug] Normal: nothing to do with transactions packet in this state [2019-05-15 23:33:37.023925] [0x00007f14af928700] [debug] TRANSPORT> POSTPHONED finished, round 2398489 [2019-05-15 23:34:22.480128] [0x00007f14af928700] [debug] TRANSPORT> Got SS Last Block: 2398488 [2019-05-15 23:34:26.502397] [0x00007f14af928700] [warning] ----------------------------------------------------------- [2019-05-15 23:34:26.502491] [0x00007f14af928700] [warning] NODE> BigBang #2398489: last written #2398488, current #2398489 [2019-05-15 23:34:26.502546] [0x00007f14af928700] [warning] -----------------------------------------------------------

here one minute between these 2 blocks

kondrashovsv commented 5 years ago

I also have image

micmac0 commented 5 years ago

I also have image

About this graph here are test conditions we had : 3 nodes configured to receive each less than 300tps. These 3 nodes were configured to participate in consensus. (delay set to 3ms between each trx and we need to count connexion cost from client to node) That s why we clearly see some level when we added removed nodes. Around 8h20 we started to see some delay. When some nodes in network can t manage to deal with too much load, blocks start to have round number of transactions such as 800 1000 2000 4000 or number like that. When all is ok number are much more random like 478 832 ...

ghost commented 5 years ago

During the last 2 weeks, after updating the client this error could not be reproduced.