BlockBeats news, on March 8th, Lei Yang, co-founder of MegaETH, posted on social media that yesterday's RPC crash event exposed an interesting edge case. Debugging the RPC method call resulted in the server allocating a large amount of memory for the ultra-long string, ultimately leading to memory exhaustion. The MegaETH team decided to build their own RPC stack in order to apply multiple optimizations on the RPC stack to improve performance. In terms of performance, the effect is very good, but the cost is that the team needs to handle the operation and maintenance of the infrastructure on their own. It is expected that more crash cases will occur in the future, and more post-incident analysis reports will be released, hoping that these reports will spark interesting discussions. They encourage everyone to provide more edge cases for testing now, rather than encountering problems months later.
Voir l'original
Cette page peut inclure du contenu de tiers fourni à des fins d'information uniquement. Gate ne garantit ni l'exactitude ni la validité de ces contenus, n’endosse pas les opinions exprimées, et ne fournit aucun conseil financier ou professionnel à travers ces informations. Voir la section Avertissement pour plus de détails.
MegaETH a décidé de construire sa propre pile RPC, et des pannes sont prévues pendant la période de test.
BlockBeats news, on March 8th, Lei Yang, co-founder of MegaETH, posted on social media that yesterday's RPC crash event exposed an interesting edge case. Debugging the RPC method call resulted in the server allocating a large amount of memory for the ultra-long string, ultimately leading to memory exhaustion. The MegaETH team decided to build their own RPC stack in order to apply multiple optimizations on the RPC stack to improve performance. In terms of performance, the effect is very good, but the cost is that the team needs to handle the operation and maintenance of the infrastructure on their own. It is expected that more crash cases will occur in the future, and more post-incident analysis reports will be released, hoping that these reports will spark interesting discussions. They encourage everyone to provide more edge cases for testing now, rather than encountering problems months later.