Needs advice
on
LaravelLaravel
and
Node.jsNode.js

I want to create a video sharing service like Youtube, which users can use to upload and watch videos. I prefer to use Vue.js for front-end. What do you suggest for the back-end? Node.js or Laravel ( PHP ) I need a good performance with high speed, and the most important thing is the ability to handle user's requests if the site's traffic increases. I want to create an algorithm that users who watch others videos earn points (randomly but in clear context) If you have anything else to improve, please let me know. For eg: If you prefer React to Vue.js. Thanks in advance

READ LESS
5 upvotes·118.5K views
Replies (7)
Frontend Developer at RootFox·
Recommends
Node.js

Node is single-threaded by default, so you'll need to work on it. In the other hand, Node is better because you are already working with JavaScript as Frontend developer. Also, all you need is to make a prototype and Node is great for building simple API prototypes so I think the best way would be: make a nodejs prototype and test it - you'll get numbers with which you can work later. Take a look at Artillery.io and Mocha for testing. After that you can ask for someone's help in rewriting some endpoints or even make a separate api endpoint using another framework / language. Nginx would be helpful in this.

READ MORE
3 upvotes·1 comment·46.3K views
Kees De Kooter
Kees De Kooter
·
November 8th 2019 at 7:53AM

Single-threaded-ness is not a limitation, on the contrary! Node.js's event loop architecture enables high performance and high concurrency.

So by all means: go for node.js and write end-to-end JavaScript.

·
Reply
Recommends
Node.js

Node is light and scalable and has been used widely for enterprise solutions that need faster response, reliability and better performance. But at the end of the day, for me, when I start a project, I don't shoot for the stars. I build a small application with the possibility to scale in the future that will test my business idea. If the idea is getting volume then I really start thinking about how am I going to build this aiming a specific volume.

READ MORE
13 upvotes·51.7K views
View all (7)
Avatar of Alexander Trapholov

Alexander Trapholov

Frontend Developer at RootFox