diff --git a/docs/e-commerce-website-detail-page-architecture.md b/docs/e-commerce-website-detail-page-architecture.md index a98a60d..a32fd9f 100644 --- a/docs/e-commerce-website-detail-page-architecture.md +++ b/docs/e-commerce-website-detail-page-architecture.md @@ -3,7 +3,7 @@ ### 小型电商网站的商品详情页系统架构 小型电商网站的页面展示采用页面全量静态化的思想。数据库中存放了所有的商品信息,页面静态化系统,将数据填充进静态模板中,形成静态化页面,推入 Nginx 服务器。用户浏览网站页面时,取用一个已经静态化好的 html 页面,直接返回回去,不涉及任何的业务逻辑处理。 -![e-commerce-website-detail-page-architecture-1](/docs/img/e-commerce-website-detail-page-architecture-1.png) +![e-commerce-website-detail-page-architecture-1](/img/e-commerce-website-detail-page-architecture-1.png) - 好处:用户每次浏览一个页面,不需要进行任何的跟数据库的交互逻辑,也不需要执行任何的代码,直接返回一个 html 页面就可以了,速度和性能非常高。 - 坏处:仅仅适用于一些小型的网站,比如页面的规模在几十到几万不等。对于一些大型的电商网站,亿级数量的页面,你说你每次页面模板修改了,都需要将这么多页面全量静态化,靠谱吗? @@ -13,7 +13,7 @@ 用户浏览网页时,动态将 Nginx 本地数据渲染到本地 html 模板并返回给用户。 -![e-commerce-website-detail-page-architecture-2](/docs/img/e-commerce-website-detail-page-architecture-2.png) +![e-commerce-website-detail-page-architecture-2](/img/e-commerce-website-detail-page-architecture-2.png) 虽然没有直接返回 html 页面那么快,但是因为数据在本地缓存,所以也很快,其实耗费的也就是动态渲染一个 html 页面的性能。如果 html 模板发生了变更,不需要将所有的页面重新静态化,直接将数据渲染进最新的 html 页面模板后响应即可。 \ No newline at end of file diff --git a/docs/img/async-replication-data-lose-case.png b/docs/img/async-replication-data-lose-case.png deleted file mode 100644 index 0e57d0f..0000000 Binary files a/docs/img/async-replication-data-lose-case.png and /dev/null differ diff --git a/docs/img/consistent-hashing-algorithm.png b/docs/img/consistent-hashing-algorithm.png deleted file mode 100644 index 6c8165b..0000000 Binary files a/docs/img/consistent-hashing-algorithm.png and /dev/null differ diff --git a/docs/img/database-shard-method-1.png b/docs/img/database-shard-method-1.png deleted file mode 100644 index 0cdb910..0000000 Binary files a/docs/img/database-shard-method-1.png and /dev/null differ diff --git a/docs/img/database-shard-method-2.png b/docs/img/database-shard-method-2.png deleted file mode 100644 index bd3e9c9..0000000 Binary files a/docs/img/database-shard-method-2.png and /dev/null differ diff --git a/docs/img/database-split-horizon.png b/docs/img/database-split-horizon.png deleted file mode 100644 index 9f13eb8..0000000 Binary files a/docs/img/database-split-horizon.png and /dev/null differ diff --git a/docs/img/database-split-vertically.png b/docs/img/database-split-vertically.png deleted file mode 100644 index 2135732..0000000 Binary files a/docs/img/database-split-vertically.png and /dev/null differ diff --git a/docs/img/distributed-system-request-sequence.png b/docs/img/distributed-system-request-sequence.png deleted file mode 100644 index a71c34f..0000000 Binary files a/docs/img/distributed-system-request-sequence.png and /dev/null differ diff --git a/docs/img/distributed-transaction-TCC.png b/docs/img/distributed-transaction-TCC.png deleted file mode 100644 index d8b6424..0000000 Binary files a/docs/img/distributed-transaction-TCC.png and /dev/null differ diff --git a/docs/img/distributed-transaction-XA.png b/docs/img/distributed-transaction-XA.png deleted file mode 100644 index 8d6e105..0000000 Binary files a/docs/img/distributed-transaction-XA.png and /dev/null differ diff --git a/docs/img/distributed-transaction-local-message-table.png b/docs/img/distributed-transaction-local-message-table.png deleted file mode 100644 index 597e5d1..0000000 Binary files a/docs/img/distributed-transaction-local-message-table.png and /dev/null differ diff --git a/docs/img/distributed-transaction-reliable-message.png b/docs/img/distributed-transaction-reliable-message.png deleted file mode 100644 index 7c8c2c7..0000000 Binary files a/docs/img/distributed-transaction-reliable-message.png and /dev/null differ diff --git a/docs/img/dubbo-operating-principle.png b/docs/img/dubbo-operating-principle.png deleted file mode 100644 index 2be41e1..0000000 Binary files a/docs/img/dubbo-operating-principle.png and /dev/null differ diff --git a/docs/img/dubbo-service-invoke-road.png b/docs/img/dubbo-service-invoke-road.png deleted file mode 100644 index 99060ae..0000000 Binary files a/docs/img/dubbo-service-invoke-road.png and /dev/null differ diff --git a/docs/img/dubbo-spi.png b/docs/img/dubbo-spi.png deleted file mode 100644 index 5c78eb9..0000000 Binary files a/docs/img/dubbo-spi.png and /dev/null differ diff --git a/docs/img/e-commerce-website-detail-page-architecture-1.png b/docs/img/e-commerce-website-detail-page-architecture-1.png deleted file mode 100644 index 0c7715e..0000000 Binary files a/docs/img/e-commerce-website-detail-page-architecture-1.png and /dev/null differ diff --git a/docs/img/e-commerce-website-detail-page-architecture-2.png b/docs/img/e-commerce-website-detail-page-architecture-2.png deleted file mode 100644 index c952b0c..0000000 Binary files a/docs/img/e-commerce-website-detail-page-architecture-2.png and /dev/null differ diff --git a/docs/img/es-cluster-0.png b/docs/img/es-cluster-0.png deleted file mode 100644 index 88cdbae..0000000 Binary files a/docs/img/es-cluster-0.png and /dev/null differ diff --git a/docs/img/es-cluster.png b/docs/img/es-cluster.png deleted file mode 100644 index e1cc3b3..0000000 Binary files a/docs/img/es-cluster.png and /dev/null differ diff --git a/docs/img/es-index-type-mapping-document-field.png b/docs/img/es-index-type-mapping-document-field.png deleted file mode 100644 index e591063..0000000 Binary files a/docs/img/es-index-type-mapping-document-field.png and /dev/null differ diff --git a/docs/img/es-search-process.png b/docs/img/es-search-process.png deleted file mode 100644 index cab0652..0000000 Binary files a/docs/img/es-search-process.png and /dev/null differ diff --git a/docs/img/es-write-detail.png b/docs/img/es-write-detail.png deleted file mode 100644 index fd57ba8..0000000 Binary files a/docs/img/es-write-detail.png and /dev/null differ diff --git a/docs/img/es-write.png b/docs/img/es-write.png deleted file mode 100644 index 9cffdd9..0000000 Binary files a/docs/img/es-write.png and /dev/null differ diff --git a/docs/img/hash-slot.png b/docs/img/hash-slot.png deleted file mode 100644 index 810dcc1..0000000 Binary files a/docs/img/hash-slot.png and /dev/null differ diff --git a/docs/img/hash.png b/docs/img/hash.png deleted file mode 100644 index a9265e1..0000000 Binary files a/docs/img/hash.png and /dev/null differ diff --git a/docs/img/high-concurrency-system-design.png b/docs/img/high-concurrency-system-design.png deleted file mode 100644 index ca906dc..0000000 Binary files a/docs/img/high-concurrency-system-design.png and /dev/null differ diff --git a/docs/img/kafka-order-1.png b/docs/img/kafka-order-1.png deleted file mode 100644 index 90165e2..0000000 Binary files a/docs/img/kafka-order-1.png and /dev/null differ diff --git a/docs/img/kafka-order-2.png b/docs/img/kafka-order-2.png deleted file mode 100644 index 83a0b80..0000000 Binary files a/docs/img/kafka-order-2.png and /dev/null differ diff --git a/docs/img/mq-1.png b/docs/img/mq-1.png deleted file mode 100644 index a94f01e..0000000 Binary files a/docs/img/mq-1.png and /dev/null differ diff --git a/docs/img/mq-10.png b/docs/img/mq-10.png deleted file mode 100644 index 25aabf0..0000000 Binary files a/docs/img/mq-10.png and /dev/null differ diff --git a/docs/img/mq-11.png b/docs/img/mq-11.png deleted file mode 100644 index fdea99d..0000000 Binary files a/docs/img/mq-11.png and /dev/null differ diff --git a/docs/img/mq-2.png b/docs/img/mq-2.png deleted file mode 100644 index 1307bf0..0000000 Binary files a/docs/img/mq-2.png and /dev/null differ diff --git a/docs/img/mq-3.png b/docs/img/mq-3.png deleted file mode 100644 index 730a4d2..0000000 Binary files a/docs/img/mq-3.png and /dev/null differ diff --git a/docs/img/mq-4.png b/docs/img/mq-4.png deleted file mode 100644 index ec8d19b..0000000 Binary files a/docs/img/mq-4.png and /dev/null differ diff --git a/docs/img/mq-5.png b/docs/img/mq-5.png deleted file mode 100644 index c1fb950..0000000 Binary files a/docs/img/mq-5.png and /dev/null differ diff --git a/docs/img/mq-6.png b/docs/img/mq-6.png deleted file mode 100644 index c91224f..0000000 Binary files a/docs/img/mq-6.png and /dev/null differ diff --git a/docs/img/mq-7.png b/docs/img/mq-7.png deleted file mode 100644 index 232f846..0000000 Binary files a/docs/img/mq-7.png and /dev/null differ diff --git a/docs/img/mq-8.png b/docs/img/mq-8.png deleted file mode 100644 index 7e71479..0000000 Binary files a/docs/img/mq-8.png and /dev/null differ diff --git a/docs/img/mq-9.png b/docs/img/mq-9.png deleted file mode 100644 index 477edb1..0000000 Binary files a/docs/img/mq-9.png and /dev/null differ diff --git a/docs/img/mysql-master-slave.png b/docs/img/mysql-master-slave.png deleted file mode 100644 index 5859632..0000000 Binary files a/docs/img/mysql-master-slave.png and /dev/null differ diff --git a/docs/img/rabbitmq-message-lose-solution.png b/docs/img/rabbitmq-message-lose-solution.png deleted file mode 100644 index f04b457..0000000 Binary files a/docs/img/rabbitmq-message-lose-solution.png and /dev/null differ diff --git a/docs/img/rabbitmq-message-lose.png b/docs/img/rabbitmq-message-lose.png deleted file mode 100644 index fb19b47..0000000 Binary files a/docs/img/rabbitmq-message-lose.png and /dev/null differ diff --git a/docs/img/rabbitmq-order-1.png b/docs/img/rabbitmq-order-1.png deleted file mode 100644 index 7c7901d..0000000 Binary files a/docs/img/rabbitmq-order-1.png and /dev/null differ diff --git a/docs/img/rabbitmq-order-2.png b/docs/img/rabbitmq-order-2.png deleted file mode 100644 index 5919446..0000000 Binary files a/docs/img/rabbitmq-order-2.png and /dev/null differ diff --git a/docs/img/redis-caching-avalanche-solution.png b/docs/img/redis-caching-avalanche-solution.png deleted file mode 100644 index 992d33a..0000000 Binary files a/docs/img/redis-caching-avalanche-solution.png and /dev/null differ diff --git a/docs/img/redis-caching-avalanche.png b/docs/img/redis-caching-avalanche.png deleted file mode 100644 index 54016aa..0000000 Binary files a/docs/img/redis-caching-avalanche.png and /dev/null differ diff --git a/docs/img/redis-caching-penetration.png b/docs/img/redis-caching-penetration.png deleted file mode 100644 index ecd509b..0000000 Binary files a/docs/img/redis-caching-penetration.png and /dev/null differ diff --git a/docs/img/redis-cluster-split-brain.png b/docs/img/redis-cluster-split-brain.png deleted file mode 100644 index b19d0db..0000000 Binary files a/docs/img/redis-cluster-split-brain.png and /dev/null differ diff --git a/docs/img/redis-gossip.png b/docs/img/redis-gossip.png deleted file mode 100644 index d48271d..0000000 Binary files a/docs/img/redis-gossip.png and /dev/null differ diff --git a/docs/img/redis-junior-inconsistent.png b/docs/img/redis-junior-inconsistent.png deleted file mode 100644 index d8df1cd..0000000 Binary files a/docs/img/redis-junior-inconsistent.png and /dev/null differ diff --git a/docs/img/redis-master-slave-replication-detail.png b/docs/img/redis-master-slave-replication-detail.png deleted file mode 100644 index d2820ca..0000000 Binary files a/docs/img/redis-master-slave-replication-detail.png and /dev/null differ diff --git a/docs/img/redis-master-slave-replication.png b/docs/img/redis-master-slave-replication.png deleted file mode 100644 index e6fd90b..0000000 Binary files a/docs/img/redis-master-slave-replication.png and /dev/null differ diff --git a/docs/img/redis-master-slave.png b/docs/img/redis-master-slave.png deleted file mode 100644 index 200d7aa..0000000 Binary files a/docs/img/redis-master-slave.png and /dev/null differ diff --git a/docs/img/redis-redlock.png b/docs/img/redis-redlock.png deleted file mode 100644 index fee9316..0000000 Binary files a/docs/img/redis-redlock.png and /dev/null differ diff --git a/docs/img/redis-single-thread-model.png b/docs/img/redis-single-thread-model.png deleted file mode 100644 index d8e5850..0000000 Binary files a/docs/img/redis-single-thread-model.png and /dev/null differ diff --git a/docs/img/service-invoke-road.png b/docs/img/service-invoke-road.png deleted file mode 100644 index 46b9c83..0000000 Binary files a/docs/img/service-invoke-road.png and /dev/null differ diff --git a/docs/img/simple-distributed-system-oa.png b/docs/img/simple-distributed-system-oa.png deleted file mode 100644 index 1b9f35b..0000000 Binary files a/docs/img/simple-distributed-system-oa.png and /dev/null differ diff --git a/docs/img/zookeeper-active-standby.png b/docs/img/zookeeper-active-standby.png deleted file mode 100644 index 24cb53b..0000000 Binary files a/docs/img/zookeeper-active-standby.png and /dev/null differ diff --git a/docs/img/zookeeper-centralized-storage.png b/docs/img/zookeeper-centralized-storage.png deleted file mode 100644 index 73616d0..0000000 Binary files a/docs/img/zookeeper-centralized-storage.png and /dev/null differ diff --git a/docs/img/zookeeper-distributed-coordination.png b/docs/img/zookeeper-distributed-coordination.png deleted file mode 100644 index d482bfc..0000000 Binary files a/docs/img/zookeeper-distributed-coordination.png and /dev/null differ diff --git a/docs/img/zookeeper-distributed-lock-demo.png b/docs/img/zookeeper-distributed-lock-demo.png deleted file mode 100644 index 5924eea..0000000 Binary files a/docs/img/zookeeper-distributed-lock-demo.png and /dev/null differ diff --git a/docs/img/zookeeper-distributed-lock.png b/docs/img/zookeeper-distributed-lock.png deleted file mode 100644 index ab2fe3f..0000000 Binary files a/docs/img/zookeeper-distributed-lock.png and /dev/null differ diff --git a/docs/img/zookeeper-meta-data-manage.png b/docs/img/zookeeper-meta-data-manage.png deleted file mode 100644 index 9973042..0000000 Binary files a/docs/img/zookeeper-meta-data-manage.png and /dev/null differ