this post was submitted on 23 Jan 2023
33 points (100.0% liked)

Fediverse

17535 readers
47 users here now

A community dedicated to fediverse news and discussion.

Fediverse is a portmanteau of "federation" and "universe".

Getting started on Fediverse;

founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] anders@rytter.me 2 points 2 years ago (1 children)

@serenity @rom @eshep @f00fc7c8 I tried to import/move my profile to my own instance but I got an error saying page not found :S did you succeed with that`?

I agree with what you say. Is your experience that Friendica is slower than the others? My guess would be that Friendica is programmed in PHP which executes slower than other programming languages.

[–] shuro@friends.deko.cloud 2 points 2 years ago (1 children)

@eshep @serenity @f00fc7c8 @rom @anders I am not sure it is about PHP but it depends how you see it.

Friendica can be rather resource-intensive, especially for public instance. Some of them feel slow because they are somewhat overloaded. On badly overloaded servers delivery times suffer.

Also mostly static interface of Friendica which I like also means most operations reload the entire page. E.g. when you go to someone's profile it can take the same time (say 8 seconds) on Friendica and Misskey/Pleroma/Mastodon but on the latter you don't see the page redrawn - it stays the same and something spins loading the data. On Friendica you see full page reload. It is perceived slower.

Also in some aspects Friendica is inherently slower by design. E.g. when posting comment on Mastodon it is fired off right away (well, almost), on Friendica it is queued for delivery and the worker runs on interval (usually every 2-5 mins). It isn't a problem but feels more like email or old school forum while other platforms can feel more like instant messaging.

[–] anders@rytter.me 1 points 2 years ago (1 children)

@shuro

@serenity @rom @eshep @f00fc7c8 @fediverse

Good observations. Another thing about full page reload is that it will also put more load on the server.

On my Friendica server I am running the Daemon instead of Cronjob so for me it gets sent immediately :)

[–] shuro@friends.deko.cloud 2 points 2 years ago (1 children)

@eshep @serenity @f00fc7c8 @rom @anders Interesting, I didn't know about daemon. Can you share how you have it configured? I set my server some years ago, I think it didn't have this option back then but I'd like to try.

[–] anders@rytter.me 2 points 2 years ago (2 children)

@shuro

@serenity @fediverse @rom @eshep @f00fc7c8 @shuro

You start the Daemon with this command: cd /var/www/html && php bin/daemon.php start

If you don't have your Friendica installation in /var/www/html, change it to the proper location. You can run the command at system boot.

[–] shuro@friends.deko.cloud 2 points 2 years ago (1 children)

@eshep @serenity @f00fc7c8 @rom @anders Thanks, I'll try this and see how it compares with cron!

[–] anders@rytter.me 1 points 2 years ago (1 children)

@shuro

@serenity @fediverse @rom @eshep @f00fc7c8

Alright. Good luck 😃 feel free to ask if needed :)

[–] shuro@friends.deko.cloud 2 points 2 years ago (1 children)

@eshep @serenity @f00fc7c8 @rom @anders Thanks for the advice to switch to daemon - now it doesn't have delays before sending posts and comments.

Now it works even better :)

[–] anders@rytter.me 1 points 2 years ago (1 children)

@shuro

@serenity @fediverse @rom @eshep @f00fc7c8

You're welcome! Great to hear that :) I wonder why Cron job is the recommended method by Friendica. When I saw that in the installation guide I was like "naah I'll stick with the "non-recommended" method" 😃

[–] shuro@friends.deko.cloud 2 points 2 years ago (1 children)

@eshep @serenity @f00fc7c8 @rom @anders I wonder as well. Maybe Cron is considered more reliable as it starts new process every few minutes and if it fails for some reason it will be restarted automatically. Daemon requires more configuration.

[–] anders@rytter.me 2 points 2 years ago

@serenity @rom @eshep @f00fc7c8 @shuro yeah maybe.
I have it in a docker container with "restart: always" so if it crashes then it will just restart.

[–] anders@rytter.me 1 points 2 years ago

@serenity

@fediverse @rom @eshep @f00fc7c8 @shuro

I assume that you don't run it through Docker since you mentioned Cronjobs. Let me know if my assumption is wrong because then I can give some extra suggestions for that as well.