处理负载平衡 [英] Handling Load Balancing

查看:94
本文介绍了处理负载平衡的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

伙计,



我是实施AppFabric的新手,我有一些基本问题..

我们正在使用"SQL Server "作为缓存提供者



$
1)缓存数据存储在本地系统(或)sql-server中b $ b

2)我们有负载balenced网络,有2个dedidcated wcf服务器,所以我如何使用app fabric处理这个场景

             

             (a)我可以使用相同的"缓存端口"吗?如果我选择"加入群集",则安装app fabric时,两个服务器中的号码就够了..如果没有,我怎么能处理应用程序结构代码..



b
请指导我...

Guys,

Im new in Implementing AppFabric, i have a few basic questions..
we are using "SQL Server " as cache provider


1) where the cache data gets stored in the local system (or) sql- server

2) we are having load balenced networks, there are 2 dedidcated wcf servers so how can i handle the scenario with app fabric
            
             (a) Can i have the same "Cache Port" number in the two servers, while installing app fabric if i select the "Join Cluster" is that enough.. if not how can i handle the app fabric code..


pls guide me in this..

推荐答案

嗨Kumar,

Hi Kumar,

你是使用SQL Server作为配置存储,它有两个目的:

Is you are using SQL Server as a config store, it will serve two purposes:

1)用作配置存储(这是存储缓存集群配置的地方)

1) Serve as a config store (this is where the configuration of the cache cluster is stored)

2)担任集群管理器。它将管理集群,帮助新主机加入等等。

2) Serve as a Cluster Manager. It will manage the cluster, help new hosts to join, etc.

它不会保存缓存数据。所有缓存数据都存储在缓存主机的内存中。

It will not hold the cache data. All cache data is stored in memory of the cache host.

对于第二个问题,如果我理解正确,那么你有两个具有相同缓存端口的缓存主机将是精细。是的,因为虽然它们是相同的缓存端口"22233",但它们是相同的缓存端口。例如,它们位于两个不同的服务器上。

For your second question, if I understand you correctly, that you have 2 cache hosts that have a the same Cache ports will that be fine. Yes, because although they are the Same Cache Port "22233" for example, they are on two different servers.

安装并配置第一个缓存节点后,您所要做的就是"加入群集"。所有后续节点。

Once you have installed the and configured the first cache node, all you should have to do is "join Cluster" for all the subsequent nodes.


这篇关于处理负载平衡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆