Putting some tests on canvas. My local env does say different thing, so takes some time to dig into. When pointing to avatar services, got a lot of 500s.
Source: GitHub - fantasticfears/letter-avatars-test
I would bet ImageMagick and fontconfig version will cause a lot of differences.
Update1: 500 is caused by…I exhausted the avatar service. Here is what we have now for official service:
Update2: @mpalmer My investigation is done. I would need the information of deploy environment to test the result.
I would bet MPC intermediate file will be much faster than PNG file, so I would update the command if applicable.
I can exhaust the service because of only 16 threads. But that’s because file IO. Nginx should queue all those requests before bombing the ruby scripts.