Elektrine
Log in Register
Paige Chat Timeline Gallery Friends Email Drive DNS Private DNS Domains VPN Kairo Nerve
Remote

Evan Phoenix

@evanphx@ruby.social
mastodon 4.7.3
  • Open on ruby.social

Bio-electric pattern matching meat

3003 Followers
191 Following
15 Posts
Joined October 30, 2022
Open post
Evan Phoenix @evanphx@ruby.social
· 47mo ago
Replying to
@jolvera@mas.pub Yeah, probably! I want to figure out a way to gather some usage data from installations to provide even better info as well. Also considering releasing a special puma-mastodon gem that will tweak these settings automatically.
18
1
0
0
Open post
Evan Phoenix @evanphx@ruby.social
· 47mo ago
Replying to
@getajobmike@ruby.social For sure! Setting WEB_CONCURRENCY to cores * 1.5 can result in puma soaking up 100% of the cpu. So if you're running sidekiq on the same cores, use 1 * cores or even 0.8 * cores is prudent.
7
8
6
0
Open post
Evan Phoenix @evanphx@ruby.social
· 47mo ago
Replying to
@rstockm@chaos.social @getajobmike@ruby.social Yeah, totally agree. I'm going to setup a google form to start gathering data now, that we could use for a calculator.
5
2
0
0
Open post
Evan Phoenix @evanphx@ruby.social
· 47mo ago
Replying to
@jan@toot.io @getajobmike@ruby.social 364M happy customers served.
2
0
0
0
Open post
Evan Phoenix @evanphx@ruby.social
· 47mo ago
Replying to
@benjamin@piaille.fr @jolvera@mas.pub Totes! As @getajobmike@ruby.social pointed out, gotta leave cpu headroom for others! 1 or 0.8 times core is safest.
2
0
1
0
Open post
Evan Phoenix @evanphx@ruby.social
· 47mo ago
Replying to
@JohanEmpa@mastodon.green I can't find one off hand atm. The quick answer is that you'll configure config/database.yml on the separate machine to point to the correct database, then when with new puma's started, you'll edit the nginx config to include the new machine's ip as a valid backend. Look for "rails cluster setup" guides, they should apply fine.
2
2
0
0
Open post
Evan Phoenix @evanphx@ruby.social
· 47mo ago
Replying to
@jolvera@mas.pub So the official tips don't give concrete suggestions about how to tune puma. So it's still correct, just not specific enough!
2
3
0
0
Open post
Evan Phoenix @evanphx@ruby.social
· 47mo ago
Replying to
@mwp@nodots.xyz @getajobmike@ruby.social Yup! Not being in cluster mode will save a small amount of memory as well.
1
0
0
0
Open post
Evan Phoenix @evanphx@ruby.social
· 47mo ago
Replying to
@leah@chaos.social Yeah, the core count vs memory definitely impacts the math. Did you find a happy balance? What was it?
0
2
0
0
Open post
Evan Phoenix @evanphx@ruby.social
· 47mo ago
Replying to
@thomasfricke@chaos.social @SheDrivesMobility@norden.social Sorry, don't know much of anything about mastodon the app itself, just happen to be versed in the rails architecture world!
0
0
0
0
Open post
Evan Phoenix @evanphx@ruby.social
· 47mo ago
Replying to
@thomasfricke@chaos.social Ah yes! I got wind this was going to happen, wonderful!
0
0
0
0
Open post
Evan Phoenix @evanphx@ruby.social
· 47mo ago
Replying to
@jolvera@mas.pub I’ll have to check!
0
4
0
0
Open post
Evan Phoenix @evanphx@ruby.social
· 47mo ago
Replying to
@renchap@oisaur.com Sure, I'm not currently a patreon so I don't have access, but definitely happy to jump on and help!
0
0
0
0
Open post
Evan Phoenix @evanphx@ruby.social
· 47mo ago
Replying to
@pieceofthepie@social.n8e.dev If puma is the only software running on the system, 1.5 * vCPU for WEB_CONCURRENCY is an easy place to start. If you're running sidekiq / nginx / postgres on the machine too, go for 0.8 * vCPU. Set MAX_THREADS to 16 and then see how it feels. You'll see a top end for the thread count, and then you'll know you need more WEB_CONCURRENCY or more raw cores.
0
0
0
0
Back
313k7r1n3
Elektrine

Tor hidden service

elekhj7afj4qnrr4yd3bkzslsyo5jgfxw3orgjkhlcxifueodybyiiad.onion

I2P eepsite

j6b6cyk6gjmepjih7jjadxgxvvf3lzzujljuu2v4biemzpg3naya.b32.i2p

Platform

  • Email
  • Chat
  • Timeline
  • VPN
  • DNS

Company

  • About
  • Contact
  • FAQ
  • Lite (no JS)

Legal

  • Terms of Service
  • Privacy Policy
  • Transparency Report
  • Report Abuse
  • Warrant Canary
  • VPN Policy

Support

  • support@elektrine.com
  • Report Security Issue
Mail client setup IMAP mail.elektrine.com:993 POP3 mail.elektrine.com:995 SMTP mail.elektrine.com:465
© 2026 Elektrine. All rights reserved. Server: 15:12:23 UTC