Benjamin M. f99bb89276 Fix postgrest (#10064) 1 month ago
..
src f99bb89276 Fix postgrest (#10064) 1 month ago
README.md f99bb89276 Fix postgrest (#10064) 1 month ago
benchmark_config.json f99bb89276 Fix postgrest (#10064) 1 month ago
config.toml f99bb89276 Fix postgrest (#10064) 1 month ago
docker-compose.yml f99bb89276 Fix postgrest (#10064) 1 month ago
postgresql.dockerfile 6e0b3bbacf Add Haskell/PostgREST Implementation (#6162) 5 years ago
postgrest.conf f99bb89276 Fix postgrest (#10064) 1 month ago
postgrest.dockerfile f99bb89276 Fix postgrest (#10064) 1 month ago

README.md

PostgREST Benchmarking Test

Test Type Implementation Source Code

Important Libraries

The tests were run with:

  • docker-compose down && docker-compose build && docker-compose up

Test URLs

JSON

http://localhost:3000/rpc/jsonser

PLAINTEXT

http://localhost:3000/rpc/plaintext

DB

http://localhost:3000/rpc/db

QUERY

http://localhost:3000/rpc/query?queries=

CACHED QUERY - Not Implemented

http://localhost:8080/cached_query?queries=

UPDATE - Not Working

http://localhost:3000/rpc/updates?queries=

Technically, this is implemented (maybe not correctly though). However, the benchmark issues this as a GET request. PostgREST sets the transaction to READ ONLY for GET requests, as they are supposed to be idempotent. Hence this results in an error. Calling the endpoint with POST works though.

FORTUNES - Disabled

http://localhost:3000/rpc/fortunes.html

This is supposed to work, but somehow the benchmark harness doesn't count the queries correctly? Was not able to figure this one out.