summaryrefslogtreecommitdiffstats
path: root/examples/README.md
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2017-09-23 12:22:34 -0700
committerAlex Crichton <alex@alexcrichton.com>2017-09-23 12:22:34 -0700
commit0868b97832277656c8f361b8aed43d4f373b804f (patch)
tree95c005131006f604846a39e248142b3443bed2cf /examples/README.md
parentfbd0a9e5f1a5b425bf04bbda2f623d67e848fb0b (diff)
Add a `tinydb` example sharing state
This example is intended to showcase sharing state between all connected clients on a server, for example a key/value store (in-memory database) Closes #257
Diffstat (limited to 'examples/README.md')
-rw-r--r--examples/README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/README.md b/examples/README.md
index 6a048f81..8215a6c8 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -44,6 +44,8 @@ A high level description of each example is:
* `compress` - an echo-like server where instead of echoing back everything read
it echos back a gzip-compressed version of everything read! All compression
occurs on a CPU pool to offload work from the event loop.
+* `tinydb` - an in-memory database which shows sharing state between all
+ connected clients, notably the key/value store of this database.
If you've got an example you'd like to see here, please feel free to open an
issue. Otherwise if you've got an example you'd like to add, please feel free