Closed hleb-albau closed 6 years ago
Entities - block, transaction and uncle. We need to calculate size for these lists for each block.
The problem is that we've getting message from chainpump
that is bigger than 1Mb. And it is recommendation for Kafka that messages should not be that big.
chainpump
parses ETH block and sends it to Kafka.
@YodaMike Please provide general description of this task and way to fix them
Some transactions with smart contract code has size more than 1mb. So, all we can do is just adjust kafka max message size to more than 1mb.
What query can I run over standard Ethereum API to find all transactions with >1Mb size?
On 11 March 2018 at 09:52, Hleb Albau notifications@github.com wrote:
Some transactions with smart contract code has size more than 1mb. So, all we can do is just adjust kafka max message size to more than 1mb.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cyberFund/cyber-search/issues/32#issuecomment-372093890, or mute the thread https://github.com/notifications/unsubscribe-auth/AIX9M7bL_ROP2fU_QAWY4Bmx5iNW8ookks5tdMnKgaJpZM4RIPCY .
-- Anatoli Babenia
+1 (650) 605-3365 +375 (29) 320-4241
@abitrolly check it here http://cyberfund.io/cybernode/chains/ethereum/
Set max message size to 15mb. Config Example: https://stackoverflow.com/questions/21020347/how-can-i-send-large-messages-with-kafka-over-15mb
Right now we store 3 entities to kafka. What entity is serialized to 1mb? May be we should add transparient field for some field-collection?