mastodon.zunda.ninja is one of the many independent Mastodon servers you can use to participate in the fediverse.
Zundon is a single user instance as home of @zundan as well as a test bed for changes of the code.

Administered by:

Server stats:

1
active users

zunda

Last 24 hours with the default puma process (2) and thread (5):

Web:
- Max total memory 321.1 MB
- Max response time: 255 ms median, 1,599 ms 95%
- Max throughput 21 requests/min
Worker:
- Max total memory 247.9 MB

Let's see if I can reduce total memory on the web dyno:

heroku config:set MAX_THREADS=3

With decreased number of threads (3) on puma process (2):

Web:
- Max total memory: 286 MB
- Mat response time: 107 ms median, 735 ms 95%
- Max throughput: 15 request/min
Worker:
- Max total memory: 228 MB

Seems like I can combine two processes onto one dyno of 512 MB memory.

Plot is memory profile of the web dyno where puma threads are changed from 5 to 3 around 2017-04-21 01:00 UTC. https://mastodon.zunda.ninja/media/sTcqKyAhQbSKCz9fJ5E