Last active
August 29, 2015 14:03
-
-
Save fengmk2/41d75fbc2469a7eec322 to your computer and use it in GitHub Desktop.
How cnpmjs.org work
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@startuml | |
node "cnpmjs.org Cluster" { | |
[cnpm registry] | |
[cnpm web] | |
[cnpm sync worker] | |
} | |
node "original npm Cluster" { | |
[npm registry] | |
[npm web] -> [npm registry] | |
} | |
node "Developers" { | |
[npm cli] | |
[cnpm cli] | |
[browser] | |
} | |
database "cnpm MySQL" | |
[npm cli] -> [cnpm registry]: install,publish,view,author | |
[cnpm cli] -> [npm cli]: pipe | |
[cnpm cli] -> [cnpm registry]: sync,admin | |
[cnpm registry] -> [cnpm MySQL]: CRUD SQL | |
[cnpm web] -> [cnpm MySQL]: CRUD SQL | |
[cnpm web] -> [cnpm sync worker]: add sync tasks | |
[browser] -> [cnpm web]: view,search,sync | |
[cnpm sync worker] -> [npm registry]: Delta sync every 10 mins | |
@enduml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment