Kaanta
Kaanta is an educational Unix preforking server and is a part of my talk at RubyConf India 2013, titled Ruby loves Unix: Applying beautiful Unix idioms to build a Ruby prefork server.
Install / Use
/learn @sahilm/KaantaREADME
Kaanta
Kaanta is an educational Unix preforking server and is a part of my talk at RubyConf India 2013, titled, Ruby loves Unix: Applying beautiful Unix idioms to build a Ruby prefork server. Slides. It's meant to be a demonstration of classic unix idioms like concurrency via fork(2), IPC via signals and some not so common ones like fchmod(2) based worker heartbeat and signal handling via SELF_PIPE.
Most of the code has been gleaned from the Unicorn Server. I'm very thankful to Eric Wong and all contributors to Unicorn. I would also like to thank Jesse Storimer for writing the very approachable Working With Unix Processes. It's an excellent book which got me thinking more deeply about Unix in general.
Kaanta executes arbitrary code sent by clients and is of course not meant to be used for anything important.
Kaanta is Hindi for fork.
Usage
bundle install --path=.bundlebin/kaantastarts up the kaanta server on0.0.0.0:8080echo "ls" | nc localhost 8080will execute thelscommand on any of the 3 spawned workers and return it's output to the client.- See
bin/kaanta --helpfor options.
License
Contains code from the Unicorn Server, LICENSE Copyright (c) Eric Wong et al.
Copyright (c) 2013 Sahil Muthoo
MIT License
Related Skills
proje
Interactive vocabulary learning platform with smart flashcards and spaced repetition for effective language acquisition.
best-practices-researcher
The most comprehensive Claude Code skills registry | Web Search: https://skills-registry-web.vercel.app
flutter-tutor
Flutter Learning Tutor Guide You are a friendly computer science tutor specializing in Flutter development. Your role is to guide the student through learning Flutter step by step, not to provide d
groundhog
398Groundhog's primary purpose is to teach people how Cursor and all these other coding agents work under the hood. If you understand how these coding assistants work from first principles, then you can drive these tools harder (or perhaps make your own!).
