Skip to content

Edge-Matrix-Core was born from and built to improve the maintainability and modularity of the existing version of Edge-Matrix-Computing

License

Notifications You must be signed in to change notification settings

EdgeMatrixChain/edge-matrix-core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Edge-Matrix-Core

Edge-Matrix-Core was born from and built to improve the maintainability and modularity of the existing version of Edge-Matrix-Computing

You can create a P2P network as shown below and connect the webapp to the edge of the network:

 +----------------+                 +----------------+                 +-----------------+              +-----------------+
 |                |                 |                |                 |                 |              |                 |
 |                | libp2p stream   |                | libp2p stream   |                 |    HTTP      |                 |
 |   Relay Node   <----------------->   Relay Node   <----------------->    Edge Node    <-------------->   Webapp SERVER |
 |                |   Discovery     |                | p2p Reservation |                 |              |                 |
 |  libp2p host   |                 |  libp2p host   |                 |   libp2p host   |              |   local host    |
 +------|---------+                 +-------|--------+                 +-----------------+              +-----------------+                   
    libp2p stream                     libp2p stream 
        |                                   |  
    Discovery                           Discovery
 +------|---------+                 +-------|--------+                 +-----------------+              +-----------------+
 |                |                 |                |                 |                 |              |                 |
 |                | libp2p stream   |                | libp2p stream   |                 |    HTTP      |                 |
 |   Relay Node   <----------------->   Relay Node   <----------------->    Edge Node    <-------------->   Webapp SERVER |
 |                |   Discovery     |                | p2p Reservation |                 |              |                 |
 |  libp2p host   |                 |  libp2p host   |                 |   libp2p host   |              |   local host    |
 +------|---------+                 +-------|--------+                 +-----------------+              +-----------------+                   
    libp2p stream                     libp2p stream 
        |                                   |  
    Discovery                           Discovery
 +------|---------+                 +-------|--------+                 +-----------------+              +-----------------+
 |                |                 |                |                 |                 |              |                 |
 |                | libp2p stream   |                | libp2p stream   |                 |    HTTP      |                 |
 |   Relay Node   <----------------->   Relay Node   <----------------->    Edge Node    <-------------->   Webapp SERVER |
 |                |   Discovery     |                | p2p Reservation |                 |              |                 |
 |  libp2p host   |                 |  libp2p host   |                 |   libp2p host   |              |   local host    |
 +------|---------+                 +-------|--------+                 +-----------------+              +-----------------+                   
    libp2p stream                     libp2p stream 
        |                                   |  
       ...                                 ...

Refer to the Edge-Matrix-Computing project for usage

License

MIT License

About

Edge-Matrix-Core was born from and built to improve the maintainability and modularity of the existing version of Edge-Matrix-Computing

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published