leo-project / leofs Goto Github PK
View Code? Open in Web Editor NEWThe LeoFS Storage System
Home Page: https://leo-project.net/leofs/
License: Apache License 2.0
The LeoFS Storage System
Home Page: https://leo-project.net/leofs/
License: Apache License 2.0
Could you detail a bit how you got the bash_bench driver working?
but the leofs driver gives me:
10:21:59.096 [debug] Supervisor folsom_sup started folsom_sample_slide_sup:start_link() at pid <0.70.0>
10:21:59.097 [debug] Supervisor folsom_sup started folsom_meter_timer_server:start_link() at pid <0.71.0>
10:21:59.098 [debug] Supervisor folsom_sup started folsom_metrics_histogram_ets:start_link() at pid <0.72.0>
10:21:59.098 [info] Application folsom started on node nonode@nohost
10:21:59.111 [debug] Supervisor basho_bench_sup started basho_bench_stats:start_link() at pid <0.65.0>
10:21:59.114 [debug] ID 1 generating range 0 to 20833
10:21:59.209 [error] Failed to initialize driver basho_bench_driver_leofs: {'EXIT',{undef,[{basho_bench_driver_leofs,new,[1],[]},{basho_bench_worker,worker_idle_loop,1,[{file,"src/basho_bench_worker.erl"},{line,201}]}]}}
While doing compaction, Since a src file will be read by ONLY sequential read
AND a dst file will be written by ONLY sequential write
, So we expect to improve compaction performance by using posix_fadvise.
ONLY OS processes of LeoFS Storage
should be able to handle raw files.
NOTE
As you may know, there are some limitations on the linux Implementations(see second link's chapter 0). But in our usecases, we have no effect with those limitations
New settings:
Access Key: 05236
Secret Key: 802562235
Encryption password:
Path to GPG program: /usr/bin/gpg
Use HTTPS protocol: False
HTTP Proxy server name:
HTTP Proxy server port: 0
Test access with supplied credentials? [Y/n] Y
Please wait, attempting to list all buckets...
ERROR: Test failed: no element found: line 1, column 0
The characteristic of compaction
causes polluting OS page caches.
The solution is already here(see below link)
A bit unsure on how to explain these things so I'll put the few issues we discussed here:
I am writing an installer for my dev env using information found on the quickstart guide.
#!/bin/bash
#http://www.leofs.org/docs/getting_started.html
#http://www.erlang.org/download_release/16
#https://github.com/leo-project/leofs
sudo apt-get install libncurses5-dev
http://www.erlang.org/download/otp_src_R14B04.tar.gz
tar xzf otp_src_R14B04.tar.gz
cd otp_src_R14B04
./configure --prefix=/usr/local/erlang/R14B04 --enable-smp-support --enable-m64-build --enable-halfword-emulator --enable-kernel-poll --without-javac --disable-native-libs --disable-hipe --disable-sctp --enable-threads
make
sudo make install
git clone https://github.com/leo-project/leofs.git
cd leofs
make
make release
the second last line of code produces this output
==> leo_commons (get-deps)
==> proper (get-deps)
==> jiffy (get-deps)
==> leo_logger (get-deps)
WARNING: deprecated port_envs option used
Option 'port_envs' has been deprecated
in favor of 'port_env'.
'port_envs' will be removed soon.
==> meck (get-deps)
WARNING: deprecated port_envs option used
Option 'port_envs' has been deprecated
in favor of 'port_env'.
'port_envs' will be removed soon.
==> bitcask (get-deps)
WARNING: deprecated port_envs option used
Option 'port_envs' has been deprecated
in favor of 'port_env'.
'port_envs' will be removed soon.
==> eleveldb (get-deps)
==> leo_backend_db (get-deps)
==> leo_object_storage (get-deps)
==> leo_mq (get-deps)
==> leo_redundant_manager (get-deps)
==> bear (get-deps)
==> folsom (get-deps)
==> leo_statistics (get-deps)
==> leo_s3_libs (get-deps)
==> leo_manager (get-deps)
==> lz4 (get-deps)
==> leo_ordning_reda (get-deps)
==> leo_storage (get-deps)
WARNING: deprecated port_envs option used
Option 'port_envs' has been deprecated
in favor of 'port_env'.
'port_envs' will be removed soon.
==> cherly (get-deps)
==> ecache (get-deps)
==> cowboy (get-deps)
==> leo_gateway (get-deps)
==> rel (get-deps)
==> leofs (get-deps)
==> leo_commons (compile)
ERROR: OTP release R15B01 does not match required regex R14B04|R15B02|R15B03
ERROR: compile failed while processing /home/paul/leofs/deps/leo_commons: rebar_abort
make: *** [compile] Error 1
Can't get a simple developer model deployment to run. Everything comes up, but spits out a 403 Forbidden when I access using s3cmd or DragonFS. Any logs I can look at to figure why it's failing ? I'm new to Erlang, but have loads of dev experience otherwise.
AVS
(a raw file on OS filesystem)gen_server
from blocking, must do compaction on another process.receive
regulaly.Currently we'd recommend LeoFS users using xfs
where to store raw data files,
but F2FS
might become more suitable one when using SSD.
let's check it out!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.