You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(7) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
|
Feb
|
Mar
|
Apr
(14) |
May
(12) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(5) |
Nov
|
Dec
(2) |
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(4) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
From: Robert L. <ro...@le...> - 2003-04-24 00:42:25
|
Before I dive in (and possibly waste my time) - is it possible to run mod_pubsub (i.e. using the Perl PubSub server) on Apache2 on Windoze (specifically W2000)? Robert |
From: Robert L. <ro...@le...> - 2003-04-21 13:21:11
|
At 11:11 PM 21/04/2003, I wrote: >I have a few newbie questions about mod_pubsub I hope someone can answer: > >1. Why is kn_journal a *magic* topic? i.e. Why can you only subscribe to a >topic ending in kn_journal after adding a route between the *real* topic >and the *magic* kn_journal value? >2. How can I get do_max_age to work when using the Java client - the >server always sends all the events regardless of whether I set do_max_age >to 0 or not? >3. Does the python client work for anybody in a W2000/Python 2.2.2 >environment:? (see a previous email for the error I am getting) Forgot to mention that I am using the Python server... Robert |
From: Robert L. <ro...@le...> - 2003-04-21 13:11:13
|
I have a few newbie questions about mod_pubsub I hope someone can answer: 1. Why is kn_journal a *magic* topic? i.e. Why can you only subscribe to a topic ending in kn_journal after adding a route between the *real* topic and the *magic* kn_journal value? 2. How can I get do_max_age to work when using the Java client - the server always sends all the events regardless of whether I set do_max_age to 0 or not? 3. Does the python client work for anybody in a W2000/Python 2.2.2 environment:? (see a previous email for the error I am getting) Thanks Robert |
From: Kragen S. <kr...@po...> - 2003-04-18 14:03:35
|
Robert Leftwich writes: > At 04:58 PM 18/04/2003, I wrote: > >PS Note that a similar problem occurs when running chat.py as well > > Actually that is not true, I get an error as follows: > > Traceback (most recent call last): > File "E:\MOD_PU~1\PYTHON~1\apps\chat.py", line 98, in ChatClient > class stdin_channel (asyncore.file_dispatcher): > AttributeError: 'module' object has no attribute 'file_dispatcher' file_dispatcher only exists on POSIX operating systems, at least in Python 1.5.2 and 2.1.3. Windows users are SOL here. HTH. |
From: Robert L. <ro...@le...> - 2003-04-18 08:47:51
|
At 04:58 PM 18/04/2003, I wrote: >PS Note that a similar problem occurs when running chat.py as well Actually that is not true, I get an error as follows: Traceback (most recent call last): File "E:\MOD_PU~1\PYTHON~1\apps\chat.py", line 155, in ? if __name__ == "__main__": main(sys.argv) File "E:\MOD_PU~1\PYTHON~1\apps\chat.py", line 149, in main chat_client = chat(server_url, topic) File "E:\MOD_PU~1\PYTHON~1\apps\chat.py", line 66, in chat class ChatClient: File "E:\MOD_PU~1\PYTHON~1\apps\chat.py", line 98, in ChatClient class stdin_channel (asyncore.file_dispatcher): AttributeError: 'module' object has no attribute 'file_dispatcher' Robert |
From: Robert L. <ro...@le...> - 2003-04-18 06:58:37
|
I am attempting to run mod_pubsub's python client and cannot do so. My setup is w2000, Python 2.2.2, mod_pubsub 0.91. I run the python server and all the js/html apps seem to run correctly, but when I attempt to run the tests in pubsublib.py (using pubsublib.py http://localhost:8000/kn ) I get the following error: Traceback (most recent call last): File "pubsublib.py", line 918, in ? if __name__ == "__main__": main(sys.argv) File "pubsublib.py", line 911, in main test(url) File "pubsublib.py", line 878, in test sub.setRID(client.subscribe("/what/test", sub, {}, sub)) File "pubsublib.py", line 370, in subscribe self.enqueue(requestMessage, statushandler) File "pubsublib.py", line 239, in enqueue self._C_process() File "pubsublib.py", line 246, in _C_process self.connect() File "pubsublib.py", line 147, in connect self.startTunnel(message) File "pubsublib.py", line 577, in startTunnel self._ST_tunnel = ( File "pubsublib.py", line 813, in __init__ body = encodeFormUTF_8(message) File "pubsublib.py", line 795, in encodeFormUTF_8 for nameU, values in canonicalForm: ValueError: too many values to unpack What am I missing? Robert PS Note that a similar problem occurs when running chat.py as well |
From: Joyce P. <tru...@ya...> - 2003-04-03 23:29:13
|
--- Adam Rifkin <Ad...@Kn...> wrote: > Lucas wrote: > > No worries about the clarity, you can tell Joyce I said so. :) > > I believe she's on the list here. Just slumbering. ;) Present and accounted for, sir! I don't EXACTLY remember saying Adam was a less clear writer than he thinks he is... I'm sure I was quoted out of context. :-) > The Perl CGI supports on the order of a dozen connections and > on the order of a dozen messages per second. I respectfully submit that you'd be insane to count on this level of performance over time in production -- esp if you're talking about a dozen DIFFERENT connections per second, each getting just one event. Even the Apache version requires careful tuning to make it plausible for some jobs. > Running the Python server from a command line can increase the > number of connections even more. The Python server is by far the most efficient... but it's not connected to a Web server. I can't personally imagine wanting to administer one of these suckers under those circumstances... but then I'm no Python wizard. > > Regarding the live javascript connection... Brilliant! > > (though hacky... That's our motto! JP __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com |
From: Adam R. <Ad...@Kn...> - 2003-04-03 22:41:59
|
Lucas wrote: > No worries about the clarity, you can tell Joyce I said so. :) I believe she's on the list here. Just slumbering. ;) > I read in an earlier message that the Perl CGI won't scale very well. > Is this a because it is a Perl CGI, or because lots of open connections > use lots of server resources? Ah, depends on what you mean by "won't scale very well". The Perl CGI supports on the order of a dozen connections and on the order of a dozen messages per second. Good enough for many apps. But yes, the main reasons it gets O(10's) is because it's running as a CGI script, and because the server is keeping those open connections. > What can be done to increase scalability? Running the Perl scripts as an Apache module ups the number of connections to O(100) and the messages/second to O(100). Running the Python server from a command line can increase the number of connections even more. And, there's an experimental connection pooler (under the directory push_manager) for the Perl scripts to manage more connections and messages/second. > I have a friend who claims he is hosting 10s of thousands of > simultaneous open connections over HTTP for an online Flash game... Using just FlashMX or using a custom Server? > Would IIS have to use a module rather than a regular connection > because a regular connection can't keep itself open? I don't know enough about IIS to make a judgment call on this one. I was thinking a module would give IIS a way to plug in optimized code. > Regarding the live javascript connection... Brilliant! > (though hacky... I guess sometimes those go together) Around here, they go together like chocolate and peanut butter. Mmmm... Peanut butter... :) Adam -----Original Message----- From: Lucas W. Fletcher [mailto:lu...@de...]=20 Sent: Thursday, April 03, 2003 1:38 PM To: Adam Rifkin Cc: mod...@li... Subject: Re: General mod_pubsub questions Thank you for that. No worries about the clarity, you can tell Joyce I said so. :) I read in an earlier message that the Perl CGI won't scale very well. Is this a because it is a Perl CGI, or because lots of open connections use lots of server resources? What can be done to increase scalability? I have a friend who claims he is hosting 10s of thousands of simultaneous open connections over HTTP for an online Flash game... Would IIS have to use a module rather than a regular connection because a regular connection can't keep itself open? Regarding the live javascript connection... Brilliant! (though hacky... I guess sometimes those go together) Lucas ----- Original Message ----- From: "Adam Rifkin" <Ad...@Kn...> To: "Lucas W. Fletcher" <lu...@de...> Cc: <mod...@li...> Sent: Thursday, April 03, 2003 12:53 PM Subject: RE: General mod_pubsub questions Lucas wrote: > Sorry that it's come to this but I've looked everywhere for the answers > and I have come up short. No problem! We love to get questions. I hope I can answer them well -- Joyce says that I always *think* I write better than I actually do. If what I say isn't clear, please clarify the question and I will try again. > 1. I heard rumor that the browser client works without polling. (this is > what piqued my interest) It's true, the browser client works without polling. > If so, how does it do it without client-side installs? Does it stream a > javascript file or something? Close. The PubSub Server sends down some JavaScript to a hidden frame in the browser page. The JavaScript keeps the connection alive, and accepts incoming messages on the topics that have been subscribed to -- and then the browser page can do something with those messages as they stream in. > 2. Can I run the server on IIS? The claim is made that "scripts can be > used with other Web Servers as well." Does this mean the perl cgi? Yes. We eventually hope to support a native ISAPI module, but for the meantime you can run the Perl CGI scripts to give your IIS this functionality. Note that we don't have much experience running in this configuration so we'd love some feedback... > 3. The c++ stuff. Am I right to assume that this alone will not handle a > web client? Well, the C++ stuff can be compiled so that your Internet Explorer web client could use it with ActiveX controls through its COM interfaces. But you're right, the primary thing we use it for is to PubSub-enable Visual Basic and Visual C++ applications. Adam -----Original Message----- From: Lucas W. Fletcher [mailto:lu...@de...] Sent: Thursday, April 03, 2003 11:47 AM To: mod...@li... Subject: Re: [Mod-pubsub-general] Fw: problem linking dotnet version Thank you, I hope to... Sorry that it's come to this but I've looked everywhere for the answers and I have come up short. So I was wondering if one of you might take pity on me. I have some really basic questions: 1. I heard rumor that the browser client works without polling. (this is what piqued my interest) If so, how does it do it without client-side installs? Does it stream a javascript file or something? 2. Can I run the server on IIS? The claim is made that "scripts can be used with other Web Servers as well." Does this mean the perl cgi? 3. The c++ stuff. Am I right to assume that this alone will not handle a web client? Thanks again, Lucas Fletcher lu...@de... http://dealersinnotions.com |
From: Lucas W. F. <lu...@de...> - 2003-04-03 21:40:24
|
Thank you for that. No worries about the clarity, you can tell Joyce I said so. :) I read in an earlier message that the Perl CGI won't scale very well. Is this a because it is a Perl CGI, or because lots of open connections use lots of server resources? What can be done to increase scalability? I have a friend who claims he is hosting 10s of thousands of simultaneous open connections over HTTP for an online Flash game... Would IIS have to use a module rather than a regular connection because a regular connection can't keep itself open? Regarding the live javascript connection... Brilliant! (though hacky... I guess sometimes those go together) Lucas ----- Original Message ----- From: "Adam Rifkin" <Ad...@Kn...> To: "Lucas W. Fletcher" <lu...@de...> Cc: <mod...@li...> Sent: Thursday, April 03, 2003 12:53 PM Subject: RE: General mod_pubsub questions Lucas wrote: > Sorry that it's come to this but I've looked everywhere for the answers > and I have come up short. No problem! We love to get questions. I hope I can answer them well -- Joyce says that I always *think* I write better than I actually do. If what I say isn't clear, please clarify the question and I will try again. > 1. I heard rumor that the browser client works without polling. (this is > what piqued my interest) It's true, the browser client works without polling. > If so, how does it do it without client-side installs? Does it stream a > javascript file or something? Close. The PubSub Server sends down some JavaScript to a hidden frame in the browser page. The JavaScript keeps the connection alive, and accepts incoming messages on the topics that have been subscribed to -- and then the browser page can do something with those messages as they stream in. > 2. Can I run the server on IIS? The claim is made that "scripts can be > used with other Web Servers as well." Does this mean the perl cgi? Yes. We eventually hope to support a native ISAPI module, but for the meantime you can run the Perl CGI scripts to give your IIS this functionality. Note that we don't have much experience running in this configuration so we'd love some feedback... > 3. The c++ stuff. Am I right to assume that this alone will not handle a > web client? Well, the C++ stuff can be compiled so that your Internet Explorer web client could use it with ActiveX controls through its COM interfaces. But you're right, the primary thing we use it for is to PubSub-enable Visual Basic and Visual C++ applications. Adam -----Original Message----- From: Lucas W. Fletcher [mailto:lu...@de...] Sent: Thursday, April 03, 2003 11:47 AM To: mod...@li... Subject: Re: [Mod-pubsub-general] Fw: problem linking dotnet version Thank you, I hope to... Sorry that it's come to this but I've looked everywhere for the answers and I have come up short. So I was wondering if one of you might take pity on me. I have some really basic questions: 1. I heard rumor that the browser client works without polling. (this is what piqued my interest) If so, how does it do it without client-side installs? Does it stream a javascript file or something? 2. Can I run the server on IIS? The claim is made that "scripts can be used with other Web Servers as well." Does this mean the perl cgi? 3. The c++ stuff. Am I right to assume that this alone will not handle a web client? Thanks again, Lucas Fletcher lu...@de... http://dealersinnotions.com |
From: Adam R. <Ad...@Kn...> - 2003-04-03 20:58:51
|
Lucas wrote: > Sorry that it's come to this but I've looked everywhere for the answers > and I have come up short. No problem! We love to get questions. I hope I can answer them well -- Joyce says that I always *think* I write better than I actually do. If what I say isn't clear, please clarify the question and I will try again. > 1. I heard rumor that the browser client works without polling. (this is > what piqued my interest) It's true, the browser client works without polling. > If so, how does it do it without client-side installs? Does it stream a > javascript file or something? Close. The PubSub Server sends down some JavaScript to a hidden frame in the browser page. The JavaScript keeps the connection alive, and accepts incoming messages on the topics that have been subscribed to -- and then the browser page can do something with those messages as they stream in. > 2. Can I run the server on IIS? The claim is made that "scripts can be > used with other Web Servers as well." Does this mean the perl cgi? Yes. We eventually hope to support a native ISAPI module, but for the meantime you can run the Perl CGI scripts to give your IIS this functionality. Note that we don't have much experience running in this configuration so we'd love some feedback... > 3. The c++ stuff. Am I right to assume that this alone will not handle a > web client? Well, the C++ stuff can be compiled so that your Internet Explorer web client could use it with ActiveX controls through its COM interfaces. But you're right, the primary thing we use it for is to PubSub-enable Visual Basic and Visual C++ applications. Adam -----Original Message----- From: Lucas W. Fletcher [mailto:lu...@de...]=20 Sent: Thursday, April 03, 2003 11:47 AM To: mod...@li... Subject: Re: [Mod-pubsub-general] Fw: problem linking dotnet version Thank you, I hope to... Sorry that it's come to this but I've looked everywhere for the answers and I have come up short. So I was wondering if one of you might take pity on me. I have some really basic questions: 1. I heard rumor that the browser client works without polling. (this is what piqued my interest) If so, how does it do it without client-side installs? Does it stream a javascript file or something? 2. Can I run the server on IIS? The claim is made that "scripts can be used with other Web Servers as well." Does this mean the perl cgi? 3. The c++ stuff. Am I right to assume that this alone will not handle a web client? Thanks again, Lucas Fletcher lu...@de... http://dealersinnotions.com |
From: Lucas W. F. <lu...@de...> - 2003-04-03 19:49:59
|
Thank you, I hope to... Sorry that it's come to this but I've looked everywhere for the answers and I have come up short. So I was wondering if one of you might take pity on me. I have some really basic questions: 1. I heard rumor that the browser client works without polling. (this is what piqued my interest) If so, how does it do it without client-side installs? Does it stream a javascript file or something? 2. Can I run the server on IIS? The claim is made that "scripts can be used with other Web Servers as well." Does this mean the perl cgi? 3. The c++ stuff. Am I right to assume that this alone will not handle a web client? Thanks again, Lucas Fletcher lu...@de... http://dealersinnotions.com ----- Original Message ----- From: "Adam Rifkin" <Ad...@Kn...> To: "Lucas W. Fletcher" <lu...@de...> Cc: <mod...@li...> Sent: Wednesday, April 02, 2003 7:30 PM Subject: RE: [Mod-pubsub-general] Fw: problem linking dotnet version Welcome aboard, Lucas! Note also that there is also a developer list, mod...@li... : http://sourceforge.net/mailarchive/forum.php?forum_id=12984 Feel free to tell us your experiences with the (fairly new) Windows PubSub client library. Enjoy, Adam -----Original Message----- From: Lucas W. Fletcher [mailto:lu...@de...] Sent: Wednesday, April 02, 2003 7:11 PM To: mod...@li... Subject: [Mod-pubsub-general] Fw: problem linking dotnet version Nevermind, I figured it out. :) ----- Original Message ----- From: Lucas W. Fletcher To: mod...@li... Sent: Wednesday, April 02, 2003 6:30 PM Subject: problem linking dotnet version Hi, I just downloaded the latest version and tried to build the dotnet version but I got this error: LINK : fatal error LNK1104: cannot open file 'LIBKN10_7X86D.lib' I don't know much about C++ (I wanted to experiment in C#) so maybe someone can help me out. I'm using v1.1 of the dotnet framework... Thankya, Lucas Fletcher lu...@de... http://dealersinnotions.com ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Mod-pubsub-general mailing list Mod...@li... https://lists.sourceforge.net/lists/listinfo/mod-pubsub-general |
From: Adam R. <Ad...@Kn...> - 2003-04-03 03:36:48
|
Welcome aboard, Lucas! Note also that there is also a developer list, mod...@li... : http://sourceforge.net/mailarchive/forum.php?forum_id=3D12984 Feel free to tell us your experiences with the (fairly new) Windows PubSub client library. Enjoy, Adam -----Original Message----- From: Lucas W. Fletcher [mailto:lu...@de...] Sent: Wednesday, April 02, 2003 7:11 PM To: mod...@li... Subject: [Mod-pubsub-general] Fw: problem linking dotnet version Nevermind, I figured it out. :) ----- Original Message -----=20 From: Lucas W. Fletcher=20 To: mod...@li...=20 Sent: Wednesday, April 02, 2003 6:30 PM Subject: problem linking dotnet version Hi, I just downloaded the latest version and tried to build the dotnet = version but I got this error: LINK : fatal error LNK1104: cannot open file 'LIBKN10_7X86D.lib' I don't know much about C++ (I wanted to experiment in C#) so maybe = someone can help me out. I'm using v1.1 of the dotnet framework... Thankya, Lucas Fletcher lu...@de... http://dealersinnotions.com |
From: Lucas W. F. <lu...@de...> - 2003-04-03 03:14:17
|
Nevermind, I figured it out. :) ----- Original Message -----=20 From: Lucas W. Fletcher=20 To: mod...@li...=20 Sent: Wednesday, April 02, 2003 6:30 PM Subject: problem linking dotnet version Hi, I just downloaded the latest version and tried to build the dotnet = version but I got this error: LINK : fatal error LNK1104: cannot open file 'LIBKN10_7X86D.lib' I don't know much about C++ (I wanted to experiment in C#) so maybe = someone can help me out. I'm using v1.1 of the dotnet framework... Thankya, Lucas Fletcher lu...@de... http://dealersinnotions.com |
From: Lucas W. F. <lu...@de...> - 2003-04-03 02:33:46
|
Hi, I just downloaded the latest version and tried to build the dotnet = version but I got this error: LINK : fatal error LNK1104: cannot open file 'LIBKN10_7X86D.lib' I don't know much about C++ (I wanted to experiment in C#) so maybe = someone can help me out. I'm using v1.1 of the dotnet framework... Thankya, Lucas Fletcher lu...@de... http://dealersinnotions.com |
From: Adam R. <Ad...@Kn...> - 2002-12-14 22:56:55
|
Ok, here's my proposal: 1. mod-pubsub-developer is for anyone who is developing using = mod_pubsub or is a developer on the project. 2. mod-pubsub-general is for anyone who has a general interest and wants announcements and the occasional heads-up. So, mod-pubsub-developer is, in general, the high volume list, and mod-pubsub-general is, to developers, the low volume list. If that sounds like reasonable haiku to you, say nothing. :) ---- Ad...@Kn... Another idea for mod_pubsub: real-time updates over at Weblogs.com. From what I can tell, weblogs.com receives a ping when a weblog updates. It must store that info in a database or text file and then whenever the page loads, writes the list from that. Why not subscribe to its own pings and write them as they come in? Seems totally doable to me. = [09:31 AM]=20 -- = http://www.megnut.com/archive.asp?which=3D2002_12_01_archive.inc#002348 |
From: <kra...@ca...> - 2002-12-14 22:32:10
|
Adam writes: > I thought they were both public? You are, of course, correct; I don't know why I thought mod-pubsub-developer wasn't public. -- <kr...@po...> Kragen Sitaker <http://www.pobox.com/~kragen/> Edsger Wybe Dijkstra died in August of 2002. The world has lost a great man. See http://advogato.org/person/raph/diary.html?start=252 and http://www.kode-fu.com/geek/2002_08_04_archive.shtml for details. |
From: <kr...@po...> - 2002-12-14 21:52:04
|
Adam asks: > P.S. -- List management question: what's the difference between > mod-pubsub-general and mod-pubsub-developer? I had assumed that > mod-pubsub-general was for general discussion (that is, non-techie) and > mod-pubsub-developer was for technical discussions. Does this model of > list management need to be refined? mod-pubsub-general is public. -- <kr...@po...> Kragen Sitaker <http://www.pobox.com/~kragen/> Edsger Wybe Dijkstra died in August of 2002. The world has lost a great man. See http://advogato.org/person/raph/diary.html?start=252 and http://www.kode-fu.com/geek/2002_08_04_archive.shtml for details. |
From: Adam R. <Ad...@Kn...> - 2002-12-14 21:21:40
|
Kragen, nice work! This helps me lots. Now we just gotta figure out = how to get push_manager (was: "ruth") working again... Adam P.S. -- List management question: what's the difference between = mod-pubsub-general and mod-pubsub-developer? I had assumed that = mod-pubsub-general was for general discussion (that is, non-techie) and = mod-pubsub-developer was for technical discussions. Does this model of = list management need to be refined? -----Original Message----- From: Kragen Sitaker [mailto:kra...@ca...] Sent: Saturday, December 14, 2002 11:52 AM To: mod...@li... Subject: [Mod-pubsub-general] running mod-pubsub under mod_perl Here's what I had to do to get mod_pubsub working under mod_perl, which used to speed it up by about an order of magnitude. 1. install mod_perl 2. ensure it's loaded by Apache; in httpd.conf, something like: LoadModule perl_module /usr/lib/apache/1.3/mod_perl.so 3. ensure the kn_events dir is writable by the apache user; for me, this = was sudo chown -R www-data kn_events Joyce reports that making kn_events recursively world-writable seems = to work too, but I don't recommend that. Some Apache setups might have to loosen up their AllowOverride restrictions on .htaccess files to get things to work; as an alternative, you can put the relevant bits from cgi-bin/.htaccess (which handle *.cgi with Apache::Registry) into your httpd.conf. So on my 300MHz laptop, pubsub_test.cgi now finishes in 104 seconds; before, running as an actual CGI script, it took 278 seconds. This dramatically understates the speed improvement of pubsub.cgi, though; it sleeps for 49 of those seconds, so it spends 53 seconds instead of 229 seconds doing things other than sleeping. Not as big a speedup as I'd hoped. Another thing to note: with mod_perl, my CPU loads stayed relatively low, while running mod_pubsub as a CGI script, my CPU load stayed at 100%. The mail sensor and replay tests didn't work for me at first; I'd copied the cgi-bin dir into my public_html dir, but I hadn't copied the kn_sense directory, and those tests use programs in kn_sense. Oh, and if you run out of disk space (easy to do --- each run of pubsub_test.cgi chomps 11 megs on my ext3fs!) the test suite tends to hang. Dunno why that happens. In Mozilla, kn_apps/ping2 reports an average ping time of 766 ms, which seems outrageously horrible to me, and 13 Hz event throughput. Without mod_perl, I get an average ping time of 1909 ms and 14.7 Hz event throughput. Ben suggested that maybe Mozilla's inherent slowness was causing the slowdown, so I tried the test with Netscape 4.7. Talking to the same server (using mod_perl, of course) over 802.11b, it got 276ms and 38Hz. Still seems slow to me. We should probably fix Mozilla. Hope this helps someone. --=20 <kr...@po...> Kragen Sitaker = <http://www.pobox.com/~kragen/> Edsger Wybe Dijkstra died in August of 2002. The world has lost a great man. See http://advogato.org/person/raph/diary.html?start=3D252 and http://www.kode-fu.com/geek/2002_08_04_archive.shtml for details. ------------------------------------------------------- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility=20 Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ _______________________________________________ Mod-pubsub-general mailing list Mod...@li... https://lists.sourceforge.net/lists/listinfo/mod-pubsub-general |
From: <kra...@ca...> - 2002-12-14 19:53:23
|
Here's what I had to do to get mod_pubsub working under mod_perl, which used to speed it up by about an order of magnitude. 1. install mod_perl 2. ensure it's loaded by Apache; in httpd.conf, something like: LoadModule perl_module /usr/lib/apache/1.3/mod_perl.so 3. ensure the kn_events dir is writable by the apache user; for me, this was sudo chown -R www-data kn_events Joyce reports that making kn_events recursively world-writable seems to work too, but I don't recommend that. Some Apache setups might have to loosen up their AllowOverride restrictions on .htaccess files to get things to work; as an alternative, you can put the relevant bits from cgi-bin/.htaccess (which handle *.cgi with Apache::Registry) into your httpd.conf. So on my 300MHz laptop, pubsub_test.cgi now finishes in 104 seconds; before, running as an actual CGI script, it took 278 seconds. This dramatically understates the speed improvement of pubsub.cgi, though; it sleeps for 49 of those seconds, so it spends 53 seconds instead of 229 seconds doing things other than sleeping. Not as big a speedup as I'd hoped. Another thing to note: with mod_perl, my CPU loads stayed relatively low, while running mod_pubsub as a CGI script, my CPU load stayed at 100%. The mail sensor and replay tests didn't work for me at first; I'd copied the cgi-bin dir into my public_html dir, but I hadn't copied the kn_sense directory, and those tests use programs in kn_sense. Oh, and if you run out of disk space (easy to do --- each run of pubsub_test.cgi chomps 11 megs on my ext3fs!) the test suite tends to hang. Dunno why that happens. In Mozilla, kn_apps/ping2 reports an average ping time of 766 ms, which seems outrageously horrible to me, and 13 Hz event throughput. Without mod_perl, I get an average ping time of 1909 ms and 14.7 Hz event throughput. Ben suggested that maybe Mozilla's inherent slowness was causing the slowdown, so I tried the test with Netscape 4.7. Talking to the same server (using mod_perl, of course) over 802.11b, it got 276ms and 38Hz. Still seems slow to me. We should probably fix Mozilla. Hope this helps someone. -- <kr...@po...> Kragen Sitaker <http://www.pobox.com/~kragen/> Edsger Wybe Dijkstra died in August of 2002. The world has lost a great man. See http://advogato.org/person/raph/diary.html?start=252 and http://www.kode-fu.com/geek/2002_08_04_archive.shtml for details. |
From: <Phi...@ub...> - 2002-12-09 10:19:53
|
-----Original Message----- From: mod...@li... [mailto:mod...@li...] Sent: 07 December 2002 20:27 To: mod...@li... Subject: Mod-pubsub-general digest, Vol 1 #1 - 1 msg Send Mod-pubsub-general mailing list submissions to mod...@li... To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/mod-pubsub-general or, via email, send a message with subject or body 'help' to mod...@li... You can reach the person managing the list at mod...@li... When replying, please edit your Subject line so it is more specific than "Re: Contents of Mod-pubsub-general digest..." Today's Topics: 1. Re: Mod-pubsub-general -- confirmation of subscription -- request = 282269 (Phil Harris) --__--__-- Message: 1 Date: Sat, 7 Dec 2002 17:30:46 +0000 From: Phil Harris <ph...@ha...> To: mod...@li... Subject: [Mod-pubsub-general] Re: Mod-pubsub-general -- confirmation of = subscription -- request 282269 On Sat, 07 Dec 2002 09:27:16 -0800 mod...@li... wrote: > Mod-pubsub-general -- confirmation of subscription -- request 282269 >=20 > We have received a request from 195.92.67.70 for subscription of your > email address, <ph...@ha...>, to the > mod...@li... mailing list. To confirm the > request, please send a message to > mod...@li..., and either: >=20 > - maintain the subject line as is (the reply's additional "Re:" is > ok), >=20 > - or include the following line - and only the following line - in the > message body:=20 >=20 > confirm 282269 >=20 > (Simply sending a 'reply' to this message should work from most email > interfaces, since that usually leaves the subject line in the right > form.) >=20 > If you do not wish to subscribe to this list, please simply disregard > this message. Send questions to > mod...@li.... >=20 --__--__-- _______________________________________________ Mod-pubsub-general mailing list Mod...@li... https://lists.sourceforge.net/lists/listinfo/mod-pubsub-general End of Mod-pubsub-general Digest Visit our website at http://www.ubswarburg.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. |
From: Phil H. <ph...@ha...> - 2002-12-07 17:31:43
|
On Sat, 07 Dec 2002 09:27:16 -0800 mod...@li... wrote: > Mod-pubsub-general -- confirmation of subscription -- request 282269 > > We have received a request from 195.92.67.70 for subscription of your > email address, <ph...@ha...>, to the > mod...@li... mailing list. To confirm the > request, please send a message to > mod...@li..., and either: > > - maintain the subject line as is (the reply's additional "Re:" is > ok), > > - or include the following line - and only the following line - in the > message body: > > confirm 282269 > > (Simply sending a 'reply' to this message should work from most email > interfaces, since that usually leaves the subject line in the right > form.) > > If you do not wish to subscribe to this list, please simply disregard > this message. Send questions to > mod...@li.... > |