Skip to content

Commit 16479f3

Browse files
committed
Reset chart when dataset changes
1 parent c08467d commit 16479f3

File tree

5 files changed

+21
-9
lines changed

5 files changed

+21
-9
lines changed

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
- 0.2.4-beta
22
- Added GraphQL API
3-
- Added dataset scatterplot visualizer
4-
- Dashboard memory chart shows real memory usage
3+
- Added dataset Bubble Chart visualizer
4+
- Dashboard memory chart now shows real memory usage
55
- Removed Query Bus and associated application layer
66
- Added inference rate chart to dashboard
7+
- Added Gzip compression of static assets
78

89
- 0.2.3-beta
910
- Added web user interface

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ $ composer require rubix/server
3737

3838
---
3939
### Servers
40-
Rubix model servers are stand-alone processes that wrap an estimator in an API that can be queried over a network connection. Since servers implements their own networking stack, they can be run directly from the PHP command line interface (CLI) without the need for an intermediary server such as Nginx or Apache. By utilizing concurrency, each server instance is able to handle thousands of connections at the same time. Need more inference throughput? Model servers scale by adding more instances behind a load balancer.
40+
Rubix model servers are stand-alone processes that wrap an estimator in an API that can be queried over a network connection. Since servers implements their own networking stack, they can be run directly from the PHP command line interface (CLI) without the need for an intermediary server such as Nginx or Apache. By utilizing concurrency, each server instance is able to handle thousands of connections at the same time.
4141

4242
To boot up a server, pass a trained estimator instance to the `serve()` method:
4343
```php
@@ -93,7 +93,7 @@ $server->setLogger(new Screen());
9393
```
9494

9595
### HTTP Server
96-
A JSON over HTTP server exposing Representational State Transfer (REST) and GraphQL APIs. The HTTP Server operates with ubiquitous standards making it compatible with a wide range of systems. In addition, it provides its own web-based user interface for real-time server monitoring.
96+
A JSON over HTTP server exposing Representational State Transfer (REST) and GraphQL APIs. The HTTP Server operates using ubiquitous standards making it compatible with a wide range of systems. In addition, it provides its own web-based user interface for dataset visualization and real-time server monitoring.
9797

9898
Interfaces: [Server](#servers), [Verbose](#verbose-interface)
9999

@@ -104,7 +104,7 @@ Interfaces: [Server](#servers), [Verbose](#verbose-interface)
104104
| 2 | port | 8000 | int | The network port to run the HTTP services on. |
105105
| 3 | cert | null | string | The path to the certificate used to authenticate and encrypt the HTTP channel. |
106106
| 4 | middlewares | [] | array | The stack of server middleware to run on each request/response. |
107-
| 5 | max concurrent requests | 20 | int | The maximum number of requests that can be handled concurrently. |
107+
| 5 | max concurrent requests | 10 | int | The maximum number of requests that can be handled concurrently. |
108108
| 6 | sse reconnect buffer | 50 | int | The maximum number of events to store in the server-sent events (SSE) reconnect buffer. |
109109

110110
**Example**
@@ -138,6 +138,7 @@ The HTTP server exposes the following resources and their methods.
138138
| GET | /server/dashboard | Return the properties of the server dashboard. |
139139
| GET | /server/dashboard/events | Subscribe to the dashboard events stream. |
140140
| GET | /ui/server | The server dashboard interface. |
141+
| GET | /ui/visualizer/bubble | Dataset bubble chart visualizer. |
141142

142143
#### Web Interface
143144
The HTTP server provides its own high-level user interface to the GraphQL API it exposes under the hood. To access the on-demand web UI, navigate to `http://hostname:port` (or `https://hostname:port` if using a secure socket connection) using your web browser. The example below is a screen capture of the server dashboard in dark mode.
@@ -334,8 +335,8 @@ Adds the necessary authorization headers to the request using the Basic scheme.
334335
#### Parameters
335336
| # | Param | Default | Type | Description |
336337
|---|---|---|---|---|
337-
| 1 | username | | string | The username. |
338-
| 2 | password | | string | The password. |
338+
| 1 | username | | string | The user's name. |
339+
| 2 | password | | string | The user's password. |
339340

340341
**Example**
341342

@@ -398,7 +399,7 @@ Yes, model server are designed to coexist with other web servers (including othe
398399
Since model servers are inference-only (i.e. they only support queries), they scale horizontally by adding more instances behind a load balancer such as [Nginx](http://nginx.org).
399400

400401
#### Do servers support compression?
401-
Yes, the HTTP Server supports both Gzip and Deflate compression schemes applied to the request bodies. However, since response bodies tend to be considerably smaller compared to requests for this application, they do not support outbound message compression.
402+
Yes, the HTTP Server supports both Gzip and Deflate compression schemes applied to the request bodies and to the response bodies of requests for static assets.
402403

403404
## License
404405
The code is licensed [MIT](LICENSE.md) and the documentation is licensed [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/).

0 commit comments

Comments
 (0)