TCRMTTEST(1)
π NAME π
tcrmttest β test cases of the remote database API. Periodt, that's the whole name, bestie. β¨
π DESCRIPTION π
Okay so the command tcrmttest is literally a utility for facility test under multi-thread situation β Tokyo Tyrant's little facility-test bestie is here. π It gets used in this format, and the args are important:
hostspecifies the host name of the server.rnumspecifies the number of iterations.
Here's the exact command lineup, no cap:
tcrmttest write [-port num] [-tnum num] [-nr] [-rnd] [-ext name] host rnum
tcrmttest read [-port num] [-tnum num] [-mul num] host
tcrmttest remove [-port num] [-tnum num] host
Now the tea on each mode:
tcrmttest write [-port num] [-tnum num] [-nr] [-rnd] [-ext name] host rnumβ Store records with keys of 8 bytes. They change as00000001,00000002... so cute, so sequential. πtcrmttest read [-port num] [-tnum num] [-mul num] hostβ Retrieve all records of the database above. Read the whole vibe back. π«Άtcrmttest remove [-port num] [-tnum num] hostβ Remove all records of the database above. Bye-bye records, no cap. π
Options feature the following, and yes, every flag is invited to the group chat:
-port numβ specify the port number.-tnum numβ specify the number of running threads.-nrβ use the functiontcrdbputnrinstead oftcrdbput.-rndβ select keys at random.-ext nameβ call a script language extension function.-mul numβ specify the number of records for themgetcommand.
Heads up, bestie: if the port number is not more than0, UNIX domain socket is used, and the path of the socket file is specified by thehostparameter. iykyk π¦
This command returns 0 on success, another on failure. Slay when it's zero, cry when it's not. π
π SEE ALSO π
ttserver(1), ttultest(1), ttulmgr(1), tcrtest(1), tcrmgr(1), ttutil(3), tcrdb(3) β the whole friend group, go say hi. π
That's the whole adorable manual vibe, bestie π«Ά β brought to you by Tokyo Tyrant's TCRMTTEST(1), Man Page edition, dated 2010-08-05. Mwah πβ¨
π¦ where this page comes from
- nixos 26.05: tokyotyrant 1.1.41
- nixpkgs unstable: tokyotyrant 1.1.41
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms