JoshyPHP I don't dispute that changing infrastructure can reduce costs, I'm asking how it would apply to Flarum, an application that does not perform batch processing on a multitude of servers. So far I am unconvinced.
It would apply like it applies to any other regular website. The main point, besides cost saving is streamlining your infrastructure for future use. No point in having diverse infrastructure when you can have everything simplified.
JoshyPHP The same argument applies to AWS or whichever cloud computing provider you would use. The Serverless framework currently supports 7 providers: AWS, Azure, OpenWhisk, Google Cloud, Kubeless, Spotinst and Webtasks. I do not believe that the people who want to host a Flarum instance are more likely to have an account on one of those providers than they are to have an account on a traditional web host such as HostGator.
This is your problem, you live only for the present while I'm talking about the future. Do you want Flarum to forever be used by individuals, or do you want it to become universally accepted? If you want it to be widespread, then you have to take into account corporations, and for them serverless is the future.
JoshyPHP Automated backups (database and/or server imaging) is a service that many web hosts sell as an option. Cloud computing providers sometimes offer it as an option, and sometimes bundle it with the service.
What maintenance related to security do you think need to take place?
And for all those additional things, you need to pay for. With serverless you don't, its already included. And if you're not noticing, with the inclusion of all these services, you are moving closer and closer to a serverless architecture. From self hosting, to a remote hosting, to cloud to SaaS and finally, serverless. I just took this train of thought to its logical limit, you still haven't.
jordanjay29 many of your arguments can be applied the same to SaaS. Which would be more compatible with Flarum, and I believe still may be one of Toby's future goals, to have a managed hosting solution so users can focus on running their forums instead of maintaining servers. This doesn't require new technology or a code rewrite, though, just a middle man to manage the servers for you.
Same as above, that's fine for now, but soon enough people will move more and more to serverless. That's where everything is pointing to. I'm simply showing you the way. Why stop at SaaS when you can enticipate the future with serverless?
BartVB And of course there are frameworks to ease development of serverless apps/platforms. But these are highly incompatible with how Flarum works today. Most of the backend would need to be replaced.
And as I said, which you haven't read or haven't understood, once there are enough dev resources for Flarum, it can be done as a parallel version along side regular Flarum.
BartVB Besides, there is a whole world between setting up a LAMP server with Flarum and going serverless. If you go with shared hosting the hosting provider will take care of server maintenance. And if you use containers with a cloud server you also don't have to worry about server stuff. That would also result in a highly scalable solution where you won't go down to 0 $/month if the site isn't used, but for a small site cost will be low.
Most cost savings with serverless are for larger services which need to scale up and down quite often.
Great, and if you agree with that's all fine and well, why not take one more step and go serverless?
BartVB Anyway. It all comes down to demand, project scope and development resources. As I see it currently demand for a serverless version of Flarum is low, it's not within scope according to @Franz and development resources are focussed on getting a 'traditional' stable version out the door. Of course you are free to fork the project or create a serverless version of the Flarum backend.
Unfortunately, I'm working on my own project, so I'm not the right person to go to. I'm here to point to the future.