| View previous topic :: View next topic |
| Author |
Message |
Thomas Wegner Guest
|
Posted: Sat Nov 13, 2004 2:04 am Post subject: Indy 10 HTTPServer very slow |
|
|
Hello, i use since 1 year TIdHTTPServer in many Applications.
With Indy9 it run fast and stable and on my Testside i have access
time between 1-2ms. With Indy10 i have temporary access time
from 700-900ms! My Request/min go from 18000 down to 1200!
---------------------------------------------
Thomas Wegner
Cabrio Meter - The Weather Plugin for Trillian
http://trillian.wegner24.de/cabriometer
|
|
| Back to top |
|
 |
Thomas Wegner Guest
|
Posted: Sun Nov 14, 2004 7:41 pm Post subject: Re: Indy 10 HTTPServer very slow |
|
|
Are there any changes, that i not see? Must i
add any Handler, that i not know? Why it was
so slow? Any help?
I see that every 10-20 request has a big timeout!
---------------------------------------------
Thomas Wegner
Cabrio Meter - The Weather Plugin for Trillian
http://www.wegner24.de
"Thomas Wegner" <tomaten (AT) t-online (DOT) de> schrieb im Newsbeitrag
news:41956bd2 (AT) newsgroups (DOT) borland.com...
| Quote: | Hello, i use since 1 year TIdHTTPServer in many Applications.
With Indy9 it run fast and stable and on my Testside i have access
time between 1-2ms. With Indy10 i have temporary access time
from 700-900ms! My Request/min go from 18000 down to 1200!
---------------------------------------------
Thomas Wegner
Cabrio Meter - The Weather Plugin for Trillian
http://trillian.wegner24.de/cabriometer
|
|
|
| Back to top |
|
 |
Thomas Wegner Guest
|
Posted: Thu Nov 18, 2004 3:31 pm Post subject: Re: Indy 10 HTTPServer very slow |
|
|
Does no interest in this problem exist? From this side one can see
beautiful, what I mean:
http://www.wegner24.de/index.php?module=ContentExpress&func=print&ceid=11
This server runs with Indy 10 and before with Indy 9 without problems.
---------------------------------------------
Thomas Wegner
Cabrio Meter - The Weather Plugin for Trillian
http://www.wegner24.de
"Thomas Wegner" <tomaten (AT) t-online (DOT) de> schrieb im Newsbeitrag
news:41956bd2 (AT) newsgroups (DOT) borland.com...
| Quote: | Hello, i use since 1 year TIdHTTPServer in many Applications.
With Indy9 it run fast and stable and on my Testside i have access
time between 1-2ms. With Indy10 i have temporary access time
from 700-900ms! My Request/min go from 18000 down to 1200!
---------------------------------------------
Thomas Wegner
Cabrio Meter - The Weather Plugin for Trillian
http://trillian.wegner24.de/cabriometer
|
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Thu Nov 18, 2004 6:24 pm Post subject: Re: Indy 10 HTTPServer very slow |
|
|
"Thomas Wegner" <tomaten (AT) t-online (DOT) de> wrote
| Quote: | Are there any changes, that i not see?
|
Yes. Indy's entire internal architecture was changed in Indy 10.
| Quote: | Must i add any Handler, that i not know?
|
No.
| Quote: | Why it was so slow?
|
My guess would be all the extra overhead involved thanks to the DotNET
support. Streams have to be wrapped, so there is redirection overhead
there. Raw bytes have to be wrapped into byte arrays, so there is
allocation and copying overhead there.
Gambit
|
|
| Back to top |
|
 |
Thomas Wegner Guest
|
Posted: Thu Nov 18, 2004 6:32 pm Post subject: Re: Indy 10 HTTPServer very slow |
|
|
But the problem is, Indy 10 was not general slower then Indy9.
It was a temporary problem on x-th request. I think this is a
real bug. Lock at my testsite. Ok, you are not local, but i hope
you can see the stops during load the 350 test icons.
---------------------------------------------
Thomas Wegner
Cabrio Meter - The Weather Plugin for Trillian
http://www.wegner24.de
"Remy Lebeau (TeamB)" <no.spam (AT) no (DOT) spam.com> schrieb im Newsbeitrag
news:419ce86a$1 (AT) newsgroups (DOT) borland.com...
| Quote: |
"Thomas Wegner" <tomaten (AT) t-online (DOT) de> wrote in message
news:4197b4f0$1 (AT) newsgroups (DOT) borland.com...
Are there any changes, that i not see?
Yes. Indy's entire internal architecture was changed in Indy 10.
Must i add any Handler, that i not know?
No.
Why it was so slow?
My guess would be all the extra overhead involved thanks to the DotNET
support. Streams have to be wrapped, so there is redirection overhead
there. Raw bytes have to be wrapped into byte arrays, so there is
allocation and copying overhead there.
Gambit
|
|
|
| Back to top |
|
 |
Chad Z. Hower aka Kudzu Guest
|
Posted: Fri Nov 26, 2004 1:41 pm Post subject: Re: Indy 10 HTTPServer very slow |
|
|
"Thomas Wegner" <tomaten (AT) t-online (DOT) de> wrote in news:41956bd2
@newsgroups.borland.com:
| Quote: | Hello, i use since 1 year TIdHTTPServer in many Applications.
With Indy9 it run fast and stable and on my Testside i have access
time between 1-2ms. With Indy10 i have temporary access time
from 700-900ms! My Request/min go from 18000 down to 1200!
|
Check all of your code closely. We have many production servers running Indy
10 and have not seen such behavioru.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"
Need extra help with an Indy problem?
http://www.atozed.com/indy/experts/
|
|
| Back to top |
|
 |
Chad Z. Hower aka Kudzu Guest
|
Posted: Fri Nov 26, 2004 1:42 pm Post subject: Re: Indy 10 HTTPServer very slow |
|
|
"Remy Lebeau (TeamB)" <no.spam (AT) no (DOT) spam.com> wrote in news:419ce86a$1
@newsgroups.borland.com:
| Quote: | My guess would be all the extra overhead involved thanks to the DotNET
support. Streams have to be wrapped, so there is redirection overhead
there. Raw bytes have to be wrapped into byte arrays, so there is
allocation and copying overhead there.
|
Its not that. The overhead is pretty minimal, esp given teh numbers he's
posting.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"
Qualified help FAST with Indy Experts Support
from the experts themselves:
http://www.atozed.com/indy/experts/support.iwp
|
|
| Back to top |
|
 |
Thomas Wegner Guest
|
Posted: Sat Nov 27, 2004 12:27 am Post subject: Re: Indy 10 HTTPServer very slow |
|
|
I will check this. I have the problem since Indy 10
but with a minimal Testserver the problems are not exists.
---------------------------------------------
Thomas Wegner
Cabrio Meter - The Weather Plugin for Trillian
http://www.wegner24.de
"Chad Z. Hower aka Kudzu" <cpub (AT) hower (DOT) org> schrieb im Newsbeitrag
news:Xns95AD587A62FFAcpub (AT) 127 (DOT) 0.0.1...
| Quote: | "Thomas Wegner" <tomaten (AT) t-online (DOT) de> wrote in news:41956bd2
@newsgroups.borland.com:
Hello, i use since 1 year TIdHTTPServer in many Applications.
With Indy9 it run fast and stable and on my Testside i have access
time between 1-2ms. With Indy10 i have temporary access time
from 700-900ms! My Request/min go from 18000 down to 1200!
Check all of your code closely. We have many production servers running
Indy
10 and have not seen such behavioru.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"
Need extra help with an Indy problem?
http://www.atozed.com/indy/experts/
|
|
|
| Back to top |
|
 |
Thomas Wegner Guest
|
Posted: Sat Nov 27, 2004 1:29 am Post subject: Re: Indy 10 HTTPServer very slow |
|
|
Ok, i found it. Note: never use nxReplacementMemoryManager
with Indy 10!
---------------------------------------------
Thomas Wegner
Cabrio Meter - The Weather Plugin for Trillian
http://www.wegner24.de
"Chad Z. Hower aka Kudzu" <cpub (AT) hower (DOT) org> schrieb im Newsbeitrag
news:Xns95AD587A62FFAcpub (AT) 127 (DOT) 0.0.1...
| Quote: | "Thomas Wegner" <tomaten (AT) t-online (DOT) de> wrote in news:41956bd2
@newsgroups.borland.com:
Hello, i use since 1 year TIdHTTPServer in many Applications.
With Indy9 it run fast and stable and on my Testside i have access
time between 1-2ms. With Indy10 i have temporary access time
from 700-900ms! My Request/min go from 18000 down to 1200!
Check all of your code closely. We have many production servers running
Indy
10 and have not seen such behavioru.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"
Need extra help with an Indy problem?
http://www.atozed.com/indy/experts/
|
|
|
| Back to top |
|
 |
Don Siders Guest
|
Posted: Sat Nov 27, 2004 5:53 am Post subject: Re: Indy 10 HTTPServer very slow |
|
|
| Quote: | Ok, i found it. Note: never use nxReplacementMemoryManager
with Indy 10!
|
And why exactly do you say that?
|
|
| Back to top |
|
 |
Thomas Wegner Guest
|
Posted: Sat Nov 27, 2004 2:01 pm Post subject: Re: Indy 10 HTTPServer very slow |
|
|
This has the effect, that i describe. Very slow Server.
I delete the unit in uses and all run fine and very fast,
without any delays and so on.
---------------------------------------------
Thomas Wegner
Cabrio Meter - The Weather Plugin for Trillian
http://www.wegner24.de
"Don Siders" <mudshark (AT) rancidbud (DOT) org> schrieb im Newsbeitrag
news:41a8164a$1 (AT) newsgroups (DOT) borland.com...
| Quote: | Ok, i found it. Note: never use nxReplacementMemoryManager
with Indy 10!
|
And why exactly do you say that?
|
|
| Back to top |
|
 |
Thomas Wegner Guest
|
Posted: Sat Nov 27, 2004 8:45 pm Post subject: Re: Indy 10 HTTPServer very slow |
|
|
Look at this:
with nxReplacementMemoryManager, for example (only a short part):
Page Summary
Page Hits TTFB Avg TTLB Avg Auth
Query
================================================================================
GET /index.htm 19 261.95 278.95 No No
GET /index-Dateien/8.gif 19 825.16 825.95 No No
GET /index-Dateien/9.gif 19 294.00 294.89 No No
GET /index-Dateien/16.gif 19 5.63 7.16 No No
GET /index-Dateien/17.gif 19 6.11 7.26 No No
GET /index-Dateien/18.gif 19 5.74 6.79 No No
GET /index-Dateien/19.gif 19 5.42 6.58 No No
GET /index-Dateien/25.gif 18 6.11 7.56 No No
GET /index-Dateien/26.gif 18 273.94 275.17 No No
GET /index-Dateien/27.gif 18 6.00 7.17 No No
GET /index-Dateien/28.gif 18 313.78 314.89 No No
GET /index-Dateien/29.gif 18 6.72 7.72 No No
GET /index-Dateien/30.gif 18 8.83 10.11 No No
GET /index-Dateien/31.gif 18 5.83 6.94 No No
GET /index-Dateien/32.gif 18 8.06 9.22 No No
GET /index-Dateien/33.gif 18 5.17 6.50 No No
GET /index-Dateien/44.gif 18 4.94 6.22 No No
GET /index-Dateien/2.gif 18 5.28 6.33 No No
GET /index-Dateien/0.gif 18 7.11 8.17 No No
GET /index-Dateien/45.gif 18 6.17 7.39 No No
GET /index-Dateien/46.gif 18 593.56 594.28 No No
GET /index-Dateien/47.gif 18 6.44 7.33 No No
without nxReplacementMemoryManager:
Page Summary
Page Hits TTFB Avg TTLB Avg Auth
Query
================================================================================
GET /index-Dateien/40(1).gif 18 5.83 6.72 No No
GET /index-Dateien/33(1).gif 18 6.06 7.33 No No
GET /index-Dateien/35(1).gif 18 5.56 6.94 No No
GET /index-Dateien/36(1).gif 18 5.67 7.28 No No
GET /index-Dateien/34(1).gif 18 5.61 6.72 No No
GET /index-Dateien/37(1).gif 18 5.50 6.67 No No
GET /index-Dateien/32(1).gif 18 5.44 6.72 No No
GET /index-Dateien/39(1).gif 18 7.61 8.67 No No
GET /index-Dateien/26(1).gif 18 5.78 7.17 No No
GET /index-Dateien/2.gif 18 5.72 6.94 No No
GET /index-Dateien/41(1).gif 18 5.89 6.78 No No
GET /index-Dateien/42(1).gif 18 5.72 7.06 No No
GET /index-Dateien/38(1).gif 18 6.17 7.78 No No
GET /index-Dateien/22(1).gif 18 6.39 7.39 No No
GET /index-Dateien/19(2).gif 18 7.33 8.39 No No
I append my Testserver with content.
---------------------------------------------
Thomas Wegner
Cabrio Meter - The Weather Plugin for Trillian
http://www.wegner24.de
"Don Siders" <mudshark (AT) rancidbud (DOT) org> schrieb im Newsbeitrag
news:41a8164a$1 (AT) newsgroups (DOT) borland.com...
| Quote: | Ok, i found it. Note: never use nxReplacementMemoryManager
with Indy 10!
|
And why exactly do you say that?
|
|
| Back to top |
|
 |
Chad Z. Hower aka Kudzu Guest
|
Posted: Sun Nov 28, 2004 8:23 pm Post subject: Re: Indy 10 HTTPServer very slow |
|
|
"Thomas Wegner" <tomaten (AT) t-online (DOT) de> wrote in
news:41a8e79e (AT) newsgroups (DOT) borland.com:
| Quote: | with nxReplacementMemoryManager, for example (only a short part):
|
nx is the nexus one? Have you reported this to them? Normally the Nexus MM
increases throughput quite a bit.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"
Want to keep up to date with Indy?
Join Indy News - it free!
http://www.atozed.com/indy/news/
|
|
| Back to top |
|
 |
Thomas Wegner Guest
|
Posted: Sun Nov 28, 2004 8:48 pm Post subject: Re: Indy 10 HTTPServer very slow |
|
|
| Quote: | nx is the nexus one? Have you reported this to them?
|
No, i not reported that. The problem will be, that they
say "this is Indy problem", and so on ...! With Indy 9 it
work fine!
| Quote: | Normally the Nexus MM increases throughput quite a bit.
|
Yes, that why it was in my Server. No it run fine without it.
---------------------------------------------
Thomas Wegner
Cabrio Meter - The Weather Plugin for Trillian
http://www.wegner24.de
"Chad Z. Hower aka Kudzu" <cpub (AT) hower (DOT) org> schrieb im Newsbeitrag
news:Xns95AF9C9199E87cpub (AT) 127 (DOT) 0.0.1...
| Quote: | "Thomas Wegner" <tomaten (AT) t-online (DOT) de> wrote in
news:41a8e79e (AT) newsgroups (DOT) borland.com:
with nxReplacementMemoryManager, for example (only a short part):
nx is the nexus one? Have you reported this to them? Normally the Nexus MM
increases throughput quite a bit.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"
Want to keep up to date with Indy?
Join Indy News - it free!
http://www.atozed.com/indy/news/
|
|
|
| Back to top |
|
 |
Hannes Danzl[NDD] Guest
|
Posted: Mon Nov 29, 2004 8:14 pm Post subject: Re: Indy 10 HTTPServer very slow |
|
|
| Quote: | No, i not reported that. The problem will be, that they
say "this is Indy problem", and so on ...! With Indy 9 it
work fine!
|
Thomas, I don't want to flame here, but don't you think it's a bit
unfair to say "never use this" in a public forum AND then telling
people that you've not reported it AND that we will answer "it's not
our fault" anyways. you're welcome to visit our support forums or chat
server and find out on your own that our support is very good, some
people say it's second to none.
anyways, for the record: if someone finds oddities with our products or
find they don't perform to their expectations please give us a chance
to look at it. As with every software there might be bugs, there might
be ways to use it that we've not anticipated, there might be situations
where it simply is not up to it's promises. But we then would like to
know if possible so that we can make it work.
We've the usual support options and you can chat to all our developers
directly too. Please take a look here:
http://www.nexusdb.com/index.asp?id=33
Thanks!
--
Hannes Danzl [NexusDB Developer]
Newsgroup archive at http://www.tamaracka.com/search.htm
|
|
| Back to top |
|
 |
|