A faster heart for F-Droid. Our new server is here

(f-droid.org)

98 points | by kasabali 3 hours ago

7 comments

  • mcsniff 43 minutes ago
    Ugh. This 100% shows how janky and unmaintained their setup is.

    All the hand waving and excuses around global supply chains, quotes, etc...it took pretty long for them to acquire commodity hardware and shove it in a special someone's basement and they're trying to make it seem like a good thing?

    F-Droid is often discussed in the GrapheneOS community, the concerns around centralization and signing are valid.

    I understand this is a volunteer effort, but it's not a good look.

    • lrvick 36 minutes ago
      As someone that has run many volunteer open source communities and projects for more than 2 decades, I totally get how big "small" wins like this are.

      The internet is run on binaries compiled in servers in random basements and you should be thankful for those basements because the corpos are never going to actually help fund any of it.

    • lukan 26 minutes ago
      "I understand this is a volunteer effort, but it's not a good look."

      I would agree, that it is not a good look for this society, to lament so much about the big evil corporations and invest so little in the free alternatives.

    • xandrius 19 minutes ago
      "Nothing is ever good enough" (tm)
    • viraptor 21 minutes ago
      > shove it in a special someone's basement

      They didn't say what conditions it's held in. You're just adding FUD, please stop. It could be under the bed, it could be in a professional server room of the company ran by the mentioned contributor.

  • valgaze 1 hour ago
    Hmm:

    “F-Droid is not hosted in just any data center where commodity hardware is managed by some unknown staff. We worked out a special arrangement so that this server is physically held by a long time contributor with a proven track record of securely hosting services. We can control it remotely, we know exactly where it is, and we know who has access.”

    • skiing_crawling 58 minutes ago
      I never questioned or thought twice about F-Droid's trustworthiness until I read that. It makes it sound like a very amateurish operation.

      I had passively assumed something like this would be a Cloud VM + DB + buckets. The "hardware upgrade" they are talking about would have been a couple clicks to change the VM type, a total nothingburger. Now I can only imagine a janky setup in some random (to me) guy's closet.

      In any case, I'm more curious to know exactly what kind hardware is required for F-Droid, they didn't mention any specifics about CPU, Memory, Storage etc.

      • AndrewDucker 43 minutes ago
        For a single server why would you use cloud services rather than go the self-owned route?
        • skiing_crawling 31 minutes ago
          A "single server" covers a pretty large range of scale, its more about how F-droid is used and perceived. Package repos are infrastructure, and reliability is important. A server behind someone's TV is much more susceptible to power outages, network issues, accidents, and tampering. Again, I don't know that's the case since they didn't really say anything specific.

          > not hosted in just any data center where commodity hardware is managed by some unknown staff

          I took this to mean it's not in a colo facility either, assumed it mean't someone's home, AKA residential power and internet.

          • AndrewDucker 15 minutes ago
            Ah. I took "not just any data center" to mean "in a specific co-location facility where they trust the person responsible for it".

            I agree that "behind someone's TV" would be a terrible idea.

    • IshKebab 1 hour ago
      "F-Droid is not hosted in a data centre with proper procedures, access controls, and people whose jobs are on the line. Instead it's in some guy's bedroom."

      Not reassuring.

      • a3w 22 minutes ago
        Depends on the thread model, which one is worse.

        State actor? Gets into data centre, or has to break into a privately owned apartment.

        Criminal/3rd party state intelligence service? Could get into both, at a risk or with blackmail, threats, or violence.

        Dumb accidents? Well, all buildings can burn or have an power outage.

      • PaulKeeble 33 minutes ago
        It could just be a colo, there are still plenty of data centres around the globe that will sell you a space in a shared rack with a certain power density per U of space. The list of people who can access that shared locked rack is likely a known quantity with most such organisations and I know in the past we had some details of the people who were responsible for it
      • pwndByDeath 27 minutes ago
        I think there are countless examples of worse failures by organisations that meet your criteria for far more valuable assets than some free apps.
      • gpm 53 minutes ago
        Eh...

        The set of people who can maliciously modify it is the people who run f-droid, instead of the cloud provider and the people who run f-droid.

        It'd be nice if we didn't have to trust the people who run f-droid, but given we do I see an argument that it's better for them to run the hardware so we only have to trust them and not someone else as well.

        • lrvick 33 minutes ago
          You actually do not have to trust the people who run f-droid for those apps whose maintainers enroll in reproducible builds and multi-party signing, which only f-droid supports unlike any alternatives.
          • gpm 17 minutes ago
            That looks cool, which might just be the point of your comment, but I don't think it actually changes the argument here.

            You still have to trust the app store to some extent. On first use, you're trusting f-droid to give you the copy of the app with appropriate signatures. Running in someone else's data-center still means you need to trust that data-center plus the people setting up the app store, instead of just the app store. It's just a breach of trust is less consequential since the attacker needs to catch the first install (of apps that even use that technology).

        • ejj28 32 minutes ago
          The cloud isn't the only other option, they could still own and run their own hardware but do it in a proper colocation datacenter.
      • TomatoCo 1 hour ago
        In some respects, having your entire reputation on the line matters just as much. And sure, someone might have a server cage in their residence, or maybe they run their own small business and it's there. But the vagueness is troubling, I agree.

        A picture of the "living conditions" for the server would go a long way.

      • ugh123 1 hour ago
        The 'cloud' has come full circle
  • kasabali 3 hours ago
    Context: "F-Droid build servers can't build modern Android apps due to outdated CPUs" (https://news.ycombinator.com/item?id=44884709)
  • PaulKeeble 30 minutes ago
    Modern machines go up to really mental levels of performance when you think about it and for a lot of small scale things like F droid I doubt it takes a lot of hardware to actually host it. A lot of its going to be static files so a basic web server could put through 100s of thousands of requests and even on a modest machine saturate 10 gbps which I suspect is enough for what they do.

    This just reads to me like they have racked a box in a colo with a known person running the shared rack rather than someone’s basement but who really knows they aren't exactly handing out details.

    • wtallis 6 minutes ago
      This isn't about a server for hosting the website or package repo, it's about the server building all the packages.
  • JimBlackwood 12 minutes ago
    While I get their setup is amateurish, it's also a good reminder of how simple setups can be.

    Saying this on HN, of course.

  • NoiseBert69 1 hour ago
    So.. what kind of hardware did they buy?
    • IshKebab 1 hour ago
      Yeah kind of conspicuously absent! They said

      > The previous server was 12 year old hardware

      which is pretty mad. You can buy a second hand system with tons of ram and a 16-core Ryzen for like $400. 12-year old hardware is only marginally faster than a RPi 5.

      • phantom784 16 minutes ago
        Plus the fact that it's been running for 5 years. Does that mean they bought 7 year old hardware back then? Or is that just when it was last restarted?
      • DaSHacka 37 minutes ago
        > 12-year old hardware is only marginally faster than a RPi 5.

        A Dell R620 is over 12 years old and WAY faster than a RPi 5 though...

        Sure, it'll be way less power efficient, but I'd definitely trust it to serve more concurrent users than a RPi.

      • cvwright 49 minutes ago
        Unfortunately you can’t even get the RAM for $400 anymore.
  • websiteapi 38 minutes ago
    > Another important part of this story is where the server lives and how it is managed. F-Droid is not hosted in just any data center where commodity hardware is managed by some unknown staff.

    > The previous server was 12 year old hardware and had been running for about five years. In infrastructure terms, that is a lifetime. It served F-Droid well, but it was reaching the point where speed and maintenance overhead were becoming a daily burden.

    lol. if they're gonna use gitlab just use a proper setup - bigco is already in the critical path...