Update README.md
This commit is contained in:
parent
b07de40e13
commit
9d13545932
1 changed files with 9 additions and 0 deletions
|
|
@ -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.
|
||||
|
||||

|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue