News for hackers. Stuff that matters.
Re:Serverless Architectures by rapind on Monday July 18, 2016 @06:10PM (#12118335)
I laughed at the CGI reference, but TBH pub/sub + microservices feels really awesome and clean so far. Combined with DB as a service it's even better IMO.
Re:Serverless Architectures by marktangotango on Tuesday July 19, 2016 @05:32AM (#12120774)
I created Lite Engine[1] specifically as an alternative for this. Being able to POST and execute queries saved on the backend enables A LOT of functionality. Sqlite because it's simple to manage and allows massive multi tenancy for very low cost. And performs acceptably well for small/medium size work loads.

[1] https://www.lite-engine.com

Re:Serverless Architectures by sp527 on Monday July 18, 2016 @11:52PM (#12119474)
I was thinking DBaaS as well, which is the part that's usually under-emphasized. NoSQL for specific tasks and (sharded if needed) relational with stored procedures for anything complex. When you think of Postgres as its own (heavily optimized) server, it changes the game. For most apps, at that point you just need a passthrough layer exposing endpoints, which is usually a dead simple nodejs app behind a balancer. The rest of the heavy logic is then offloaded to the client. This is why full-stack makes sense now more than ever. It's getting so easy there's almost no excuse anymore.
Re:Serverless Architectures by wcummings on Wednesday July 20, 2016 @02:59PM (#12131550)
>This is why full-stack makes sense now more than ever. It's getting so easy there's almost no excuse anymore.

There's a plenty of good reasons to avoid SPAs.

Re:Serverless Architectures by sp527 on Thursday July 21, 2016 @12:11AM (#12134582)
I'd like to hear one. Server side rendering if/where needed, don't overload on NPM modules, drop jQuery entirely, react lib served by a CDN. SPAs fail in the hands of amatuers. They excel as a way of instituting rigor in dynamic site development when wielded by people who know what they're doing.
Re:Serverless Architectures by clebio on Monday July 18, 2016 @08:37PM (#12118815)
Could you expand on this a bit? Are you using Oauth for microservice authentication, or some such? How specifically does this address the parent comment. Honestly curious.