Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Distributed event log storage for Urbit.

License

NotificationsYou must be signed in to change notification settings

wexpertsystems/seguro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is the work-in-progress repo for Phase 2 of the Seguro implementation fortheUrbit project.

More information:

Installation

Dependencies:

Configuration

After installing the clients and server packages of FoundationDB, the defaultserver should be reconfigured for local testing. This can be done using thefdbcli utility on Linux and MacOS:

fdbcliconfigure single ssd

This will set the default local FoundationDB cluster to store a single copy ofdata on disk.

Usage

Run tests

The following command will run all Seguro tests:

maketest

Alternatively, the unit or integration tests can be run separately from each other:

make test-unitmake test-integ

Run benchmarks

The following command will run all Seguro benchmarks:

make benchmark

Troubleshooting

The state of the local FoundationDB cluster can be monitored using thefdbcli utility. It's self-documented, butadditional information can be found in theofficial FoundationDB documentation.

However, be warned that thefdbcli can be finicky, and can lie. Some examples:

  • Complaining that there is no memory available with 12GB memory available
  • Complaining that there is no space on the drive available when there is 50GB space available
  • Errors during benchmark tests while thestatus command shows nothing wrong
  • No errors during benchmark tests while thestatus command shows memory and storage warnings

Soft Reset

If the test or benchmark suites suffer a fatal error, the local FoundationDB may be stranded in an unclean state. It maybe necessary to manually drop keys from the cluster to ensure tests/benchmarks accurately measurecorrectness/performance:

fdbcliwritemode onclearrange""\xFF

The above series of commands will drop all keys from the FoundationDB cluster.

Hard Reset

If the FoundationDB cluster becomes so broken during development that a hard reset is required, the following commandswill return the cluster to its initial state after a fresh installation:

sudo systemctl stop foundationdbsudo rm -rf /var/lib/foundationdb/datasudo systemctl start foundationdbfdbcliconfigure new single ssd

About

Distributed event log storage for Urbit.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp