From: Lucas F. <lu...@de...> - 2003-05-12 03:52:00
|
I sent this to Dave, if anyone else is curious let me know... <dav...@on...> wrote in message news:B00...@vl...... > > -- > I'd be interested in reviewing your .NET server if you'd care to share it. > > I quickly whipped this out to try understand the reference to a continuous <script> file and it appeared to work fairly well. Of course IIS and .NET timed out which would negate the use of this combination of server tech unless this limitation could be circumvented. > > But check it out - I assume this is similiar to what KN is doing... > > http://www.bangeye.com/pubsub/ > > > Dave Cline > dav...@on... > www.bangeye.com/ > 801-636-5603 > > > > > -----Original Message----- > From: "Adam Rifkin" <Ad...@Kn...> > Sent: Fri, 9 May 2003 19:32:09 -0700 > To: "Lucas Fletcher" <lu...@de...>;<mod...@li...> > Cc: <mod...@li...> > Subject: [Mod-pubsub-developer] RE: [Mod-pubsub-general] javascript trick redux > > Hi Lucas, > > Browsers buffer data read off the wire. > > To overcome this, try sending 4k or so of spaces after the </script> tag. > > Also, we use hidden frames, not iframes. Have a look at the kn_debug > part of the "Command-line Arguments" section in > > http://www.mod-pubsub.org/kn_docs/javascript_reference.html > > or use ?kn_debug in the URL like so: > > http://www.mod-pubsub.org/kn_apps/presence1/?kn_debug > > and this will reveal those hidden frames. > > Hope that helps, > Adam > > > > -----Original Message----- > From: Lucas Fletcher [mailto:lu...@de...] > Sent: Thursday, May 08, 2003 10:27 PM > To: mod...@li... > Subject: [Mod-pubsub-general] javascript trick redux > > Hello, > > You thought you scared me away didn't you, with all your craziness and such? > Well it's not that easy I'm afraid. > > I've spent the last day or so writing a server in .NET framework that keeps > open a javascript file like you guys are doing. My friend who is hosting > 10's of thousands of flash-based clients (yeah, that's a custom server all > righty) says that the way to do it on Windows (he is using Linux) is with > I/O completion ports. His tests scaled up to at least a few thousands users > on one box. And I guess that the asynchronous methods in the > System.Net.Sockets namespace use I/O completion ports under the hood. This > uses the system thread pool for connection pooling. So I managed to write > the server with only a couple hundred lines of code. It uses a regular IIS > server for the upstream and then .NET remoting to communicate with the > custom server and then back down again via the javascript request. Which > brings me to a problem: the browser blocks execution on the javascript file > so the page doesn't load. Is there a special response header I need to > include? I can put the <script></script> tag after the closing <body> but I get some > weird errors elsewhere on the page, and also the IE world icon keeps > spinning. I noticed in the KnowNow demonstrations that this didn't happen. > Were there iframes being used? I covet its coolness. > > -- > Lucas Fletcher > lu...@de... > http://dealersinnotions.com > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Mod-pubsub-general mailing list > Mod...@li... > https://lists.sourceforge.net/lists/listinfo/mod-pubsub-general > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Mod-pubsub-developer mailing list > Mod...@li... > https://lists.sourceforge.net/lists/listinfo/mod-pubsub-developer > > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com |