Autodesk 15606-011408-9330 User Guide - Page 57

Ma nts and Server Ranking, CGI Ma nt

Page 57 highlights

Autodesk MapGuide Viewer Autodesk MapGuide Server A request layers 1 & 3 request layers 2 & 4 request layers 5 & 6 process request Autodesk MapGuide Server B Autodesk MapGuide Server C process request return data process request return data draw layer 1 draw layers 2, 3, 4, 5, & 6 return data parallel process serial process Simultaneous request model MapAgents and Server Ranking When the ISAPI, NSAPI, or CGI MapAgents receive a request from a MapGuide client, they rank the available servers and select one to which they dispatch the request. If the chosen server is offline or invalid, the MapAgent tries the next server in the rank. CGI MapAgent Each Autodesk MapGuide client request invokes a separate instance of the CGI MapAgent that lasts only the duration of the request. Because of this, the CGI MapAgent cannot track the number of requests dispatched to each server. It randomly selects an available server for each request and then ranks all other servers based on their proximity to this server in the list that appears in the Window's registry. The CGI MapAgent distributes requests evenly among all available servers regardless of their current workload. Architecture and Performance | 57

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204

Architecture and Performance
|
57
Simultaneous request model
MapAgents and Server Ranking
When the ISAPI, NSAPI, or CGI MapAgents receive a request from a
MapGuide client, they rank the available servers and select one to which they
dispatch the request. If the chosen server is offline or invalid, the MapAgent
tries the next server in the rank.
CGI MapAgent
Each Autodesk MapGuide client request invokes a separate instance of the
CGI MapAgent that lasts only the duration of the request. Because of this, the
CGI MapAgent cannot track the number of requests dispatched to each
server. It randomly selects an available server for each request and then ranks
all other servers based on their proximity to this server in the list that appears
in the Window
s registry. The CGI MapAgent distributes requests evenly
among all available servers regardless of their current workload.
Autodesk
MapGuide
Server A
Autodesk
MapGuide
Server B
Autodesk
MapGuide
Server C
Autodesk
MapGuide
Viewer
request layers 1 & 3
request layers 2 & 4
request layers 5 & 6
return data
return data
return data
process
request
process
request
draw layer 1
draw layers
2, 3, 4, 5, & 6
serial process
parallel process
process
request