lucid-kv / lucid Goto Github PK
View Code? Open in Web Editor NEWHigh performance and distributed KV store w/ REST API. ๐ฆ
Home Page: https://clintnetwork.gitbook.io/lucid/
License: MIT License
High performance and distributed KV store w/ REST API. ๐ฆ
Home Page: https://clintnetwork.gitbook.io/lucid/
License: MIT License
net2
crate has been deprecated; usesocket2
instead
Details | |
---|---|
Status | unmaintained |
Package | net2 |
Version | 0.2.34 |
URL | deprecrated/net2-rs@3350e38 |
Date | 2020-05-01 |
The net2
crate has been deprecated
and users are encouraged to considered socket2
instead.
See advisory page for additional details.
Hey @CephalonRho,
I really enjoy the work that you do to migrate on warp
, but we need to reimplement some minor stuff, it's the reason why I do this issue!
webui/dist
) for the /
route~[feb452c]Server
requests logging [f3bf3cd]If you want to achieve this, you can re-use the warp-migration
branch.
Best regards
Hi,
It could be great to make a GitHub action that automatically adds Linux, Windows and Mac build each commit!
Best regards
Hi,
I will try to define the Roadmap of Lucid for the Alpha Version.
stderr
for warning or error entriesIn my opinion, for now, we need to concentrate our work on core features and not on CLI/clients.
Hi,
About object expirations, what do you think @CephalonRho? We have two ways to proceed:
Best regards
Hi!
I want to write a go client for my project and use Lucid. I would like to clarify the status of the project.
Have you abandoned development?
When attempting to goto the docs i get an NXDomain result from chrome.
HI, I've created the lucid.yml
in a working dir, copied from https://raw.githubusercontent.com/lucid-kv/lucid/master/.github/lucid.yml
and am running the commands from the doc:
$ docker pull lucidkv/lucid
$ docker run -p 7020:7020 -v lucid.yml:/etc/lucid/lucid.yml lucidkv/lucid
The image pulls fine, but on run it fails:
~\lucid> docker pull lucidkv/lucid
Using default tag: latest
latest: Pulling from lucidkv/lucid
Digest: sha256:e01de90076070ced15ec03cdc0b30451be4b00b3edb40b190496386ca6545351
Status: Image is up to date for lucidkv/lucid:latest
docker.io/lucidkv/lucid:latest
~\lucid> docker run -p 7020:7020 -v ./lucid.yml:/etc/lucid/lucid.yml lucidkv/lucid
Error: Unable to read the Lucid configuration file: Is a directory (os error 21)
What needs to happen? I'm on Windows, docker enabled for linux containers.
Hi,
This issue is related to ACLs
Best regards
spin is no longer actively maintained
Details | |
---|---|
Status | unmaintained |
Package | spin |
Version | 0.5.2 |
URL | mvdnes/spin-rs@7516c80 |
Date | 2019-11-21 |
Unaffected versions | > 0.5.2 |
The author of the spin
crate does not have time or interest to maintain it.
Consider lock_api
(a subproject of
parking_lot
) as an alternative which also supports no_std
environments.
See advisory page for additional details.
Benchmark software used: https://github.com/codesenberg/bombardier
2019/11/02 00:21:47 [INFO] lucid.exe: GET /api/
2019/11/02 00:21:47 [INFO] lucid.exe: GET /api/
2019/11/02 00:21:47 [INFO] lucid.exe: GET /api/
2019/11/02 00:21:47 [INFO] lucid.exe: GET /api/
2019/11/02 00:21:47 [INFO] lucid.exe: GET /api/
2019/11/02 00:21:47 [INFO] lucid.exe: GET /api/
2019/11/02 00:21:47 [INFO] lucid.exe: GET /api/
2019/11/02 00:21:47 [INFO] lucid.exe: GET /api/
thread '<unknown>' has overflowed its stack
arr! macro erases lifetimes
Details | |
---|---|
Package | generic-array |
Version | 0.12.3 |
URL | fizyk20/generic-array#98 |
Date | 2020-04-09 |
Patched versions | >=0.14.0 |
Unaffected versions | <0.8.0 |
Affected versions of this crate allowed unsoundly extending
lifetimes using arr!
macro. This may result in a variety of
memory corruption scenarios, most likely use-after-free.
See advisory page for additional details.
Hello, I want to contribute to the test cases section of this repository. Is there any scope for it? If yes then I can create issues as testing and work on them.
Hey @CephalonRho,
Do you think we can move the configuration parsing part before fern, I mean before Dispatch::new
?
Why? To configure logging:
Maybe you can do that with a smarter view, and maybe you have put Dispatch here for a good reason, but I think it's a good thing to do that to improve logging.
Preview:
PS: I will surely close #49 because it's outdated
Uncontrolled recursion leads to abort in deserialization
Details | |
---|---|
Package | yaml-rust |
Version | 0.3.5 |
URL | chyh1990/yaml-rust#109 |
Date | 2018-09-17 |
Patched versions | >= 0.4.1 |
Affected versions of this crate did not prevent deep recursion while
deserializing data structures.
This allows an attacker to make a YAML file with deeply nested structures
that causes an abort while deserializing it.
The flaw was corrected by checking the recursion depth.
See advisory page for additional details.
Hi,
I think we can add a /api/settings
endpoint to get and set configuration parameters!
The goal is to dynamically change the configuration like authentication or persistence without rebooting.
Best regards
Hi,
I'm looking for a nice logo, if anyone has an idea, use this issue ๐
Some guidelines:
Thanks
If we can add configure serde_yaml to don't crash when we have missing configuration section if could be great ๐๐ผ
Hi,
The SSE part will be implemented to broadcast objects changes, what could be the right endpoints in a REST API?
Best regards
Hey,
We need to implement benchmarks in the repository by using this: https://doc.rust-lang.org/1.2.0/book/benchmark-tests.html
Best regards
Hey,
In Lucid we have a Logger
impl that print logging information to the stdout.
It could be cool to implement some new stuff like this:
Server
etc.)Best regards
Error on antergos (archlinux)
2019/10/30 00:48:48 [ERROR] ./lucid: Unable to initialize Lucid node.
2019/10/30 00:48:48 [ERROR] ./lucid: Unable to get the Lucid configuration folder.
You should commit Cargo.lock in the repository, just as you would commit yarn.lock in the repository.
Hi,
@CephalonRho now you have migrated to warp
, do you know how we can serve webui/dist
but packed into the binary and not from the folder?
I had spoken with @jolhoeft in the past to do this with Nickel
in the past (nickel-org/nickel.rs#441), but with warp
I don't know how we can do this.
Best regards
Hi,
This is the roadmap for Beta release.
Hey,
In order to begin the development of the WebUI, theses features are needed:
Kind regards
Hey,
About the Lucid threads settings, what could be the good option to setup?
Related to: https://github.com/clintnetwork/lucid/blob/master/src/server.rs#L153
Best regards
Hi,
About the encryption, @Slals is currently implementing Serpent cipher in the block-cipher
crate.
When it will be good, we can start integrating it with lucid!
Best regards
The following is the failure information obtained after running cargo run
:
error: failed to run custom build command for `ring v0.16.9`
But if I replace the ring package with ring = "0.16.20"
, it can run. Is it a compatibility problem? thanks.
Hey,
I think that we can do two kinds of persistence:
Comment if you have any idea
Hi,
While I was eating a cake I think about making exporting/dump function.
What do you think @CephalonRho?
Best regards
Connection timeout each time.
cli.yml
crate has been renamed to
block-cipher
Details | |
---|---|
Status | unmaintained |
Package | block-cipher-trait |
Version | 0.6.2 |
URL | RustCrypto/traits#139 |
Date | 2020-05-26 |
This crate has been renamed from block-cipher-trait
to block-cipher
.
The new repository location is at:
<https://github.com/RustCrypto/traits/tree/master/block-cipher>
See advisory page for additional details.
Hi,
From a certain time, I think about renaming Lucid to Lucy, I would like to keep this issue opened and I want to know what you think about that!
Anyway It's not really important, and I think we will keep this name, but if Lucy makes a consensus we will rename it.
Best regards
rust-crypto is unmaintained; switch to a modern alternative
Details | |
---|---|
Status | unmaintained |
Package | rust-crypto |
Version | 0.2.36 |
URL | DaGenix/rust-crypto#440 |
Date | 2016-09-06 |
Unaffected versions | > 0.2.36 |
The rust-crypto
crate has not seen a release or GitHub commit since 2016,
and its author is unresponsive.
We recommend you switch to one of the following crates instead, depending on
which algorithms you need:
x25519-dalek
ed25519-dalek
ring
:
aes-gcm
, aes-gcm-siv
, aes-siv
, chacha20poly1305
, xsalsa20poly1305
aes
, cast5
, des
sha2
, sha3
, blake2
, ripemd160
(legacy: sha-1
)hkdf
cmac
, hmac
, pmac
, poly1305
pbkdf2
aes-ctr
, chacha20
, hc-256
, salsa20
secp256k1
:
sodiumoxide
:
See advisory page for additional details.
Hi,
Actually Lucid contains a Dockerfile
but it doesn't really work and it's not pushed on Docker Hub.
Normally the Docker Organization is created right now, I will push the container when it will be done.
Best regards
Hi,
I think we need to respect the standards with;
/etc/lucid/
as configuration folder/var/log/
as the log folderetc
@CephalonRho do you have an idea how to use /var/log
by example for the fern
part, and how we can do with Windows or Mac by example?
Best regards
Hey,
Actually, the PATCH
method is used to make special operations like this with a JSON object that define the operation and properties!
Maybe we can use some HTTP methods like LOCK
/ UNLOCK
or an other way.
This is some propositions to perform some operations.
curl -XPATCH -d 'LOCK' 'https://localhost:7021/api/kv/hello_world'
curl -XPATCH -d 'operation=lock' 'https://localhost:7021/api/kv/hello_world'
curl -XPATCH -d '{"operation": "LOCK"}' 'https://localhost:7021/api/kv/hello_world'
Best regards
I think it could be cool to have comments in documentation!
# When diskless replication is used, the master waits a configurable amount of
# time (in seconds) before starting the transfer in the hope that multiple replicas
# will arrive and the transfer can be parallelized.
#
# With slow disks and fast (large bandwidth) networks, diskless replication
# works better.
repl-diskless-sync no
Issue Opened on serde_yaml Github: dtolnay/serde-yaml#145
Hi,
In a previous discussion with @CephalonRho we spoke about adding compression to Lucid to improve file storage capabilities.
This issue will be used to discuss about compression library to uses and something like that!
Best regards
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.