146
submitted 1 year ago by woelkchen@lemmy.world to c/linux@lemmy.ml

This repository is holding a working docker-compose setup for documentation pourpuses because syncstorage-rs's documentation is not very good to explain how to self host the new rust syncserver.

With help of it you can self host the new Firefox sync server, which is written in Rust and replaces the old python one, which is deprecated.

you are viewing a single comment's thread
view the rest of the comments
[-] JVT038@feddit.nl 20 points 1 year ago

Why does this need 3 mariadb containers?

[-] BlinkerFluid@lemmy.one 34 points 1 year ago

Well four is just a bit absurd

[-] dandroid@dandroid.app 23 points 1 year ago* (last edited 1 year ago)

Five is right out

[-] vector_zero@lemmy.world 12 points 1 year ago

Probably because it was built to support hundreds of thousands of users, versus the arguably unusual self-hosted single user instance.

[-] UntouchedWagons@lemmy.ca 8 points 1 year ago

Yeah the need for 3 mariadb containers is ridiculous.

[-] woelkchen@lemmy.world 7 points 1 year ago* (last edited 1 year ago)

Why does this need 3 mariadb containers?

Ask the author of the GitHub repo. He made the original !firefox@lemmy.ml submission and will get a notification when you ask there.

[-] insomniac@sh.itjust.works 4 points 1 year ago* (last edited 1 year ago)

One is just running a command and exiting. They seem to be using a separate container for sync storage and token storage. Not sure what those are but is likely set up this way for scaling. This could probably be pretty easily worked in to one container with a start up script that runs that SQL command. The overhead of running multiple Mariadb containers isn’t that much though so it probably doesn’t matter much.

[-] Rud_1UP@lemmy.world 2 points 1 year ago

At first I thought why not just SQLite instead of a mariaDB, because as a self hoster you'll probably have max 10 users on it anyway, is there a benefit to use mariaDB? Then noticed it's not 1 but 3 seperate DBs ¯\_(ツ)_/¯

this post was submitted on 27 Sep 2023
146 points (100.0% liked)

Linux

47409 readers
859 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS