Re: Multithreaded server
From: Fred Hirschfeld (a_at_b.c)
Date: 03/21/05
- Next message: Sunny: "Re: Where is client-activated object created?"
- Previous message: Fred Hirschfeld: "Re: Exception in Remoting"
- In reply to: Brecht Yperman: "Re: Multithreaded server"
- Next in thread: Brecht Yperman: "Re: Multithreaded server"
- Reply: Brecht Yperman: "Re: Multithreaded server"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 21 Mar 2005 09:24:13 -0800
Sorry about all the questions but I don't want to give a generic answer that
may not be appropriate.
Are the jobs running between client calls? If not then you might want to
look at making a state class that can serialize your job state so that you
can pass that back and forth as needed to each method. This may not be
possible if there is a lot of state in which case you could use a
persistance store (SQL, XML Files, ...) that would be used on the server to
retrieve the state on each method call.
Fred
"Brecht Yperman" <BrechtYperman@discussions.microsoft.com> wrote in message
news:769A66E4-DCC5-4BC0-99FC-8D0232795954@microsoft.com...
>
>> Do you really need a singleton or can you use SingleCall? SingleCall will
>> be
>> much more scalable for multiple clients and I have not seen anything to
>> indicate the need for a singleton.
>
> Well, we have to keep some kind of map (ID to Job) with all running jobs,
> no?
- Next message: Sunny: "Re: Where is client-activated object created?"
- Previous message: Fred Hirschfeld: "Re: Exception in Remoting"
- In reply to: Brecht Yperman: "Re: Multithreaded server"
- Next in thread: Brecht Yperman: "Re: Multithreaded server"
- Reply: Brecht Yperman: "Re: Multithreaded server"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|