| Yah eBPF is not on the Mac for sure. And hence this does not look a suitable solution in your case
But the principle remains to identify a supported user space kernel space communication method for your client. And plumb this into your grpc client in user space. Thanks Basem, your feedback is helpful. This would be on the client side, and we would need to support Windows and macOS. While Windows has eBPF support (work-in-progress), I cannot find anything for macOS. On Thursday, July 27, 2023 at 12:21:57 PM UTC-4 Basem Barakat wrote:
The gRPC framework like most frameworks is user space based
Assuming a Linux like os, so to relay rpcs from/to kernel the communication need to go through a user space.
Not sure on which side is kernel: client or server ? But the principle remains the same:
User space and kernel applications could communicate in many ways: Ioctl is once simple way:
And depending on the type of communication eBPF could be more suitable ?
The advantage of eBPF is already present in Linux kernel and not kernel modification is required, you will need to learn it as it has its own language but c like compilers and tool kit are available
Basem, would you mind expanding on your recommendation, "running in user space but using something like eBPF to read and relay..."?
On Tuesday, July 25, 2023 at 9:52:10 AM UTC-4 smita deshpande wrote:
Hello,
I read about eBPF. However, if there is any sample example in grpc which is relaying the kernel commands would really help me understand. I want to know if there is any feature is available in grpc or a plugin that I could use to relay the kernel commands. Is there a delegation mechanism to userspace (where the gRCP client would be rooted) that could generate the client-side stubs, so we wouldn't have to write and maintain them manually?
Thanks, Smita On Thursday, July 13, 2023 at 7:29:43 PM UTC-4 Basem Barakat wrote:
I will probably recommend running in user space but use something like eBPF to read and relay your kernel grpc commands
--
You received this message because you are subscribed to the Google Groups " grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
--
You received this message because you are subscribed to the Google Groups "grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/546f5ff2-d6d3-4a93-bc6f-80c2fe3cae89n%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/2E68D514-FE44-48CD-9DA6-F1841D7417FA%40gmail.com.
|