call webservices in a farm scenario

Discussion in 'ASP .Net' started by Fabio R., Apr 13, 2006.

  1. Fabio R.

    Fabio R. 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..
    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
     
    Fabio R., Apr 13, 2006
    #1
    1. Advertising

  2. Fabio R.

    Spam Catcher Guest

    "Fabio R." <fabio71 _ at _ yahoo.it> wrote in
    news:#:

    > 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.
     
    Spam Catcher, Apr 13, 2006
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Zeng
    Replies:
    5
    Views:
    399
    John Saunders
    Aug 20, 2003
  2. REB
    Replies:
    0
    Views:
    337
  3. Ing. Rajesh Kumar

    How to use validation controls in this scenario ?

    Ing. Rajesh Kumar, Jul 22, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    393
    Sergey Poberezovskiy
    Jul 23, 2004
  4. dan
    Replies:
    1
    Views:
    366
    bruce barker
    Dec 13, 2004
  5. Phil Johnson
    Replies:
    0
    Views:
    719
    Phil Johnson
    Jul 17, 2008
Loading...

Share This Page