This is the code that powers krye.io, my personal website.
It is a proof-of-concept project involving a great amount of work
towards caching things and making it much lighter-weight.
Caching responses to requests is a big goal of this project.
Currently, we simply build files statically and store them in a cache,
but it would be nice to cache requests whilst still maintaining
support for dynamic pages.
In the future, we will probably move from caching to more of a direct
build-on-page-request type deal. We can always use caching in Nginx
or whatever is used as a load balancer.
- This server still has an enormous footprint. Despite being all
in-memory and using
redisas a primary storage backend, the system
is still storing many things in-memory. An in-depth look will be
required to take care of this.
This project has a Docker image at
Otherwise, simply run the following commands to set it up on your
machine (with Ruby installed):
$ bundle install $ bundle exec rackup -p <port>