I'd like to share a thought I've had for a while. When creating a product, you want to make sure that your profit margins are high. A lot of times, server costs are a major expense, especially when running computationally expensive tasks. Something to keep in mind, is that a lot of times, you can use the customer's browser to run expensive tasks pertaining to them.
For example, the product I launched (https://mastershot.app/) is a video editor. When I just started creating it, I could have decided to go in one of two directions.
I decided to go the 2nd way. And thanks to that decision, I'm able to allow much more generous plans to customers. Other competitors who render the video on the server have to limit either the resolution/duration/storage limit in order to remain profitable. I, on the other hand can offer unlimited everything due to extremely low server costs (essentially just hosting a static site + a bit of backend).
So the next time your considering performing expensive server side operations, stop and think whether or not it's a viable client side computation.
** Something I'd like to note however is that you should never use one user's browser to perform tasks for another user. This is extremely unethical and your users won't appreciate it.