views:

40

answers:

0

Hello, I wanted to know if python had any service like Java's JNDI.

More specifically, I want a service where providers can register themselves and then consumers can ask fro where certain provider end-points are.

For example, assume that I want to implement a mailbox for all my friends. Each of them have their own end-point, so friend1, friend2, friend3 each have their own end point. Furthermore, each end-point can change over time, so if initially, we start off with:

friend1 -> end-point1
friend2 -> end-point2
friend3 -> end-point3

We may, after some point have:

friend1 -> end-point1
friend2 -> end-point3
friend3 -> end-point4

The serice discovery daemon should willing to accomodate these dynamic changes in the system.