Groups | Blog | Home
all groups > dotnet web services > june 2005 >

dotnet web services : Can a web service be 'cached' ?


Giuseppe Nacci
6/30/2005 12:00:00 AM
[quoted text, click to view]

Yes, It's possible but you must use ISA Server in cache mode or in
integrated mode.

--
---
Giuseppe Nacci
Microsoft Certified System Engineer
Security Manager

--------------------------------------------------------------------
CONFIDENTIALITY NOTICE
This message and its attachments are addressed solely to the persons
above and may contain confidential information. If you have received
the message in error, be informed that any use of the content hereof
is prohibited. Please return it immediately to the sender and delete
the message. Should you have any questions, please contact us by
replying to supporto.informatico@degennaro.biz
Thank you
--------------------------------------------------------------------


Giuseppe Nacci
6/30/2005 12:00:00 AM
[quoted text, click to view]

Where? In IE or where do you 'll want to set cache duration?
--
---
Giuseppe Nacci
Microsoft Certified System Engineer
Security Manager

--------------------------------------------------------------------
CONFIDENTIALITY NOTICE
This message and its attachments are addressed solely to the persons
above and may contain confidential information. If you have received
the message in error, be informed that any use of the content hereof
is prohibited. Please return it immediately to the sender and delete
the message. Should you have any questions, please contact us by
replying to supporto.informatico@degennaro.biz
Thank you
--------------------------------------------------------------------


jabailo NO[at]SPAM texeme.com
6/30/2005 8:19:54 AM

I build a system where a Windows service iterates through a file and
sends each line in the file as a record to a database, by calling a web
service asynchronously. It runs on a w2k server.

What I notice is:

When the web service gets called, there seems to be a slowness and
potential for missed calls - my guess is because it's being moved into
memory. This causes problems as records are dropped. My solution is
to redo the load if it notices that records are missing.

One thought I had : Is it possible to force the web service to stay in
memory ( pre-cached, basically ) so that it's /always/ ready to serve?
jabailo NO[at]SPAM texeme.com
6/30/2005 9:04:00 AM
[quoted text, click to view]

Can I just do this:

[WebMethod]
(
Description="mymethod",
CacheDuration=43200)
]

jabailo NO[at]SPAM texeme.com
6/30/2005 9:21:14 AM
[quoted text, click to view]

Actually that's not what I want.

That will cache results that are to be reused.

I just want the whole service to reside in memory for fast access.

Do I have to buy a whole nother product just to do that?

Can't I just change a setting in IIS 5.0 ?
AddThis Social Bookmark Button