Re[3]: Remoting число одновременно создаваемых объектов
От: _Ivn_  
Дата: 10.03.05 07:06
Оценка:
Здравствуйте, TK, Вы писали:

TK>Hello, "AndrewVK"

>>
>> А>На сервере одновременно может создаваться только два объекта
>>
>> Если клиенты находятся в одном процессе, а канал на клиенте Http, то:
>>

clientConnectionLimit An integer indicating how many connections can be simultaneously opened to a given server. The default is 2.


TK>Наверное, даже в одном AppDomain


Пардон, что не написал ник в первом сообщении "аноним" это я.
Да для одного с мсдне написан четко
"HTTP/1.1 recommends that any one client can only have up to two connections to a single server. Therefore, when using the HTTP protocol for communication (as in remoting with the HTTPChannel and ASP.NET), it only opens 2 connections by default at any given time to a given server, while the TCP channel opens as many connections as there are threads making requests to the server. For simulating multiple clients sending simultaneous requests to the remote object, we changed the default of 2 to 100 connections to the server per client using the client's configuration file:

When doing remoting with the HTTP channel—use the clientConnectionLimit attribute in the client's .config file:
"

Но в том то и дело, что не в одном домене, каждый клиент это отдельный процесс. Вчера нарыл что подобные траблы бывают когда в пуле потоков приложения сервера кончаются свобдные потоки, тогда очередной клиент ставится в очередь, пока не освободится поток, да но у меня только два ремот-объекта создается, причем в пуле потоков полно, проверял.

Еще в мсдне есть такая реплика:
clientConnectionLimit: specifies how many connections can be simultaneously opened to a given server. The default is 2. This is exactly the same as the connection limit on ServicePoint in the net classes.
Может быть дело в ServicePoint? Есть мнения?
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.