Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Not fast enough! I used it to call llama.cpp server but it would crash if requests were "too fast". Calling the llama.cpp server directly solved the issue.


Did you get "connection reset by peer" when you sent a bit too many requests perchance? I've never found the source of that in my programs. There's no server logging about it, connections are just rejected. None of the docs talk about this.


I don't remember the exact error name but the FastAPI server would just freeze.


a freeze is not a crash.


Interesting, I've used fastAPI to serve many thousands of requests a second (per process) for a production system. How were you buffering the requests?


You ran FastAPI app proper server like Uvicorn?


This sounds like a layer 8 problem


Honestly, that doesn't sound right. I'm curious what you mean by crash thoguh.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: