paypal/junodb — 2.6k★ trên GitHub (Go). JunoDB is PayPal's home-grown secure, consistent and highly available key-value store providing low, single digit millisecond, latency at any scale.
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
# Setup junodb network and start junodb services
#etcd
#clustercfg
#storageserv
#proxy
#junoclient
# JunoDB proxy service listens on port
# :5080 TLS and :8080 TCP
docker/start.sh
Shutdown JunoDB services
# This will shutdown junodb services
#etcd
#clustercfg
#storageserv
#proxy
#junoclient
docker/shutdown.sh
Manually Run JunoDB services
#This can be done instead of ./start.sh to start up the docker services
cd $BUILDTOP/docker/manifest
# To run junodb services in --detach mode (recommended)
docker compose up -d
# Juno proxy service listens on port
# :5080 TLS and :8080 TCP
#To view the running containers
docker ps
# To stop junodb services
docker compose down
Generate Secrets for Dev
NOTE: secrets for TLS and Encryption can be generated for dev/testing.
sh $BUILDTOP/docker/manifest/config/secrets/gensecrets.sh
## generated secrets
# server.crt/server.pem - certificate/key for junodb proxy for TLS
# ca.crt - CA cert
# keystore.toml - sample keystore file
Validate JunoDB
Login to docker client and check connection with proxy
The following command logs in to the docker client and runs the ./junoload command directly. Junoload can be used for benchmarking juno server.
The proxy ip is aliased as "proxy"
The following sections explain the process for manually building the JunoDB server without Docker. These instructions are based on an Ubuntu 20.04.5 system
#Validate if deploy was successful by checking if the proxy (junoserv), storage (junostorageserv), and etcd (junoclusterserv) processes are running
ps -eaf | grep juno
#There should be 41 processes running
#5 for junoclusterserv (3 logs, 1 etcdsvr.py, 1 etcdsvr_exe)
#20 for junostorageserv (6 logs, 1 manager, 12 workers, 1 monitor)
#16 for junoserv (6 logs, 1 manager, 8 workers, 1 monitor)
Test out the server using junocli and junoload command
See instructions for junocli here
See instructions for junoload here
Run functional tests
#Assuming user is in $BUILDTOP folder
test/functest/configsetup.sh
cd test/functest
$BUILDTOP/release-binary/tool/go/bin/go test -v -config=config.toml
Run unit tests
#Assuming user is in $BUILDTOP folder
cd test/unittest
$BUILDTOP/release-binary/tool/go/bin/go test -v
Shutdown JunoDB Services
#Assuming user is in $BUILDTOP folder
script/deploy.sh stop
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/paypal/junodb là nguồn chính thức.
paypal/junodb có phải mã nguồn mở không?
Có — paypal/junodb phát hành theo license Apache-2.0, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/paypal/junodb.
paypal/junodb là gì?
paypal/junodb (paypal/junodb) là dự án Go trên GitHub. Theo mô tả gốc: JunoDB is PayPal's home-grown secure, consistent and highly available key-value store providing low, single digit millisecond, latency at any scale.
Đọc đầy đủ README ở tab phía trên.
Muốn nghe thêm một ý kiến về junodb?
Hỏi một AI đọc được trang này — một cú bấm là có ngay nhận định về junodb.