News for hackers. Stuff that matters.
Re:Serverless SQLite by ohnemint on Wednesday January 20, 2021 @05:39AM (#25844796)
I wouldn't be surprised if the term originated as a marketing tactic (e.g., AWS) to seed in people's heads the idea of not having to care about servers
Re:Serverless SQLite by deepstack on Wednesday January 20, 2021 @06:16AM (#25845044)
You hit the nail on the head. It is all about marketing for the new front-end developers who don't want to learn "server side" manipulation db, files, etc.

Personally the whole indexdb, localstorage really break the web page as a stateless model. Why do you need save so much local data to just maintain the session? Stop putting everything in the web browser.

Re:Serverless SQLite by ohnemint on Wednesday January 20, 2021 @07:03AM (#25845393)
I can see the value of serverless in general (not this hack necessarily) in small startups that don't have sysadmins on payroll but still want to rapidly deploy products with confidence that it will just work - all without worrying about infrastructure, scaling, etc.

What I'm curious is if (1) serverless is cheaper than hiring competent sysadmins who can maintain the infrastructure instead and (2) are these savings worth being locked into a chaotic architecture and boring proprietary tooling that is forced on you for the profit of the Google, Microsoft, and Amazon monopolies?

I've recently entered the job market and personally find no joy in working in serverless environments because of the latter.

Re:Serverless SQLite by jeltz on Wednesday January 20, 2021 @07:21AM (#25845560)
Personally I suspect that the chaotic tooling will waste more dev time than what the sysadmin time will cost you. So that it will be a net loss even before you consider lock-in and fees.
Re:Serverless SQLite by pdimitar on Wednesday January 20, 2021 @10:46AM (#25847753)
While a good argument in favor of the vendor locked-in serverless services can be made at the start of a project, it looks like a net loss during any other phase of the project.

It comes down to if you want to have generic and reusable sysadmins vs. cloud serverless specialists.

Re:Serverless SQLite by sojournerc on Wednesday January 20, 2021 @09:36AM (#25846882)
Heroku fits the bill for me. Very easy to manage and scale, still cheaper than an SRE or sysadmin.
Re:Serverless SQLite by ZephyrBlu on Wednesday January 20, 2021 @07:36AM (#25845692)
You don't need local state to maintain a session other than possibly storing a Token, but that's very small.

Storing data locally is often out of convenience or possibly for cached data for offline support.

There are valid reasons for maintaining local state.

Re:Serverless SQLite by jimbokun on Wednesday January 20, 2021 @09:41AM (#25846945)
> Why do you need save so much local data to just maintain the session? Stop putting everything in the web browser.

I guess that's to replace the traditional desktop application with something that can be deployed over the web?

Re:Serverless SQLite by recursive on Wednesday January 20, 2021 @10:39AM (#25847668)
Stateless was gone with the invention of cookies and authentication.
Re:Serverless SQLite by kitd on Wednesday January 20, 2021 @06:52AM (#25845313)
I think I heard it first wrt GAE, but I think it was more "wry observation" then than actual "thing".