mirror of
https://github.com/internetarchive/warcprox.git
synced 2025-01-18 13:22:09 +01:00
mention service registry in readme
This commit is contained in:
parent
f14b33c5cb
commit
e164ea252e
@ -12,6 +12,12 @@ Three main purposes:
|
||||
|
||||
Not really a connection pool, because it doesn't keep any connections open, but it does take care of connection management.
|
||||
|
||||
### Service Registry
|
||||
|
||||
Now also has a ServiceRegistry class, a lightweight solution for service
|
||||
discovery for distributed services. Maintains service info and status in a
|
||||
rethinkdb table called "services".
|
||||
|
||||
## Usage
|
||||
```
|
||||
import rethinkstuff
|
||||
@ -20,3 +26,4 @@ r.table('my_table').insert({'foo':'bar','baz':2}).run()
|
||||
for result in r.table('my_table'):
|
||||
print("result={}".format(result))
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user