Subject:
|
Re: Pseudo-streaming live news (was: Re: Monitor Page)
|
Newsgroups:
|
lugnet.admin.general
|
Date:
|
Tue, 21 Mar 2000 21:49:12 GMT
|
Viewed:
|
1820 times
|
| |
| |
In lugnet.admin.general, Todd Lehman writes:
> In lugnet.admin.general, Jeremy H. Sproat writes:
> > My client is fairly modular and extensable. I'm using a callback interface
> > for the consumer of news items, so that changes to the client engine are
> > minimal.
> One suggestion: Separate the producer into a separate, totally encapsulated
> daemon which just sits there running 24x7 and slurps new articles whenever
> they appear and spools them into some directory on the local drive. That way,
> it can run while you sleep, even if you've exited the main user interface
> program.
Too late! All done! :-,
But that would be easy to do; I could simply write a daemon class that consumes
tidbits by spooling them for serving later. The drawback to doing this, is
that one *might* need to run two JVM's -- one for the spooler, one for the
client. I need to think about that...
> That way, you can fire up multiple filter/viewer combos,
> either as separate processes or separate threads within a single process. And
> if you shut down the last viewer, the spooler dameon continues to run in the
> background so that when you return, all of the stuff is already fetched.
Hmmm... This sounds more like a middle-tier app than a client app; my
original intent was for a client-only solution. But after reading back on the
subthread between you and Dan, I can see the need for it.
Fortunately, my client engine can pass the tidbits to any class that implements
the callback interface. It shouldn't be too difficult to *completely* mirror
your avid.cgi script, if the consumer class caches the tidbits and serves them
later in an identical fashion. Lemme look into this as well...
Cheers,
- jsproat
|
|
Message has 2 Replies:
Message is in Reply To:
66 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|