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? 14 1618 ja*****@texeme. com wrote: 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?
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 su************* *****@degennaro .biz
Thank you
-------------------------------------------------------------------- ja*****@texeme. com wrote: 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?
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 su************* *****@degennaro .biz
Thank you
--------------------------------------------------------------------
Giuseppe Nacci wrote: ja*****@texeme. com wrote:
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?
Yes, It's possible but you must use ISA Server in cache mode or in integrated mode.
Can I just do this:
[WebMethod]
(
Description="my method",
CacheDuration=4 3200)
]
And set it to some incredibly high value ( like 48 hours ) ?
Giuseppe Nacci wrote: ja*****@texeme. com wrote:
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?
Yes, It's possible but you must use ISA Server in cache mode or in integrated mode.
Can I just do this:
[WebMethod]
(
Description="my method",
CacheDuration=4 3200)
]
And set it to some incredibly high value ( like 48 hours ) ? ja*****@texeme. com wrote: Giuseppe Nacci wrote: ja*****@texeme. com wrote:
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?
Yes, It's possible but you must use ISA Server in cache mode or in integrated mode.
Can I just do this:
[WebMethod] ( Description="my method", CacheDuration=4 3200) ]
And set it to some incredibly high value ( like 48 hours ) ?
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 su************* *****@degennaro .biz
Thank you
-------------------------------------------------------------------- ja*****@texeme. com wrote: Giuseppe Nacci wrote: ja*****@texeme. com wrote:
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?
Yes, It's possible but you must use ISA Server in cache mode or in integrated mode.
Can I just do this:
[WebMethod] ( Description="my method", CacheDuration=4 3200) ]
And set it to some incredibly high value ( like 48 hours ) ?
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 su************* *****@degennaro .biz
Thank you
--------------------------------------------------------------------
Giuseppe Nacci wrote: ja*****@texeme. com wrote:
Giuseppe Nacci wrote:
ja*****@texe me.com wrote:
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?
Yes, It's possible but you must use ISA Server in cache mode or in integrated mode.
Can I just do this:
[WebMethod] ( Description="my method", CacheDuration=4 3200) ]
And set it to some incredibly high value ( like 48 hours ) ?
Where? In IE or where do you 'll want to set cache duration?
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 ?
Giuseppe Nacci wrote: ja*****@texeme. com wrote:
Giuseppe Nacci wrote:
ja*****@texe me.com wrote:
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?
Yes, It's possible but you must use ISA Server in cache mode or in integrated mode.
Can I just do this:
[WebMethod] ( Description="my method", CacheDuration=4 3200) ]
And set it to some incredibly high value ( like 48 hours ) ?
Where? In IE or where do you 'll want to set cache duration?
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 ?
Hi,
I just thought I'll give my idea on this. Usually IIS is very efficient
in handling multiple requests. In your case the only problem might be IIS
throwing exception saying multiple users are connected(more than the expected
lmit). One way to handle this is, always keep the number of request to a lmit
say 20. For e-g start hitting asmx with 20 requests asychronously once the
call back gets a response span another request there by u maitain the number
of hits to your asmx.
Hope this give an idea.
Thanks,
Ravi
"ja*****@texeme .com" wrote: 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?
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: jabailo |
last post by:
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...
|
by: Buddy Ackerman |
last post by:
My app is a .NET forms app that runs in the taskbar and periodically polls a web service. I have a client that wants
the app to integrate with their Active Directory. They do not want the user to have to provide the username and
password to login to the application/web service. I need to be able to send the users authenticated security token to
the web service. I have looked at the UserNameToken class of the WSE 2.0 Security.Tokens...
|
by: Kim Floyd |
last post by:
We have an application that uses .Net remoting to allow remote servers to
connect to a master server to synchronize data. The format of the url we use
to the master server looks like “tcp://master.company.com/wilson.server”. If
the IP address of the master server changes the remote server keep using to
old IP address until they are restarted.
The A rescored in the DNS server has a Time To Live setting of 1 hour. Why
does the...
|
by: Joseph Geretz |
last post by:
I've been looking at two approaches for the maintenance of Session state for
a Web Service application.
One approach uses the old familiar Session object which I've used in the
past for Web applications. As far as I can see, the Session approach is
non-standard since Web Services are supposed to be agnostic with respect to
their clients. It seems that cookies are outside the Web Service standard;
therefore, such a Web Service application...
|
by: JamesB |
last post by:
I am writing a service that monitors when a particular app is started.
Works, but I need to get the user who is currently logged in, and of course
Environment.UserName returns the service logon (NT_AUTHORITY\SYSTEM).
I understand that when the service starts, no user may be logged in, but
that's ok, as the app I am monitoring can only be run by a logged in user.
Do I need to use WMI to get the user context of Explorer.exe or is there a...
| |
by: BVM |
last post by:
Hi,
I have a problem and hope you can give some advice.
I have a windows Form which uses web service to communicate with our web site and database. It's working fine in most of our offices. However one of our offices use VPN(virtual private network) to do their work. They often(not always) get error when they use the form. I look at into it and found that no matter how they change the date range, the query results are always the same. If...
|
by: =?Utf-8?B?SmltIE93ZW4=?= |
last post by:
Hi John,
Hopefully this post will find its way back to you - or perhaps be answered
by someone else. As I mentioned in my last post on the earlier portion of
this thread, changing the serialization settings for the build handled the
initial slows we encountered when invoking the web service.
Since that time, we ported the original VB.net code over to C# - this was
done to make it cleaner easier to include the project in the rest of...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
| |
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |