Backend & APIs
Servers, databases, API design, queues and auth.
I just moved our FastAPI service to a new server and set up nginx as the reverse proxy. Every request returns: the app logs show nothing, as if no request ever arrives. firewall is open, the process is running, port 3000 is listening 🤦 what on earth is…
long time lurker first post lol i swear I installed it. pip install dotenv finished cleanly, pip list shows it, and when i run the app by hand everything works... then VS Codes Run button starts it and i get this: same server, same repo, same user (i…
hmmmm ok we're a four person team running a payment and an inventory service, today they all talk JSON over HTTP and it works fine, but somenoe proposed moving internal traffic to gRPC: stronger contracts, generated clients, less hand written glue, half the…
ugh. this one is driving me crazy. after a reboot, a chunk of requests fail with this page: not all of them, maybe one in ten 👍 the Spring Boot app health check is green the whole time. my manager asked if we 'turned it off and on again' 😂 we did 🤦…
Were about to design the internal APIs for six microservices, greenfield. i keep going back and forth between plain REST with an OpenAPI spec and gRPC with protobuf. Performance is not our bottleneck right now, consistency is. What would u pick, and why? we…
This one is driving me crazy. right after I enabled HTTPS, a chunk of requests fail with this page: Not all of them, maybe one in ten. The Django app health check is green the whole time. My manager asked if we 'turned it off and on again'. We did. Several…
ugh. our Node API sits behind nginx on the same VM. It listens on 8000. Its been fine for months, but now only under load we get this: if i SSH in and curl localhost:8000 I get a 200 insatntly. Restarting nginx fixes it for a while. Im out of ideas and…
i just moved our Django app to a new server and set up nginx as the reverse proxy. Every request returns: The app logs show nothing, as if no request ever arrives. Firewall is open, teh process is running, port 5000 is listening. What on earth is nginx…
deploy night... everything passed locally on Python 3.9, so I pushed and let gunicorn pick it up... two seconds later the logs filled with red: the package is right there in site packages, i can see the folder lmao my teammate says it works on my machine and…