BoJack
discontinuedby Marcelo Boeira · since 2016
Self-described 'unreliable' in-memory key-value server written in Crystal as a learning project; archived.
discontinued. Learning project; repository archived, last release v0.1.1 (Aug 2016) and last commit January 2018.
Overview
BoJack is a small in-memory key-value server written in Crystal by Marcelo Boeira, born from his 2016 article 'Why you should build your own NoSQL Database'. It runs a TCP server (port 5000 by default) with a text command protocol and an interactive console supporting set, get, delete, increment and ping-style commands, and it deliberately calls itself 'the unreliable key-value store': there is no clustering, security layer or durable persistence. Releases stopped at v0.1.1 in August 2016, the last commit was in January 2018 and the repository is now archived. It is a readable example of a network server in Crystal, not a database to deploy.
Strengths & trade-offs
Strengths
- +Very small, readable Crystal codebase for learning server design
- +MIT licence
Trade-offs
- −No persistence, clustering or security by design
- −Archived and pinned to an old Crystal version
Great for
- +Learning how to build a networked key-value store
- +Crystal language examples
Think twice for
- −Any real caching or storage workload
Capabilities
Native or official first-party support · 1 of 25 tracked
Scale & consistency
- Comfortable data size
- Small · ≤ 100 GB
- Horizontal scaling
- None
- Multi-region
- No
- Transactions
- None
- Consistency
- Strong
- Schema
- Schemaless
- Architecture
- Single node, In memory, Client server
- Query languages
- Text command protocol
Deployment
Ecosystem
Alternatives to BoJack
The in-memory data structure server that became the default cache, now with search, JSON and vectors built in.
bojack vs redis →The Linux Foundation's BSD-licensed fork of Redis, now the default engine on AWS and Google Cloud.
bojack vs valkey →The original multi-threaded, dead-simple distributed memory cache for key-value blobs.
bojack vs memcached →A multi-threaded, shared-nothing in-memory store that speaks Redis and Memcached on one big box.
bojack vs dragonfly →The standard embedded JVM cache, with heap, off-heap and disk tiers and optional Terracotta clustering.
bojack vs ehcache →Netflix's memcached-based distributed cache with zone-aware replication, built for AWS microservices.
bojack vs evcache →BoJack FAQ
What is BoJack?
BoJack is a key-value database by Marcelo Boeira, first released in 2016. BoJack is a small in-memory key-value server written in Crystal by Marcelo Boeira, born from his 2016 article 'Why you should build your own NoSQL Database'. It runs a TCP server (port 5000 by default) with a text command protocol and an interactive console supporting set, get, delete, increment and ping-style commands, and it deliberately calls itself 'the unreliable key-value store': there is no clustering, security layer or durable persistence. Releases stopped at v0.1.1 in August 2016, the last commit was in January 2018 and the repository is now archived. It is a readable example of a network server in Crystal, not a database to deploy.
Is BoJack open source?
Yes. BoJack is open source. License: MIT License.
Does BoJack support ACID transactions?
No. BoJack does not provide ACID transactions; its consistency model is strong.
Does BoJack scale horizontally?
BoJack does not scale horizontally; it runs on a single node, so you scale it up rather than out. It is comfortable at small scale (≤ 100 GB).
How can I run BoJack?
You can self-host it.
What is BoJack best for?
BoJack is a strong fit for learning how to build a networked key-value store and crystal language examples. Think twice for any real caching or storage workload.
What are the best alternatives to BoJack?
Common alternatives to BoJack include Redis, Valkey, Memcached, Dragonfly and Ehcache. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.
Is BoJack still maintained?
BoJack is discontinued. Learning project; repository archived, last release v0.1.1 (Aug 2016) and last commit January 2018.
How popular is BoJack?
BoJack ranks #628 of 844 databases on the WhichDB Score (0.5/100), and #115 among key-value databases. The score combines public adoption signals such as package downloads, GitHub activity, job posts and developer discussion.


