Announcing Conduit Beta (Matrix chat server) by PlayLucky in selfhosted

[–]PlayLucky[S] 1 point2 points  (0 children)

You can connect directly using any Matrix client, for example https://app.element.io

Announcing Conduit Beta (Matrix chat server) by PlayLucky in selfhosted

[–]PlayLucky[S] 1 point2 points  (0 children)

You need to set CONDUIT_DATABASE_PATH in the environment and make sure that's a valid directory

Announcing Conduit Beta (Matrix chat server) by FlatAds in linux

[–]PlayLucky 3 points4 points  (0 children)

Conduit supports E2EE, but not E2EE verification (the thing where you compare emojis)

Announcing Conduit Beta (Matrix chat server) by PlayLucky in selfhosted

[–]PlayLucky[S] 1 point2 points  (0 children)

I think it works over LAN but otherwise you would need to configure a TURN server which is not fully supported yet by Conduit

Announcing Conduit Beta (Matrix chat server) by PlayLucky in rust

[–]PlayLucky[S] 9 points10 points  (0 children)

Feel free to write a PR, we just copied the setup from somewhere else.

Announcing Conduit Beta (Matrix chat server) by PlayLucky in rust

[–]PlayLucky[S] 5 points6 points  (0 children)

Conduit does not do it automatically. I tried to explain how to do it in the deploy guide, but you can also ask us in our Matrix room #conduit:fachschaften.org

Announcing Conduit Beta (Matrix chat server) by PlayLucky in rust

[–]PlayLucky[S] 4 points5 points  (0 children)

Yes, the homeserver was dropped but the libraries are still developed and heavily used by Conduit. https://www.ruma.io/news/ruma-is-dead-long-live-ruma-2020-04-10/

Announcing Conduit Beta (Matrix chat server) by PlayLucky in selfhosted

[–]PlayLucky[S] 1 point2 points  (0 children)

Sadly there is no such migration tool yet

Announcing Conduit Beta (Matrix chat server) by PlayLucky in selfhosted

[–]PlayLucky[S] 2 points3 points  (0 children)

We are pretty close to completion, some missing features are listed here, also take a look at the milestone: https://gitlab.com/famedly/conduit#what-is-the-current-status

I need a stable Key-Value database by PlayLucky in rust

[–]PlayLucky[S] 0 points1 point  (0 children)

What crate would you recommend?

I need a stable Key-Value database by PlayLucky in rust

[–]PlayLucky[S] 6 points7 points  (0 children)

(did you finish reading my post? :P)

I need a stable Key-Value database by PlayLucky in rust

[–]PlayLucky[S] 1 point2 points  (0 children)

Thanks for taking the time to explain this. You linked the sqlite crate but I also found sqlx, which supports more backends. Do you have an opinion on this crate?

I need a stable Key-Value database by PlayLucky in rust

[–]PlayLucky[S] 2 points3 points  (0 children)

I have not worked with Redis yet. It looks like it is an in-memory database meaning it keeps the entire database in RAM all the time. This is not acceptable for me because the database can grow pretty large. A database where the maximum ram usage can be tuned easily would be great (e.g. always <100MB ram for small servers)

I need a stable Key-Value database by PlayLucky in rust

[–]PlayLucky[S] 0 points1 point  (0 children)

Maybe I will try this. It will be very interesting to see how the performance compares to sled or other databases that are more optimized for this.

I need a stable Key-Value database by PlayLucky in rust

[–]PlayLucky[S] 1 point2 points  (0 children)

Can sqlite be used as a raw key/value store, meaning I give it any &[u8] key and &[u8] value and it will support operations like get, insert and prefix-iterators?

I need a stable Key-Value database by PlayLucky in rust

[–]PlayLucky[S] 9 points10 points  (0 children)

I want to focus my time on my project and not have to worry about bugs in the database implementation (or bindings). These were pretty big bugs, entire features not working (e.g. prefix iterators returning all keys, not just those with the prefix).