Advanced loadbalancing demo
---------------------------
Require kbmMW v2.5x ProPlus or Enterprise to compile.
This demo contains two projects:
1) The AutoRegisteringLoadBalancer which is a loadbalancer
that doesnt have a fixed knowledge about application servers.
Instead the (clustered) application servers announce themself
to the loadbalancer.
The most important properties and settings are made in code,
to make it easier to spot them.
2) The ClusteredServer which is a standard application server
with a registered inventory and query service.
In addition, it has a loadbalancer service which makes it possible
for the learning autoregisteringloadbalancer to contact the
application server to get to know about its status and health.
To run:
Default the loadbalancer is configured to listen on port 3010,
and the clustered application server to listen on port 3000.
However, as most demo client applications will connect to port 3000,
and their first connection for this demo, should be the loadbalancer
instead of an application server, you should specify to start
the loadbalancer at port 3000 before clicking the listen button.
You can start any number of clustered application servers up,
just make sure, if they are started as the same machine as any other
server incl. the loadbalancer, to give them a unique port number,
and to point them to the right IP/port for the loadbalancer.
The loadbalancer is configured to use the Round Robin allocation
algorithm, which means that each time a client connects to the
loadbalancer, the client will be redirected to the next available
application server in line.
I.e. 1st client connection will get to cluster server 1,
2nd client connection will get to cluster server 2, etc.
For the client to autoreconnect when the application server its
using is disappearing/crashing/shutting down, the client should
be configured with a MaxRetries of no less than 2, and MaxAltRetries
of no less than 1. In the OnReconnect event of the client transport,
there should be put code to setup the client transport to point at
a loadbalancer when the Alt argument is true (ie. an alternative reconnect
try is about to happen).
The default demo client applications dont have this coded in.
For more information, please read the 'Failover and loadbalancing' whitepaper.
best regards
Kim Madsen
kbm@components4developers.com
没有合适的资源?快使用搜索试试~ 我知道了~
KbmMw 3.21 Full Source
共1008个文件
dfm:236个
pas:209个
bmp:100个
3星 · 超过75%的资源 需积分: 9 71 下载量 52 浏览量
2010-07-13
16:36:09
上传
评论
收藏 6.67MB RAR 举报
温馨提示
源码版,不是官方下的试用版(D7和D2010) 但没有KbmMemTable 6.0以上版本,经测试5.52-5.6间的KbmMemTable不适用,下载前请确认有6.0以上的KbmMemTable,否则下了也不能安装
资源推荐
资源详情
资源评论
收起资源包目录
KbmMw 3.21 Full Source (1008个子文件)
.actionScriptProperties 2KB
.actionScriptProperties 1KB
.actionScriptProperties 889B
kbmMWDatasetStreamer.as 31KB
VCLReader.as 13KB
kbmMWDateTimeInput.as 10KB
kbmMWBmpReader.as 10KB
VCLSupport.as 10KB
VCLWriter.as 8KB
kbmMWDateUtils.as 7KB
kbmMWDataGridUtils.as 5KB
kbmMWFieldDef.as 5KB
kbmMWQuery.as 4KB
kbmMWConnection.as 4KB
kbmMWCheckBoxInput.as 3KB
kbmMWDataset.as 2KB
kbmMWFields.as 2KB
kbmMWEvent.as 1KB
testserver.as 1KB
kbmMWFieldDefs.as 1KB
kbmMWRequestHeader.as 1KB
kbmMWResponseHeader.as 1KB
kbmMWRow.as 1006B
kbmMWNumberInput.as 932B
kbmMWBorderlessSkin.as 864B
kbmMWField.as 861B
kbmMWResponseBody.as 848B
kbmMWResponse.as 838B
kbmMWRequestBody.as 807B
kbmMWRequest.as 796B
kbmMWParameter.as 788B
Test.as 133B
build.bat 98B
debug.bat 44B
events.blb 642KB
venues.blb 425KB
TkbmMWPooledFileClient.bmp 406B
TkbmMWBestFitLoadBalancer.bmp 406B
TkbmMWPooledInventoryClient.bmp 406B
TkbmMWTemporarySequencer.bmp 406B
TkbmMWUDPSynapseMessagingClientTransport.bmp 406B
TkbmMWSsSSHMessagingClientTransport.bmp 406B
TkbmMWClientTransactionResolver.bmp 406B
TkbmMWBDEResolver.bmp 406B
TkbmMWInventoryClient.bmp 406B
TkbmMWCustomLoadBalancer.bmp 406B
TkbmMWUDPSynapseMessagingServerTransport.bmp 406B
TkbmMWUDPIndyMessagingClientTransport.bmp 406B
TkbmMWEventCrypt.bmp 406B
TkbmMWLocalStat.bmp 406B
TkbmMWSsTLSTransportPlugin.bmp 406B
TkbmMWCustomPooledStoredProc.bmp 406B
TkbmMWMessageAction.bmp 406B
TkbmMWLoadBalancedServerAnnouncement.bmp 406B
TkbmMWFilePool.bmp 406B
TkbmMWMTQuery.bmp 406B
TkbmMWSimpleClient.bmp 406B
TkbmMWPooledSimpleClient.bmp 406B
TkbmMWXConnectionPool.bmp 406B
TkbmMWDBXQuery.bmp 406B
TkbmMWISAPIClientTransport.bmp 406B
TkbmMWCustomFileClient.bmp 406B
TkbmMWADOXQuery.bmp 406B
TkbmMWTCPIPDXSockClientTransport.bmp 406B
TkbmMWTCPIPDXSockServerTransport.bmp 406B
TkbmMWBDEStoredProc.bmp 406B
TkbmMWBDEQuery.bmp 406B
TkbmMWCustomClient.bmp 406B
TkbmMWSsSSHMessagingServerTransport.bmp 406B
TkbmMWXResolver.bmp 406B
TkbmMWDBXStoredProc.bmp 406B
TkbmMWCustomNamedMessageQueueManager.bmp 406B
TkbmMWPooledSession.bmp 406B
TkbmMWCustomSequencer.bmp 406B
TkbmMWClientStoredProc.bmp 406B
TkbmMWADOXResolver.bmp 406B
TkbmMWFileClient.bmp 406B
TkbmMWMTConnectionPool.bmp 406B
TkbmMWRoundRobinLoadBalancer.bmp 406B
TkbmMWClientBriefCaseBinaryStreamFormat.bmp 406B
TkbmMWDBXConnectionPool.bmp 406B
TkbmMWRandomLoadBalancer.bmp 406B
TkbmMWCustomResolver.bmp 406B
TkbmMWTCPIPIndyServerTransport.bmp 406B
TkbmMWTCPIPIndyClientTransport.bmp 406B
TkbmMWCustomService.bmp 406B
TkbmMWNamedMemoryMessageQueueManager.bmp 406B
TkbmMWCustomStreamFormat.bmp 406B
TkbmMWCustomMessageAction.bmp 406B
TkbmMWGenericSQLMetaData.bmp 406B
TkbmMWClientQuery.bmp 406B
TDAkbmMWDatabase.bmp 406B
TkbmMWApolloMetaData.bmp 406B
TkbmMWOracleMetaData.bmp 406B
TkbmMWLocalClientTransport.bmp 406B
TkbmMWFileStoreMessageQueue.bmp 406B
TkbmMWBinaryStreamFormat.bmp 406B
TkbmMWCustomPooledQuery.bmp 406B
TkbmMWTCPIPSynapseClientTransport.bmp 406B
TkbmMWMTResolver.bmp 406B
共 1008 条
- 1
- 2
- 3
- 4
- 5
- 6
- 11
资源评论
- tanjianchengcc2012-09-10把kbmMemRunD7Pro改成kbmMemRunD7Std就可以正常使用了,还不错
- qq151772012-04-03我已经安装了本站下载的KbmMemTable 6.3,但是还是提示缺少kbmMemRunD7Pro,装不上
- b023fc2014-08-21装不上,提示缺少东西kbmMemRunD7Pro
7030
- 粉丝: 6
- 资源: 14
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功