Hats off, guys. I can’t even imagine how hard it must have been for you guys to keep kbin.social up and running since yesterday.

As a recent refugee from Reddit, I promise to wind down my use of Reddit until such a time as/if when they get rid of their API restrictions. I promise to play my part towards the newly forming community here and create content for the community at large.

    • jdp23@kbin.social
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Fediverse servers are written in all kinds of languages. Mastodon is in Ruby (using Rails), Pleroma, Akkoma, and Bonfire in Elixir, GoToSocial is in Go, Misskey and Calckey in typescript (using Node). Whatever works!

    • Balemi@kbin.social
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      PHP is fine. Lets not forget it’s been used by the likes of Facebook, Wikipedia etc. which are much bigger websites then Kbin.

      • Kuiche@kbin.social
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Kinda. PHP is fine for web workloads. Don’t forget Facebook tried to move off PHP and wrote Hack/HHVM because of the performance. It just happens that PHP 7 was faster.

        I’ve not looked at the codebase, but there are probably some routines (search) that could be done faster outside pure PHP/Postgres.

        The dev seems to have done a pretty good job with this though, performance issues are likely server load more than the stack. Not sure what he’s running this on…

    • anony-mous356@kbin.social
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      This person (link below) is creating a nice reddit alt using Rust. I know its Rust because I spoke with them. I think this php site can work very efficient with proper caching, file storage (storing images and videos elsewhere), and db optimization. I think Flask/FastAPI is quite fast as well. I ran a small site using flask with 250 concurrent users using light calculations for the backend a couple years ago on my home server and it still loaded extremely fast. I am seriously curious what sort of server or shared hosting this site is being ran off of, because one article every 15min to an hour makes me believe its not extremely bogged down with traffic, yet its still not performant. Maybe its a host issue of being ran using a slow shared hosting service, idk.
      https://www.reddit.com/comments/13x0hzo

    • biscotty@kbin.social
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      If as the link suggests this is from 2018 a lot (!) has changed at least in the JS world and the Python world. Can’t speak for the others. Would be nice to see the underlying paper to see how the author defines the measurements, ie whose time is being measured, system (speed), development?