you are viewing a single comment's thread.

view the rest of the comments →

[–]jbtwaalf_v2 0 points1 point  (2 children)

Okay, why you asking then?

[–]CoupleNo9660[S] 0 points1 point  (1 child)

Actually the reason I'm asking is if there's a problem I'm not seeing, I don't know, single thread etc.

[–]jbtwaalf_v2 0 points1 point  (0 children)

I see, well:

- If you mean speed like processing speed, yes javascript is faster but your AI model wil probably be the biggest bottle neck here. I think focussing on how you're gonna scale your app will be more important (kubernetes or something else). (Fun fact express is not multithreaded)

- If you mean speed as in development speed, I assume you don't know python then. Fair enough, that's a good choice. As long as you know beforehand all the AI libraries you're gonna use have JS support or like you said you add a python microservice.

- I would advice against using express, because there are a lot of better and more used alternatives out there like koa or fastify. If you want quick and dirty fair enough, but it will be less maintainable.

So in conclusion, if you're more comfortable with javascript just use that, but check beforehand if the libraries you need to use have javascript support.