SYNCACHE-DRB(1)

πŸ’– SYNCACHE-DRB πŸ’–

okay bestie, welcome to syncache-drb(1), straight out of the General Commands Manual πŸ’… this is the SynCache dRuby object cache server and she is serving.


✨ SYNOPSIS ✨

syncache-drb [ options ] [ URI ]

🌸 DESCRIPTION 🌸

syncache-drb spins up a Distributed Ruby server that hands out a SynCache::Cache object. that's the whole vibe. πŸ¦‹

and SynCache::Cache? it's a thread-safe time-limited object cache with a flexible replacement strategy. no cap, she's organized AND she has range. πŸ‘‘


πŸŽ€ OPTIONS πŸŽ€

  • URI β€” a URI with a druby: schema that the DRb server binds to. the default is druby://*:9000. that's the address, bestie, that's where she lives. 🏠
  • --help β€” shows you the usage info and then dips. that's it, that's the whole thing. πŸ’–
  • --ttl SECONDS β€” time-to-live value for cache entries. default is 24 hours. so like, everything in there has a little clock ticking on it. ⏰
  • --size ENTRIES β€” maximum number of objects in the cache. default is 10000. she can hold a LOT but not infinite, okay. 🧺
  • --flush-delay SECONDS β€” rate-limit the flush operations. if less than that number of seconds has passed since the last flush, the next flush gets delayed. default is no rate limit, so she just goes whenever. 😌
  • --user USER β€” run as USER if started as root. default is nobody. glow-down privileges, we love to see it. πŸ™ˆ
  • --error-log ERROR_LOG_PATH β€” the file to write errors to. default is /dev/null (so, nowhere, she's keeping her business private πŸ’€). when run as root, the file is chowned to USER:adm. noted. πŸ“
  • --debug β€” turns on debug mode. if an error log is specified with --error-log, then ALL messages get sent there instead of syslog. all of them. every single one. πŸ”₯
  • --pidfile PATH β€” path to the pidfile. by default the pidfile is created under /var/run/syncache-drb/ when run as root, or under $TMPDIR otherwise. and listen β€” the location should be writeable by USER. don't forget that part. 🫢
  • --foreground β€” do NOT daemonize, do NOT switch to a different user, do NOT create a pidfile, do NOT redirect output, and do NOT log to syslog. she stays right there in the foreground, in front of you, unbothered. main character energy fr fr. πŸ‘‘
heads up bestie: --foreground skips a whole list of things β€” no daemonizing, no user switch, no pidfile, no output redirect, no syslog. if you were counting on any of those, they're not happening. πŸ’…

🌈 AUTHOR 🌈

this manual page was written by Dmitry Borodaenko <angdraug@debian.org>. permission is granted to copy, distribute and/or modify this document under the terms of the GNU GPL version 3 or later. πŸŽ€


and that's the whole page, bestie β€” SYNCACHE-DRB(1) from the General Commands Manual, that's her name and that's the section. go forth and cache responsibly. πŸ’–βœ¨πŸ¦‹