Skip to content

Conversation

@jjyr
Copy link
Collaborator

@jjyr jjyr commented Dec 31, 2025

Fiber actors send rpc to Ckb chain through CkbChainActor, which provides a singular interface, but also causes all read/write Rpc calls becomes non-concurrent and single thread. This caused other actors who depends on CkbChainActors are blocked to wait their actor call.

To solve this Issue, we move GetTx, GetCells, GetBlockTimestamp, GetShutdownTx these read Rpc calls to a new CkbChainClient interface(it is not a actor), and change fiber actors to read from the CkbChainClient instead of the CkbChainActor.

@jjyr jjyr force-pushed the handle-check-channel-performance branch from 264d777 to a72634b Compare December 31, 2025 08:11
@jjyr jjyr requested a review from chenyukang December 31, 2025 08:11
@jjyr jjyr force-pushed the handle-check-channel-performance branch from a72634b to 4ace983 Compare December 31, 2025 08:28
@jjyr jjyr force-pushed the handle-check-channel-performance branch from 4ace983 to c95ed5a Compare December 31, 2025 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants