All Projects → MakeNowJust → Bashcached

MakeNowJust / Bashcached

Licence: mit
memcached server built on bash + socat

Programming Languages

ruby
36898 projects - #4 most used programming language
bash
514 projects

Projects that are alternatives of or similar to Bashcached

Memcache Info
Simple and efficient way to show information about Memcache.
Stars: ✭ 84 (-68.89%)
Mutual labels:  bash-script, memcached
ezkill
'pkill -f' with a confirmation prompt.
Stars: ✭ 15 (-94.44%)
Mutual labels:  bash-script
HackerRank-LinuxShell
HackerRank-LinuxShell Solutions 💻
Stars: ✭ 26 (-90.37%)
Mutual labels:  bash-script
reverse-enginnering
open source repository
Stars: ✭ 29 (-89.26%)
Mutual labels:  bash-script
BashClass
BashClass is an Object Oriented Programming language that compiles to BASH 4.4
Stars: ✭ 40 (-85.19%)
Mutual labels:  bash-script
mtproxy autoinstaller
MTProxy autoinstaller for Ubuntu
Stars: ✭ 25 (-90.74%)
Mutual labels:  bash-script
azure-cdn-ips
List of Azure CDN IP Addresses
Stars: ✭ 14 (-94.81%)
Mutual labels:  bash-script
Ultramemcache
Ultra fast memcache client written in highly optimized C++ with Python bindings.
Stars: ✭ 262 (-2.96%)
Mutual labels:  memcached
checkmk-telegram-notify
Get alerted by Check_MK via Telegram bash script
Stars: ✭ 28 (-89.63%)
Mutual labels:  bash-script
ubuntu-2004
🔵 Curso GRÁTIS de GNU/Linux Ubuntu Server 20.04.x LTS - DevOps utilizando Shell Script
Stars: ✭ 70 (-74.07%)
Mutual labels:  bash-script
b52
b52 is a fast experimental Key/value database. With support for the memcache protocol.
Stars: ✭ 20 (-92.59%)
Mutual labels:  memcached
checkbox.sh
Interactive checkboxes (menu) with pagination and vim keybinds for bash
Stars: ✭ 26 (-90.37%)
Mutual labels:  bash-script
basalt
The rock-solid Bash package manager
Stars: ✭ 16 (-94.07%)
Mutual labels:  bash-script
dotfiles
Config files for i3, polybar, rofi, mpv, Xresources, kitty and some bash-things...
Stars: ✭ 52 (-80.74%)
Mutual labels:  bash-script
beleyenv
A dev-focused, idempotent system bootstrap script for ChromeOS's officially supported Linux container. Designed for me, but flexible enough for you to use too!
Stars: ✭ 45 (-83.33%)
Mutual labels:  bash-script
vbl
A collection of useful Bash modules to simplify everyday programming
Stars: ✭ 15 (-94.44%)
Mutual labels:  bash-script
cache-trace
A collection of Twitter's anonymized production cache traces.
Stars: ✭ 89 (-67.04%)
Mutual labels:  memcached
vpnping
Ping nordvpn servers to find the best/fast for you
Stars: ✭ 27 (-90%)
Mutual labels:  bash-script
Remot3d
Remot3d: is a simple tool created for large pentesters as well as just for the pleasure of defacers to control server by backdoors
Stars: ✭ 263 (-2.59%)
Mutual labels:  bash-script
anchor
High-Performance Erlang Memcached Client
Stars: ✭ 15 (-94.44%)
Mutual labels:  memcached

bashcached

memcached server built on bash + socat

CircleCI

Feature

It is one file script (small, (($(< bashcached wc -l) < 100))!), and it requires only:

  • bash
  • socat

So, you can use it as soon as you download it.

It supports multiple connections and implements almost all memcached commands:

  • set, add, replace, append and prepend
  • get, delete and touch
  • incr and decr
  • gets and cas
  • flush_all
  • version and quit

And, it supports to serve over tcp and unix domain socket.

Install

You could install base64, bash and socat via brew if you use macOS:

$ brew install base64 bash socat

(In fact, bash is installed in the default on macOS, however it is too old to run bashcached.)

Or, you could install socat via apt if you use Ubuntu:

$ sudo apt install socat

then, download and chmod.

$ curl -LO https://git.io/bashcached
$ chmod +x bashcached

Or, you could use bpkg instaed of downloading script:

$ bpkg install MakeNowJust/bashcached -g

Usage

$ ./bashcached --help
bashcached - memcached built on bash + socat
(C) TSUYUSATO "MakeNowJust" Kitsune 2016-2020 <[email protected]>

USAGE: bashcached [--help] [--version] [--license] [--protocol=tcp|unix] [--port=PORT] [--check=CHECK]

OPTIONS:
  --protocol=tcp|unix      protocol name to bind and listen (default: tcp)
  --port=PORT              port (or filename) to bind and listen (default: 25252)
  --check=CHECK            interval to check each cache's expire (default: 60)
  --help                   show this help
  --version                show bashcached's version
  --license                show bashcached's license
$ ./bashcached &
$ telnet localhost 25252
version
VERSION 5.2.0-bashcached
set hello 0 0 11
hello world
STORED
get hello
VALUE hello 0 11
hello world
END
quit

License and Copyright

MIT and 🍣 © TSUYUSATO "[email protected]> 2016-2018

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].