Difference between revisions of "Networking"

From Internet Computer Wiki
Jump to: navigation, search
Line 2: Line 2:
  
 
== Networking adapters ==
 
== Networking adapters ==
Networking adapters are processes on the ReplicaOS that run next to the main replica process. The adapters are used for outgoing calls to the internet. [[Bitcoin integration]] and [[HTTPS outcalls]] features have their own dedicated adapters. <br>
+
Networking adapters are processes on the ReplicaOS that run next to the main replica process. The adapters are used for outgoing calls to the internet. [[Bitcoin integration]] and [[HTTPS outcalls]] features use networking adapters. <br>
The main replica process uses [https://docs.rs/tonic/latest/tonic/transport/index.html gRPC] for communicating with the adapters via Unix domain sockets.  
+
The main replica process uses [https://docs.rs/tonic/latest/tonic/transport/index.html gRPC] for communicating with the co-located adapters via Unix domain sockets.  
 
   
 
   
  

Revision as of 09:33, 28 October 2022

The page contains technical content relevant for the scope of the networking team.

Networking adapters

Networking adapters are processes on the ReplicaOS that run next to the main replica process. The adapters are used for outgoing calls to the internet. Bitcoin integration and HTTPS outcalls features use networking adapters.
The main replica process uses gRPC for communicating with the co-located adapters via Unix domain sockets.


Rust

Crates

tokio, tower, hyper, tonic