Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest commit

 

History

42 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages