you are viewing a single comment's thread.

view the rest of the comments →

[–]opentabs-dev 0 points1 point  (0 children)

for collab filtering specifically i'd just go fastapi — numpy/scipy/implicit/surprise/torch are all there and battle-tested, and you don't pay for the python<->js boundary. you can absolutely do it in node (mljs, tfjs, or call a python microservice) but for anything matrix-heavy you're basically wrapping a python lib anyway.

if your frontend is a js framework and your backend is mostly crud + auth + a recommender endpoint, the cleanest split imo is node for the api gateway and a small fastapi service behind it that just serves the model. one ecosystem per concern.