• 1 Post
  • 15 Comments
Joined 11 months ago
cake
Cake day: August 19th, 2023

help-circle


  • Mio@feddit.nutoSelfhosted@lemmy.worldGitHub - jeena/fxsync-docker
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    9 months ago

    Yes, you can write bad code and that matters most. Rust is more low level than high level language. Rust is new so not much bloat library has been written yet :) So far I have seen many lean Rust applications in the open source world. Please note I used the word “should” - no guarantees.

    SQLite makes minimum memory usage much lower than MySQL. Many that would selfhost this is just for one single user and don’t need a standalone database

    I can image that the application itself for doing this would not require much ram at all but having a MySQL requires much more ram usage in order of magnitudes.



  • Save in terms on load I mean CPU usage. The question is how much money they will save by we utilize this instead. I does think it is as heavy like ChatGPT or anything like that.

    Personally i dont save password in the browser. I use keepassxc and the web extension to the browser. But Firefox sync for all Firefox settings, sending tabs etc.




  • I use very simple software for this. My firewall can use route monitoring and failover and use policy based routing. I just send all traffic to another machine with the diagnosis part. It does ping through the firewall and fetch some info from the firewall. The page itself is not pretty but say what is wrong. Enough for parents to read what error. I also send DNS traffic to a special DNS server that responds with the same static ip address - enough for the browser to continue with a HTTP GET that the firewall will send forward to my landing page. It is sad that I don’t have any more problems since I changed ISP.

    Had a scenario when the page said gateway reachable but nothing more. ISP issue. DHCP lease slowly ran out. There were a fiber cut between our town and the next. Not much I could do about it. Just configured the IP static and could reach some friends through IRC in the same city so we could talk about it.

    The webpage itself was written in php that read icmp logs and showed the relevants logs of up and down. Very simple.



  • Mio@feddit.nuOPtoSelfhosted@lemmy.worldLocal repository for Linux packages
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    9 months ago

    I use it with Kubuntu. Doing apt update is now much faster. I did some testing and found some good public mirror so I could max my connection(100 Mbit) with about 15ms latency to the server. But I think the problem was there are so many small files. Running nala to fetch the files in parallel helps of course. With apt local ng I don’t need nala at all. The low latency and files on gigabit connection to my server leads to fast access. Just need to find a good way to fill it with new updates.
    A second problem is to figure out if something can be done to speed up the apt upgrade, which I guess is not possible. Workaround with snapshots and send diff does not sound efficient either, even on older hardware.

    apt update - 4 seconds vs 16 seconds.

    apt upgrade --download-only - 10 seconds vs 84 seconds;


  • First off. If Internet goes down I have a http captive portal that do some diagnos, showing where the problem is. Link on network interface, gateway reachable, dns working and dhcp lease. Second, now when it is down, show the timestamp when it went down. Third, phone number to the ISP and city fiber network owner.

    Forth. Watch my local RSS feed and email folder. Also have something to watch from Youtube or Twitch game downloaded locally.