Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

problem with Paul's transport layer ?

2 views
Skip to first unread message

Stéphane Thiers

unread,
Dec 27, 2002, 10:51:17 AM12/27/02
to
Hello,

I'm currently evaluating Paul Motyer's new transport layer on our project to see if it can imrove our server's performance.
So I replaced the classical LegacyTranport layer by a TSocket_Transport. No other tranport layer is active.
It worked good (servers discovery,connections, requests, etc.) except for one point:

I have an extender in my server whose "notify" function contains this piece of code:

////////////////////////////////////////
aTransport:=TffBaseTransport.CurrentTransport; // aTransport is a TffBaseTransport
if Assigned(aTransport) then
for inCntConnection:=0 to pred(aTransport.ConnectionCount)do
aTransport.Post(0,aTransport.ConnectionIDs[inCntConnection],loMessageType,
@Request,sizeOf(TffnmMessagingText),1000,ffrmNoReplyExpected);
/////////////////////////////////////

It causes problem because aTransport.ConnectionIDs[inCntConnection] = 0, which is not a valid connection ID.

Am I doing something wrong?
Is there a real problem?


Thank you.

ST.


Paul Motyer [TPX]

unread,
Dec 27, 2002, 12:36:41 PM12/27/02
to
"Stéphane Thiers" wrote

> I have an extender in my server whose "notify" function contains
this piece of code:

> It causes problem because aTransport.ConnectionIDs[inCntConnection]
= 0, which is not a valid connection ID.

Thanks for the report. I don't use extenders - instead I sub-class
TffServerEngine.

It's a bug. The ConnectionIDs property is incorrectly calculated - I
won't go into the embarassing detail

I've fixed it here - and will upload a new version in the next day or
so. The new version will also correct some client side multi-threading
issues in the SharedMem Transport

--
,-._|\ Paul Motyer [TPX]
/ Oz \ SoftStuff P/L
\_,--._/ [paul.motyer at tpx.turbopower dot com]
v [ http://members.optushome.com.au/paulmotyer ]


Paul Motyer [TPX]

unread,
Jan 3, 2003, 6:50:39 AM1/3/03
to
"Stéphane Thiers" wrote

> For the moment, the new transport layer seems good

<G>

> but I still need to do some
> quantitave tests on our project which is under developpement.

OK

> Anyway, do you have an idea about the date
> when the product is available ?

Well, there are complications. There are at least 4 Transports - and
other goodies as well. And they are targeted to FF3 - which is not yet
released. FF3 is a thing of beauty!

They may be released independently - or TPS might acquire them. These
things are still undecided

In the interim, I'm about to post a new version. If the D4 compiler
will stop complaining I could post sooner!

Eivind Bakkestuen [TPX]

unread,
Jan 3, 2003, 7:20:26 AM1/3/03
to
D4 is best when quietly buried without a tombstone... IMHO...

--

Eivind Bakkestuen [TPX]

Please, no private email unless requested.
This newsgroup is searchable at http://www.tamaracka.com
Visit TurboPower's new Foundry at http://community.turbopower.com


"Paul Motyer [TPX]" <nos...@no.spam.com> wrote in message
news:IMCQg5xs...@tpsmail01.turbopower.net...

Stéphane Thiers

unread,
Jan 3, 2003, 4:45:54 AM1/3/03
to
Hi Paul,

Thanks for the answer.

For the moment, the new transport layer seems good, but I still need to do some


quantitave tests on our project which is under developpement.

Anyway, do you have an idea about the date when the product is available ?
At what conditions (price, code, licence) ?
We could be interested by it.


ST.


"Paul Motyer [TPX]" <nos...@no.spam.com> a écrit dans le message news: iXHKG6cr...@tpsmail01.turbopower.net...

0 new messages