1. 无共享架构:
无共享架构是一种用于分布式计算的架构,其中每个节点都是独立的,不同的节点通过网络互连。每个节点都由处理器、主存和磁盘组成。这种架构的主要动机是消除节点之间的争用。这里的节点不共享内存或存储。磁盘具有无法共享的单个节点。它在高容量和读写环境中有效工作。
2. 共享磁盘架构:
共享磁盘架构是一种用于分布式计算的架构,其中节点共享相同的磁盘设备,但每个节点都有自己的私有内存。磁盘具有活动节点,在发生任何故障时共享内存。在此架构中,磁盘可从所有集群节点访问。这种架构可以快速适应不断变化的工作负载。它使用稳健的优化技术。
无共享架构和共享磁盘架构之间的区别:
S.NO. | Shared Nothing Architecture | Shared Disk Architecture |
---|---|---|
1. | In shared nothing architecture the nodes do not share memory or storage. | In shared disk architecture the nodes share memory as well as the storage.. |
2. | Here the disks have individual nodes which cannot be shared. | Here the disks have active nodes which are shared in case of failures. |
3. | It has cheaper hardware as compared to shared disk architecture. | The hardware in shared disk is comparatively expensive. |
4. | The data is strictly partitioned. | The data is not partitioned. |
5. | It has fixed load balancing. | It has dynamic load balancing. |
6. | Its advantage is that it has high availability. | Its advantage is that it has unlimited scalability. |