• Home
Name Date Size #Lines LOC

..--

CMakeLists.txtD12-May-2024313 1512

README.mdD12-May-20241.1 KiB3225

jbs.cD12-May-20244 KiB10698

README.md

1# Standalone REST/Websocket HTTP server
2
3## jbs server
4```
5jbs -h
6
7EJDB 2.0.0 standalone REST/Websocket server. http://ejdb.org
8
9 --file <>	Database file path. Default: db.jb
10 -f <>    	(same as --file)
11 --port ##	HTTP port number listen to. Default: 9191
12 -p ##    	(same as --port)
13 --bind <>	Address server listen. Default: localhost
14 -b <>    	(same as --bind)
15 --access <>	Server access token matched to 'X-Access-Token' HTTP header value
16 -a <>      	(same as --access)
17 --trunc   	Cleanup existing database file on open
18 -t        	(same as --trunc)
19 --wal   	Use write ahead logging (WAL). Must be set for data durability.
20 -w      	(same as --wal)
21
22Advanced options
23 --sbz ##	Max sorting buffer size. If exceeded, an overflow temp file for data will be created. Default: 16777216, min: 1048576
24 --dsz ##	Initial size of buffer to process/store document on queries. Preferable average size of document. Default: 65536, min: 16384
25 --bsz ##	Max HTTP/WS API document body size. Default: 67108864, min: 524288
26
27Use any of the following input formats:
28	-arg <value>	-arg=<value>	-arg<value>
29
30Use the -h, -help or -? to get this information again.
31```
32