Elektrine
EN
Log in Register
Paige Chat Timeline Communities Gallery Videos Email DNS VPN Uptime Kairo
Back to Timeline
Remote

Evan Phoenix

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

Bio-electric pattern matching meat

0 Followers
0 Following
15 Posts
Joined October 30, 2022

Posts

Open post
evanphx
Evan Phoenix @evanphx@ruby.social · Nov 18, 2022
Evan Phoenix
@evanphx@ruby.social

Bio-electric pattern matching meat

ruby.social
Replying to @jan@toot.io
@jan@toot.io @getajobmike@ruby.social 364M happy customers served.
2
0
0
0
Open post
evanphx
Evan Phoenix @evanphx@ruby.social · Nov 18, 2022
Evan Phoenix
@evanphx@ruby.social

Bio-electric pattern matching meat

ruby.social
Replying to @rstockm@chaos.social
@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
evanphx
Evan Phoenix @evanphx@ruby.social · Nov 18, 2022
Evan Phoenix
@evanphx@ruby.social

Bio-electric pattern matching meat

ruby.social
Replying to @thomasfricke@chaos.social
@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
evanphx
Evan Phoenix @evanphx@ruby.social · Nov 18, 2022
Evan Phoenix
@evanphx@ruby.social

Bio-electric pattern matching meat

ruby.social
Replying to @thomasfricke@chaos.social
@thomasfricke@chaos.social Ah yes! I got wind this was going to happen, wonderful!
0
0
0
0
Open post
evanphx
Evan Phoenix @evanphx@ruby.social · Nov 18, 2022
Evan Phoenix
@evanphx@ruby.social

Bio-electric pattern matching meat

ruby.social
Replying to @renchap@oisaur.com
@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
evanphx
Evan Phoenix @evanphx@ruby.social · Nov 18, 2022
Evan Phoenix
@evanphx@ruby.social

Bio-electric pattern matching meat

ruby.social
Replying to @leah@chaos.social
@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
evanphx
Evan Phoenix @evanphx@ruby.social · Nov 18, 2022
Evan Phoenix
@evanphx@ruby.social

Bio-electric pattern matching meat

ruby.social
Replying to @JohanEmpa@mastodon.green
@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
evanphx
Evan Phoenix @evanphx@ruby.social · Nov 18, 2022
Evan Phoenix
@evanphx@ruby.social

Bio-electric pattern matching meat

ruby.social
Replying to @pieceofthepie@social.n8e.dev
@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
Open post
evanphx
Evan Phoenix @evanphx@ruby.social · Nov 18, 2022
Evan Phoenix
@evanphx@ruby.social

Bio-electric pattern matching meat

ruby.social
Replying to @evanphx@ruby.social
@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
evanphx
Evan Phoenix @evanphx@ruby.social · Nov 18, 2022
Evan Phoenix
@evanphx@ruby.social

Bio-electric pattern matching meat

ruby.social
Replying to @mwp@nodots.xyz
@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
evanphx
Evan Phoenix @evanphx@ruby.social · Nov 18, 2022
Evan Phoenix
@evanphx@ruby.social

Bio-electric pattern matching meat

ruby.social
Replying to @getajobmike@ruby.social
@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
evanphx
Evan Phoenix @evanphx@ruby.social · Nov 18, 2022
Evan Phoenix
@evanphx@ruby.social

Bio-electric pattern matching meat

ruby.social
Replying to @jolvera@mas.pub
@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
evanphx
Evan Phoenix @evanphx@ruby.social · Nov 18, 2022
Evan Phoenix
@evanphx@ruby.social

Bio-electric pattern matching meat

ruby.social
Replying to @evanphx@ruby.social
@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
2
0
0
Open post
evanphx
Evan Phoenix @evanphx@ruby.social · Nov 18, 2022
Evan Phoenix
@evanphx@ruby.social

Bio-electric pattern matching meat

ruby.social
Replying to @jolvera@mas.pub
@jolvera@mas.pub I’ll have to check!
0
1
0
0
Open post
evanphx
Evan Phoenix @evanphx@ruby.social · Nov 18, 2022
Evan Phoenix
@evanphx@ruby.social

Bio-electric pattern matching meat

ruby.social

To all mastodon admins:

Hi! I’m Evan Phoenix, the primary author of puma, the ruby webserver that powers mastodon!

Please reply or DM me if you need tuning help! I’ve got no officiation with the mastodon, just want to see you succeed!

(Quick Tip: set WEB_CONCURRENCY to core count * 1.5 and then tune MAX_THREADS. High thread values will see diminishing returns!)

2853
125
2293
0

Remote instance

ruby.social
Open on original server
313k7r1n3
Elektrine

Tor hidden service

elekhj7afj4qnrr4yd3bkzslsyo5jgfxw3orgjkhlcxifueodybyiiad.onion

Platform

  • Email
  • Chat
  • Timeline
  • Communities
  • VPN
  • DNS

Company

  • About
  • Contact
  • FAQ

Legal

  • Terms of Service
  • Privacy Policy
  • Warrant Canary
  • Lite (no JS)
  • VPN Policy
  • Source code

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: 01:23:35 UTC