Skip to content

Instantly share code, notes, and snippets.

@yoshuawuyts
Created October 12, 2016 16:29
Show Gist options
  • Save yoshuawuyts/9b56b5590b6b366e28236c44083edd37 to your computer and use it in GitHub Desktop.
Save yoshuawuyts/9b56b5590b6b366e28236c44083edd37 to your computer and use it in GitHub Desktop.

dat architecture

  ┌─────────────┐     ┌─────────────┐    ┌─────────────┐     ┌─────────────┐
  │             │     │             │    │             │     │             │
  │   Website   │     │   Desktop   │    │ HTTP Server │     │     CLI     │
  │             │     │             │    │             │     │             │
  └─────────────┘     └─────────────┘    └─────────────┘     └─────────────┘
         ▲                   ▲                  ▲                   ▲       
         └───────────────────┴──────────┬───────┴───────────────────┘       
                                        │                                   
                             ┌────────────────────┐                         
                             │                    │                         
                             │       Dat-js       │                         
                             │                    │                         
                             └────────────────────┘                         
                                        ▲                                   
                                        │                                   
                                        │                                   
                                                                            
                      ┌──────────▶    "Dat"    ◀──────────┐                 
                      │                                   │                 
                      │                                   │                 
            ┌───────────────────┐               ┌───────────────────┐       
            │                   │               │                   │       
            │    Hyperdrive     │               │  Discovery swarm  │       
            │                   │               │                   │       
            └───────────────────┘               └───────────────────┘       
                      ▲                                                     
                      │                                                     
                                                                            
                   "Data"                                                   
                                                                            
                      ▲                                                     
                      │                                                     
          ┌──────────XOR ───────┐                                           
          │                     │                                           
          │                     │                                           
   ┌─────────────┐       ┌─────────────┐                                    
   │   LevelDB   │       │    SLEEP    │                                    
   │      +      │       │   Archive   │                                    
   │ Filesystem  │       │   Format    │                                    
   └─────────────┘       └─────────────┘                                    
@yoshuawuyts
Copy link
Author

3X HD PNG version

architecture

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment