/how-it-works

Demonstrate how stuff works using ruby!

Primary LanguageRubyMIT LicenseMIT

How It Works

Demonstrate how things work in CS area using ruby!

Note: For learning and demo only, don't use it in production :)

Content

Pool

"A pool in computer science is a set of initialised resources that are kept ready to use, rather than allocated and destroyed on demand." - from wiki

Thread Pool

Demonstrate how thread pool works. See source

Process Pool

Demonstrate how process pool works. See source

Cache

  • Simple LRU (Lease recently used) cache see source

Server

Database