planetary-social / ansible-scripts

Ansible automation scripts used at Planetary
MIT License
2 stars 3 forks source link

Automate deployment of graphql updates #11

Closed chereseeriepa closed 1 year ago

chereseeriepa commented 1 year ago

Same as https://github.com/planetary-social/ansible-scripts/issues/10

Zach is working on this

cooldracula commented 1 year ago

This issue is addressed in planetary-social/ansible-scripts, PR#12, though it would be good to pair with y'all further on it. I cannot get the graphql service to stay up consistently. Is it running reliably on any of the 1gb/25gb droplets currently in use? I'd love to see how it's set up there so i can fix my build.

chereseeriepa commented 1 year ago

Did you get this sorted @cooldracula ?

cooldracula commented 1 year ago

@chereseeriepa , your advice on using pm2 helped a lot! The server seems to be more stable, but I think it might be because pm2 is handling the restarts and such. @mixmix and I took a look at a running server and it seems like it's using a lot more memory than it should need. We are going to pair later today on this and see if we can optimize its performance.

i think a combination of optimized code and pm2 will be the bee's knees on this!