Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] How could work a web-service and its backup?

Subject: perfsonar development work

List archive

Re: [pS-dev] How could work a web-service and its backup?


Chronological Thread 
  • From: Maciej Glowiak <>
  • To: Nicolas Simar <>
  • Cc: "Jeff W. Boote" <>, Vedrin Jeliazkov <>, , Matthias Hamm <>, Mark Yampolskiy <>
  • Subject: Re: [pS-dev] How could work a web-service and its backup?
  • Date: Thu, 08 Mar 2007 11:56:30 +0100
  • Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA CXBIWXMAAEU1AABFNQF8gVf5AAAAB3RJTUUH1QYQDjo6uEWvwgAAAM5JREFUGNNN0LFqAkEUheGj KRZsfATrvENgYyH4APabxwgWGUUQC99BsNDCInUq7VImbbDZ0kayxBXMuN7jvTuKVh//mZlmQKZ1 EhQ8GAVgZECspEBdWQHRjR70KlgFKkoUaCw3ijSYQ4n5HfBK4a4jDcdDQPol/80Sr9BxZOOL4Fmr Jq8VBx7eopaSPvWGOm67fqol3j1q0XNs7Nk2cs6MU6gPNzf+ZGKQX4Ek8H6rAnFZnXB2vJxJcv8g C2P+WzL4tD+Txc4KydrIkh+eAdo01QbjQ84vAAAAAElFTkSuQmCC
  • Organization: Poznan Supercomputing and Networking Center

Nicolas Simar wrote:


Maciej Glowiak wrote:
Hi Nicolas,

Nicolas Simar wrote:

What would happen in the single LS instance it needs to register with is down?


Java exception is thrown, because connection to the server (perfSONAR service) cannot be established.

What will happen with the info (will it dissapear, does the service has to find out another single LS?)


LS info that is to be registered with the LS?

It will disappear (in fact client won't send it, because it won't be able to establish connection to the server).

All other data in LS will be kept in database even if the service is down.

This implies that in the model, all the LSes have all the information about everything is it? (no redirection from one LS to the one where the service initialy registered to get more information are planned?)

Isn't there a timer after which the other LSes will start removing the information from the "down" LS?

Cheers,

Hi Nicolas,

I think I don't understand your question in that context.
I'll try to summarize. By LS I mean single-domain-LS.

1. If LS that is contacted by a client is down, the client will get
Exception. Then the client may contact "the redundant LS" if there is
any (there is not for now).

2. Usually each service registers to only "ONE" LS. If the LS is down,
lookup information of the service won't be registered anywhere

3. So, usually all LSes have disjunctive set of registered services

4. If information was not found in one LS it won't redirect client to
another LS (because it doesn't know about any other LS)

5. There is a timer in LS. All lookup information registered in LS are
time-stamped and after defined TTL are removed. (they're time-stamped
with all update operations: re-registration or keepalive)

Multi LS would resolve some of these problems.

I hope now it's more clear.

Maciej



Archive powered by MHonArc 2.6.16.

Top of Page