Please provide these four fields so I can craft the title: - Parent category: - Subc
#1
I've been really happy with the performance of my home lab setup for running local AI tasks. I'm using a refurbished HP Z2 Mini G4 workstation with 64GB of RAM and an RTX A2000 GPU, running on Ubuntu 22.04 LTS. The hardware is solid, but I'm struggling with the software side, specifically around creating a robust and user-friendly API integration layer so other applications in my home network can reliably send requests to the models. My current setup uses a basic Flask app, but it's not very stable under concurrent loads and lacks proper authentication for my planned use with Home Assistant automations and a custom mobile app. For those who have built similar gateways, what framework or toolstack would you recommend for building a production-grade API gateway in a 2024 home environment? Should I be looking at FastAPI with Uvicorn workers, or is a more dedicated solution like Traefik or Kong API Gateway worth the complexity for a small-scale deployment? Also, how are you handling API key management and request throttling to prevent my own scripts from overloading the system?
Reply


[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Forum Jump: