You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the kona-host binary shells out to invoke the kona-client binary, rather than executing it in-process. This was done towards the beginning in order to test the kona-preimage API natively in a similar way that the FPVMs use, but there are a few problems:
The kona-host implementation therefore has to keep the pipe files for the client program alive, in order to guarantee that the pipe remains open for the duration of the asynchronous child process' lifetime.
Instead of doing this, we should change kona-host up so that kona-client runs natively within the process. This will remove the need for the NativeIO entirely in kona-common, and then we can split kona-common into client program utilities and FPVM-specific logic. This should remove the need to solve #553.
The text was updated successfully, but these errors were encountered:
@clabby few questions here as I'm trying to understand how kona works:
First am I thinking correctly about kona that there are 2 ways to run kona-host: as part of FPVM, or natively on hardware (which has goal to produce an rust implementation of op-node)?
Then the goal of this issue is to make the second native hardware mode (is that what the "Online" providers are for?) faster?
Overview
Currently, the
kona-host
binary shells out to invoke thekona-client
binary, rather than executing it in-process. This was done towards the beginning in order to test thekona-preimage
API natively in a similar way that the FPVMs use, but there are a few problems:BasicKernelInterface::write
&BasicKernelInterface::read
interfaces take an ownedFileDescriptor
, which is inflexible for a few reasons:NativeIO
implementation, we have to take aFileDescriptor
type, which is bad for reasons described in feat(common): Improve native IO API #553.kona-host
implementation therefore has to keep the pipe files for the client program alive, in order to guarantee that the pipe remains open for the duration of the asynchronous child process' lifetime.Instead of doing this, we should change
kona-host
up so thatkona-client
runs natively within the process. This will remove the need for theNativeIO
entirely inkona-common
, and then we can splitkona-common
into client program utilities and FPVM-specific logic. This should remove the need to solve #553.The text was updated successfully, but these errors were encountered: