Hi, who can tell you how to use KeyDB (https://keydb.dev) on FreeBSD?
Please tell me where to start preparing this package, I'm ready to do it!You build a port for it, submit it and then it'll be available. Or find someone willing and able to do that for you.
Hello, Canada! Thank you.Looking at their page they say they are porting to FreeBSD at some point, but they seem to think it's currently Linux-only?
![]()
GitHub - Snapchat/KeyDB: A Multithreaded Fork of Redis
A Multithreaded Fork of Redis. Contribute to Snapchat/KeyDB development by creating an account on GitHub.github.com
KeyDB can be compiled and is tested for use on Linux. KeyDB currently relies on SO_REUSEPORT's load balancing behavior which is available only in Linux. When we support marshalling connections across threads we plan to support other operating systems such as FreeBSD.
"Only available in Linux" makes it seem like a rather difficult project to start on FreeBSD.
It seems to be a fork of Redis, so you could have look at the FreeBSD port of that and see if that helps.
To prepare this package, you need to download the source from github and make it compile and work on FreeBSD and test it etc.
There's the FreeBSD porters handbook, but that doesn't seem to be online at the moment: https://docs.freebsd.org/en_US.ISO8859-1/books/porters-handbook/
For example:So I downloaded this project from the repository and tried to compile it by pre-installing the dependencies, but not all similar dependencies could be found for Freebsd (looking at ubuntu).
sudo apt install build-essential nasm autotools-dev autoconf libjemalloc-dev tcl tcl-dev uuid-dev libcurl4-openssl-dev git
FreeBSD Porter's HandbookPlease tell me where to start preparing this package, I'm ready to do it!
If I believe this, setsockopt(2), FreeBSD supports this option:KeyDB can be compiled and is tested for use on Linux. KeyDB currently relies on SO_REUSEPORT's load balancing behavior which is available only in Linux. When we support marshalling connections across threads we plan to support other operating systems such as FreeBSD.
But I don't know since which version.SO_REUSEPORT_LB enables duplicate address and port bindings with
load balancing