网格计算Compute Grids

 

 上页

Compute Grids产品

  • Platform
  • DataSynapse
  • Google MapReduce
  • Hadoop
  • GigaSpaces
  • GridGain

 

Parallel execution并行执行的两种方式

  • 分而治之Divide and conquer

  1. 将功能切分成独立的任务
  2. 并行同时执行这些任务
  3. 合并返回结果

  • MapReduce - Master/Worker Hadoop的算法

 

Compute Grids网格计算几种方式

  • Automatic provisioning自动校正预防
  • Load balancing 负载平衡
  • Fail-over 失败恢复
  • Topology resolution

Load balancing 负载平衡策略

  • Random allocation 随机分配
  • Round robin allocation 随机轮回分配
  • Weighted allocation
  • Dynamic load balancing 动态负载平衡:
  • • Least connections
  • • Least server CPU

Load balancing 负载平衡类型

  • DNS Round Robin (最简单)
  • • 向DNS要求解析 IP
  • • 每次获得的是一个新IP
  • • Reverse Proxy 反转代理(比较好)
  • • Hardware Load Balancing 硬件负载平衡

负载平衡产品

  • • Reverse Proxies反转代理的产品:

     • Apache mod_proxy (OSS)
     • HAProxy (OSS)
     • Squid (OSS)
     • Nginx (OSS)

  • • Hardware Load Balancers 硬件负载平衡器:

    • BIG-IP
    • Cisco

 

 


 

 

 

 

下页

集群专题

伸缩性scalable