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
6 upvotes·294.7K views
Replies (8)
Fullstack Developer at RootFox·
Recommends
on
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·133.9K 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
on
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
14 upvotes·143.5K views
View all (8)
Avatar of Alexander Vopilovskiy

Alexander Vopilovskiy

Fullstack Developer at RootFox