Why Nostr? What is Njump?
2023-03-17 22:11:01
in reply to

lamp on Nostr: #[0] As per , the only reason to be running multiple sidekiq processes is if one of ...

As per https://docs.joinmastodon.org/admin/scaling/#sidekiq-queues, the only reason to be running multiple sidekiq processes is if one of the higher queues kept getting full and blocking the following queues, but that's never gonna happen on this server with few local users, so you are wasting memory on idle threads. And you don't run multiple processes for CPU cores, the threads do that.

I would run one sidekiq process and turn up the concurrency on that until it maxes out all CPU cores on the system (or you fill up all the memory). Cause until one of YOUR resources are made the limiting factor, you're just wasting it and throwing more money at it won't help.

I'm guessing you have the hetzner model CPX31 or CX41?

But man, this makes me think about how inefficient and flawed activitypub is...
Author Public Key
npub18ctny2qrhjmwkptydzqfwmu5cjhwg5htvmjgjjcvu0xefq409sqqx4j7pp