Difference between revisions of "Networking"

From Internet Computer Wiki
Jump to: navigation, search
Line 1: Line 1:
== Networking designs ==
 
  
  
 
== 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. The [[Bitcoin integration]]
+
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>
 +
The main replica process uses [https://docs.rs/tonic/latest/tonic/transport/index.html gRPC] for communicating with the adapters via Unix domain sockets.
 
   
 
   
 
=== Preventing server overload ===
 
  
 +
=== Rust ===
  
=== Rust async ===
+
==== Crates ====
 +
[https://docs.rs/tokio/latest/tokio/ tokio], [https://docs.rs/tower/latest/tower/ tower], [[hyperhttps://docs.rs/hyper/latest/hyper/|hyper]], [https://docs.rs/tonic/latest/tonic/ tonic]

Revision as of 08:25, 28 October 2022


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.
The main replica process uses gRPC for communicating with the adapters via Unix domain sockets.


Rust

Crates

tokio, tower, hyper, tonic