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. |