call webservices in a farm scenario

F

Fabio R.

To support a webfarm scenario, I'd like to use a webservice to update/delete
cache objects.
I have in my web.config the list of the local servers (192.168.0.1,
192.168.0.2, ...) and when I need to delete a cache object the webapp calls
http://192.168.0.1/webservice.asmx
http://192.168.0.2/webservice.asmx.
ecc..
It works fine because http://192.168.1.x is the default website and I can
reach the right webservice's path.
Now the problem is: what about hosting more than a single website in the
farm?
If I have www.site.com (as the default website) and www.site2.com, how can
I call the equivalent of www.site2.com/webservice.asmx in every server of
the webfarm?
I'm not an expert so any help will be very very useful.
Thanks,
Fabio
 
G

Guest

To support a webfarm scenario, I'd like to use a webservice to
update/delete cache objects.
I have in my web.config the list of the local servers (192.168.0.1,
192.168.0.2, ...) and when I need to delete a cache object the webapp
calls http://192.168.0.1/webservice.asmx
http://192.168.0.2/webservice.asmx.
ecc..

Might be more efficent to store the cache objects in database... or with a
state server - that way you only need to make one call to delete the
centralized object.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,898
Latest member
BlairH7607

Latest Threads

Top