Skip to content

Commit

Permalink
Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhishek Singh committed Apr 5, 2020
1 parent 930cdc5 commit 0b6d55c
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ pip install sqlite_rx

## Server

Following are the options to start an `SQLiteServer`

### Python API
`SQLiteServer` runs in a single thread and follows an event-driven concurrency model (using `tornado's` event loop) which minimizes the cost of concurrent client connections.

```python
Expand Down Expand Up @@ -58,6 +61,14 @@ if __name__ == '__main__':
main()
```

### CLI to start a server

Refer [CLI](#cli)

### Docker

Refer [Docker Examples](#docker-examples)


## Client

Expand Down Expand Up @@ -320,7 +331,9 @@ This link also explains how to setup CurveZMQ encryption and ZAP authentication
# Docker Examples
The following `docker-compose` examples using the docker image `aosing/sqlite_rx`
The following `docker-compose` examples using the docker image [`aosingh/sqlite_rx`](https://hub.docker.com/r/aosingh/sqlite_rx)
`sqlite-server` CLI is used in all the docker examples
Expand All @@ -337,6 +350,8 @@ services:

```
- Note that in the docker container the server listens on port `5000` so, do enable port forwarding on the host machine
## On Disk SQLite Database
docker volume is used to persist the database file on the host's file system
Expand Down

0 comments on commit 0b6d55c

Please sign in to comment.