Update README.md

This commit is contained in:
Alpha Nerd 2025-08-26 19:51:36 +02:00 committed by GitHub
parent b07de40e13
commit 9d13545932
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -25,4 +25,13 @@ uvicorn router:app --host 127.0.0.1 --port 12434
# Routing
NOMYO Router accepts any Ollama request on the configured port for any Ollama endpoint from your frontend application. It then checks the available backends for the specific request.
When the request is embed(dings), chat or generate the request will be forwarded to a single Ollama server, answered and send back to the router which forwards it back to the frontend.
If now a another request for the same model config is made, NOMYO Router is aware which model runs on which Ollama server and routes the request to an Ollama server where this model is already deployed.
If at the same time there are more than max concurrent connections than configured, NOMYO Router will route this request to another Ollama server for completion.
This way the Ollama backend servers are utilized more efficient than by simply using a wheighted, round-robin or least-connection approach.
![routing](https://github.com/user-attachments/assets/ed05dfbb-fcc8-4ff2-b8ca-3cdce2660c9f)