Skip to content

pimeys/blocking_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Herp derp

Multi-threaded version:

cargo +nightly run -- --threaded

Single-threaded blocking version:

cargo +nightly run -- --sync

Asynchronous version:

cargo +nightly run -- --async

The service runs in localhost:8080 and can be used with a web client.

To save a new query:

curl -d 'SELECT 1 as one' localhost:8080/one

Then as long as the server is running, the query can be executed by executing a GET request to the uri:

curl localhost:8080/one

Output should be the result as JSON:

[{"one":1}]

Releases

No releases published

Packages

No packages published

Languages