Remix.run Logo
_R_ 2 days ago

On Android devices, it’s generally difficult for apps to maintain persistent background services. I’m curious how you were able to prevent Android from terminating the process, and how the Pixel 5 server managed to keep running?

cinimodev 2 days ago | parent [-]

It runs inside Termux, which has a persistent notification to keep it open in the background. I believe I also extended the max phantom process to prevent it from being killed.

leidenfrost 2 days ago | parent | next [-]

Question, why are you glad you didnt go for the PostmarketOS route? Do you think it's not worth it? Or that android is better in any way?

Just curious

cinimodev a day ago | parent [-]

The Pixel device I have is from a family member and it is locked to Verizon, who won't unlock the bootloader. I'm sure there's a work around, but I didn't think it was worth the effort. PostmarketOS is rad though, I have it running on an ancient Windows Surface RT.

indigodaddy 2 days ago | parent | prev [-]

Is your nginx proxy also caching the site? If so then that is probably contributing to the site stability under the HN load I would think?

cinimodev 2 days ago | parent [-]

It is not. Somehow the sticks and bubblegum are holding together.

indigodaddy 2 days ago | parent [-]

Wow even more impressive then..