|
|
 |
RE: FN-FORUM: .NET & COM
date posted 15th January 2005 10:38
Would it create a memory instance of word each time ? If it was
instanciated as an object then only the data for the document (and
associated object data) would be created, the actual application would
be created once.
Also if it is a public server then you have to purchase a processor
licence for Word. Not cheap I suspect....
Cheers
Andy
-----Original Message-----
From: [EMAIL REMOVED] [EMAIL REMOVED] On Behalf Of Hibri
Sent: Saturday, January 15, 2005 10:51 AM
To: Andy Macnaughton-Jones
Subject: Re: FN-FORUM: .NET & COM
Since it will run on a webserver, two or more people will be running the
code at the same time.
the code will create a memory instance of Word every time the code is
run.
the instance should be released from memory once the work is done.
so you might be seeing one instance of word on the server for each user
who is accessing the site.
you should consider how many users will access the web page
concurrently. this factors into how much memory and processing power
that the web server needs.
the batch task approach is good, since John already has the documents in
a database.
depends on how long a user is willing to wait to see the results though.
On 15 Jan 2005 10:36:39 -0000, Andy Henderson [EMAIL REMOVED] wrote:
>=20
> >>>I don't have any examples but, the code will be similar to doing it
> >>>on a
> client machine. Would there be an issue if two people wanted to run the same code=20
> simultaneously?
>=20
> FWIW, I would consider running some kind of batch task that would look
> for documents that need to be processed rather than doing it on the=20
> fly. That could be a web server task or run somewhere else. But=20
> maybe I'm too cautious.
>=20
> Andy
>=20
>=20
> --
> Freelancers, contractors earn more with Prosperity4 Call 0870 870 4414
> or visit www.prosperity4.com and benefit from Inland Revenue approved=20
> expenses today.
>=20
> To advertise here: http://www.freelancers.net/advertising.html
>=20
>=20
--
Freelancers, contractors earn more with Prosperity4 Call 0870 870 4414
or visit www.prosperity4.com and benefit from Inland Revenue approved
expenses today.
To advertise here: http://www.freelancers.net/advertising.html
|
 |
|