Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
Makefile
README.md
sortdb.c
test.expected
test.sh
test.tab
test2.tab

README.md

sortdb

Sorted database server. Makes a tab (or comma) delimitated sorted file accessible via HTTP

OPTIONS

--address=<str>        address to listen on
                       default: 0.0.0.0
--daemon               daemonize process
--db-file=<str>       
--memory-lock          lock data file pages into memory
--enable-logging       request logging
--field-separator=<char> field separator (eg: comma, tab, pipe). default: TAB
--group=<str>          run as this group
--help                 list usage
--port=<int>           port to listen on
                       default: 8080
--root=<str>           chdir and run from this directory
--user=<str>           run as this user

API endpoints:

  • /get?key=...

  • /mget?k=&k=...

  • /stats

  • /reload (reload/remap the db file)

  • /exit (cause the current process to exit)

a HUP signal will also cause sortdb to reload/remap the db file

Something went wrong with that request. Please try again.