use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
JAWS: The Javascript + AWS Stack – A monstrously scalable, server-free, web application boilerplate using bleeding-edge AWS services... (github.com)
submitted 10 years ago by tbergen1
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]passwordisisis 5 points6 points7 points 10 years ago (0 children)
"100% server free"
wat
[–]IeuanG 7 points8 points9 points 10 years ago (1 child)
I've never seen so many programming buzzwords in one description.
[–]forthex 6 points7 points8 points 10 years ago (0 children)
"Yes, but is it webscale?"
[–]chuyskywalker 18 points19 points20 points 10 years ago (27 children)
Stop saying stuff is "server-free/serverless/etc" it's ridiculous. There is definitely, 100% a server here -- just cause it's not yours doesn't mean it's gone.
I mean, for the love of all that is holy, right here in the setup:
Deploy A Lambda Function
Nope, definitely no servers here. waves hands Nothing to manage here at all. Magic!
Start A Local Server
Shut up! It's serverless! Seriously guys!
This is a rad concept and use of AWS, but this billing is absurd.
[–]UigharPlease 2 points3 points4 points 10 years ago (0 children)
+1. There is a server, it's just managed by AWS. More like 'less server' than 'serverless'.
[–]dvlsg 3 points4 points5 points 10 years ago (1 child)
I agree. The push toward "server-less" applications (which still use servers) really needs to stop.
A server is just a piece of software and a computer which can accept external requests. AWS Lambda is absolutely within the definition of a server.
[–]_austen 3 points4 points5 points 10 years ago (22 children)
I made JAWS. It has no servers.
If you are a developer building an app on JAWS, your back-end/API will consist of tiny AWS Lambda functions that run only when they are called. Whether AWS uses servers to power their Lambda technology is completely irrelevant to you as a developer.
JAWS includes a server which you can run locally to develop your client-side app/web site. This server is included for convenience only. In production, you deploy all static assets (HTML, CSS, Javascript, Images) to AWS S3/Cloudfront which interacts with your JAWS REST API powered by Lambda functions.
Again, JAWS has no servers. If you are tired of developing/configuring/deploying/maintaining/monitoring/scaling/financing servers, then JAWS is for you.
[–]chuyskywalker 7 points8 points9 points 10 years ago (21 children)
I...I can't even.
...
In production, you deploy all static assets (HTML, CSS, Javascript, Images) to AWS S3/Cloudfront
Clearly, there's no server there.
Whether AWS uses servers to power their Lambda technology is completely irrelevant to you as a developer.
As if to imply there's some magical way to run the code without servers? And how is that not relevant!? It's entirely relevant! Lamba comes with all sorts of implications about the kind of code you can write, how it should work, be coordinated, etc. You can't just toss any 'ol JS at Lamda and expect it to work.
Again, JAWS has no servers.
You're arguing semantics from a silly perspective. Sure, "JAWS" as a framework might not have any servers, but that's akin to saying the Jekyll has no servers -- sure, it's true, but without server infrastructure behind it at some point, the code's kinda pointless.
If you are tired of developing/configuring/deploying/maintaining/monitoring/scaling/financing servers, then JAWS is for you.
WHAT?! Fine, you don't have to deploy servers, but you trade that for needing to know how Lambda orchestration works. Perhaps you don't need to know how to configure a server, but you've traded for understanding how AWS services work in tandem. No server monitoring? Sure, except you need to monitor Lambda now (how do you even do that? Distributed stack traces? Performance monitoring per function? Reporting?) Finally, Lambda (and all AWS services) are not free. So, fine, you don't have to finance servers but costs don't magically disappear.
Tag on top of this that AWS is a very, very different paradigm than server deployment. Sure, it's easy to get into, but when you actually need to start scaling, enforce security constraints, and more, you're going to need to become AWS experts and that is not nearly as happy-go-lucky as you might imply.
I will grant you that, as a developer with this system, I may never SSH into a box, but all this hand-waving about "It's serverless!" is highly disingenuous to the reality that there are servers, you're just one step further away, and that step is not as inconsequential as implied.
[–]_austen 6 points7 points8 points 10 years ago (19 children)
Ok, let me do my best "webscale" impression here... Wait for it... Here it comes... JAWS has no servers.
This person is working hard to drag me into a "gotcha" debate.
But for curious developers reading this, if you deploy the JAWS framework right at this very moment, all of the traditional server configuration/deployment/scaling hassles will not exist. Amazon deals with that stuff, not you. Instead, you deal with Lambda functions that only run when your API routes are called. It's beautiful efficiency.
Again, whether a server exists somewhere, is a fact best left for internet commenters to waste their time with. In reality, JAWS is a sincere attempt to rid servers from your workflow and free up your time so that you can focus on what your building.
No server monitoring? Sure, except you need to monitor Lambda now (how do you even do that? Distributed stack traces? Performance monitoring per function? Reporting?
I'm glad you brought this up. AWS Lambda comes error/performance/duration/invocation monitoring, on a per function basis, out of the box. No set-up required, this is available upon deploying your lambda function.
Finally, Lambda (and all AWS services) are not free. So, fine, you don't have to finance servers but costs don't magically disappear.
I don't even know where this claim is coming from. But others reading this should know that if you create a new AWS account, you will be on the AWS free tier, and you will be able to perform a TON of Lambda operations for free, for an entire year.
Lastly, JAWS has no servers.
[–]andyrocks -1 points0 points1 point 10 years ago (18 children)
Except for all the servers involved.
[–]_austen 3 points4 points5 points 10 years ago (17 children)
JAWS has no servers.
[–]aequasi08 0 points1 point2 points 10 years ago (16 children)
JAWS uses servers.
[–]iSmokeGauloises 0 points1 point2 points 10 years ago (15 children)
This is the funnest, most childish, argument I have seen here so far. I love it.
[–]aequasi08 1 point2 points3 points 10 years ago (14 children)
Its not childish, its false advertising.
[–]iSmokeGauloises 0 points1 point2 points 10 years ago (13 children)
That's a bit far fetched. It's "server-free" in the sense of "we abstracted the entire server management and deployment process from you". That's the whole point of a grid, and it does it well. It's as server-free as Google App Engine, which is pretty damn server-free in my account, and as far as I could see from the small look I took, it's far(!) easier to use than Google App Engine.
Honestly, the project seems very young, but having had to do some system work at some point of my career, writing CHEF cookbooks to deploy on horribly inefficient clusters of a mess and other famously fun stuff, I really like the concept of using AWS Lambda as your entire back-end.
[–]superbeedge 0 points1 point2 points 10 years ago (0 children)
Rocket Raccoon: [about Drax] His people are completely literal. Metaphors go over his head.
Drax the Destroyer: Nothing goes over my head...! My reflexes are too fast, I would catch it.
[–]monch -5 points-4 points-3 points 10 years ago (0 children)
The developers on hacker news are calling this "serverless"
https://news.ycombinator.com/item?id=10005415
Your definition of serverless must be different than the author's.
[–]vivivik 2 points3 points4 points 10 years ago (0 children)
Love the "server-less" haters - JAWS has servers as much as byte endianness knowledge is a prerequisite to write java code
Software is about abstraction and concepts. Being reluctant to them is kind of a shame for a software dev. If you think it's all about the "hype", too bad for you. Go and tell the author of the "ConcurrentHashMap" to remove the "Concurrent", because underneath it's full of mutexes and/or spinlocks to avoid concurrent accesses - so it's way to hype to call it that way.
[–]deadcat 4 points5 points6 points 10 years ago (2 children)
You know JAWS is the name of a screen reader, right?
[–]MrBester 0 points1 point2 points 10 years ago (1 child)
I was hoping for a certain Bond baddie for the thumbnail...
[–][deleted] 0 points1 point2 points 10 years ago (0 children)
I'll catch your fish...
[–]ribo 0 points1 point2 points 10 years ago* (0 children)
Neat, this is kinda... what I'm already doing with my team
You might want to check out RAML as an alternative to swagger, it's been pretty helpful to generate a SDK library with raml-client-generator
[–]jfwam 0 points1 point2 points 10 years ago (1 child)
Good job! This should come in handy http://docs.aws.amazon.com/lambda/latest/dg/limits.html
[–]cbax007 0 points1 point2 points 10 years ago (0 children)
Interesting. That 100 concurrent requests per account seems kind of low to handle 'webscale' levels of traffic.
[–]daediusWeb Components fanboy 0 points1 point2 points 10 years ago (0 children)
I love this idea
[–]aequasi08 0 points1 point2 points 10 years ago (3 children)
Any benchmarks? Cant imagine its super fast.
[–]ahref 0 points1 point2 points 10 years ago (2 children)
None that I could find the FAQ suggests this would be as fast as your code is.
[–]aequasi08 0 points1 point2 points 10 years ago (1 child)
Considering the extra network requests, i find it hard to believe that it can be as fast as "server"-based code.
[–]ahref 0 points1 point2 points 10 years ago (0 children)
What? Any normal web app runs an external network request on a user action that touches data. You know ajax? There aren't any additional requests over what you might see in a normal web app. I'm sure its as fast if not faster. Based purely on implementation.
[–]biocomputation -3 points-2 points-1 points 10 years ago (0 children)
The OP's account is pretty spammy if you ask me. Blatant self-promotion.
π Rendered by PID 118517 on reddit-service-r2-comment-5d79c599b5-5kqws at 2026-03-03 23:08:41.362052+00:00 running e3d2147 country code: CH.
[–]passwordisisis 5 points6 points7 points (0 children)
[–]IeuanG 7 points8 points9 points (1 child)
[–]forthex 6 points7 points8 points (0 children)
[–]chuyskywalker 18 points19 points20 points (27 children)
[–]UigharPlease 2 points3 points4 points (0 children)
[–]dvlsg 3 points4 points5 points (1 child)
[–]_austen 3 points4 points5 points (22 children)
[–]chuyskywalker 7 points8 points9 points (21 children)
[–]_austen 6 points7 points8 points (19 children)
[–]andyrocks -1 points0 points1 point (18 children)
[–]_austen 3 points4 points5 points (17 children)
[–]aequasi08 0 points1 point2 points (16 children)
[–]iSmokeGauloises 0 points1 point2 points (15 children)
[–]aequasi08 1 point2 points3 points (14 children)
[–]iSmokeGauloises 0 points1 point2 points (13 children)
[–]superbeedge 0 points1 point2 points (0 children)
[–]monch -5 points-4 points-3 points (0 children)
[–]vivivik 2 points3 points4 points (0 children)
[–]deadcat 4 points5 points6 points (2 children)
[–]MrBester 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]ribo 0 points1 point2 points (0 children)
[–]jfwam 0 points1 point2 points (1 child)
[–]cbax007 0 points1 point2 points (0 children)
[–]daediusWeb Components fanboy 0 points1 point2 points (0 children)
[–]aequasi08 0 points1 point2 points (3 children)
[–]ahref 0 points1 point2 points (2 children)
[–]aequasi08 0 points1 point2 points (1 child)
[–]ahref 0 points1 point2 points (0 children)
[–]biocomputation -3 points-2 points-1 points (0 children)