dwyl / learn-aws-lambda

✨ Learn how to use AWS Lambda to easily create infinitely scalable web services
1.05k stars 202 forks source link

stdlib.com an easy way to deploy to AWS Lambda + API Gateway? #93

Open nelsonic opened 7 years ago

nelsonic commented 7 years ago

Keith Horwood of http://stdlib.com/ reached out for feedback. image Since he asked nicely (and I believe in giving before you get...) I'm giving him One Pomodoro of my time. βŒ›οΈ πŸ’Έ πŸ˜‰

First impression is: Really promising! image

Automatic Scaling Without Configuration image

How? _given that Lambda has an initial limit of 100 concurrent invocations ... which you then have to "contact support" to get extended according to your needs..._ see: http://stackoverflow.com/questions/36826352/aws-lambda-toomanyrequestsexception-rate-exceeded (I know, because I've felt the pain of hitting the "Lambda-Limit"...) πŸ˜‰ Is the stdlib.com service running my lambdas on their AWS account in which case they are handling the scaling for me? so I don't have to manually contact AWS support...?

Ease of deployment looks great! image

A Complete End-to-End "Server-less" Solution image

GitHub Repo: clearly got some good traction. ⭐️ image

Docs look great! http://docs.stdlib.com/main/#/introduction βœ… image

Signed up (though not a fan of a modal for signup, I'm sure they have A/B tested it for conversion...) image

Next action after signup is unclear... what do I do now? image Will reading the docs get me up and running in the next minute before I get distracted by a notification?

Don't see the point of a profile page that I have to manually update... image I would have used GitHub auth here... get people's details and profile pic from GitHub... πŸ‘€ or Twitter. most Devs I know have twitter... 🐦

Scrolled down and see that I have No Services Available... image

I would have a link to help the person create their "Hello World" first service. e.g: http://docs.stdlib.com/main/#/quickstart image

The next logical thing for me after I'm "sold" on the features is to ask "How Much?!" Pricing: http://stdlib.com/pricing is where the site lets me down. still unclear... πŸ€” image This is the only thing "holding me back" from building something on it today. I like to know exactly how something can be "free". Does Keith have a mountain of money he's burning to get his service to critical mass and then sell it to Big Company XYZ (e.g: MSFT who aren't competing particularly well in against AWS Lambda...)

Feedback to Keith

TODO

In order of importance to me (a potential user):

Conclusion

Sadly my Pomodoro is has run out! βŒ›οΈ but I would invest more time in this if these "Todo" items were addressed by Keith and his team! I cannot recommend something I haven't tried. (and nobody else should!!) Looks really promising. @keithwhor is a credible developer with great project: https://github.com/keithwhor/nodal under his belt so I believe this has real potential! #WatchThisSpace!





tl;dr

There Are Many Serverless "Solutions" ... what is the stdlib USP?

Why would I use this instead of

see discussion: https://news.ycombinator.com/item?id=13089630

Security Concerns

_Note: this is a personal "bugbear" of mine and not a direct "criticism" of anyone_ @stdlib.com

why-install-globally

Why do I need to install the CLI globally? why should I trust a random package from NPM with global access to my system? Can't I try this without making a commitment of installing a CLI globally?

to be clear I - and most people - tend to give people the benefit of the doubt when it comes to the security of their code, but should I...?!? this could be the ultimate engineering attack!!... @evilpacket right...? πŸ’­ how trivial would it be to setup a nice-looking website buy some adwords for "Serverless" or "mine" GitHub for email addresses and get devs to install a "toolkit" that is actually a rootkit ...?

What are your impressions?

keithwhor commented 7 years ago

Hey Nelson --- thanks for making this thread for feedback.

I actually want to be clear, we run our own gateway and we don't consider "deploying to Lambda" a core competency. It's something we do, but we think about deploying to Lambda like changing your own brakes --- if it's really "zero-ops", why do I still feel like I need trustworthy mechanics? (serverless, apex, claudia, etc.) We, in a sense, take "serverless" for granted - it's clearly the future of compute, so what's next? That's what we're focused on - the next abstractions. Deployment is trivial, we can all write .zip tools and call an API. (Though we're still happy about our workflow.)

It's best if you think of what we're doing with StdLib almost like GitHub for service deployment. We'll be publishing more information in the coming weeks about pricing (we've hammered most of it down). I don't want to use this as an excuse, because execution and delivery are ultimately all that matters, but if you want to know why we're going to stick around --- the majority of the workflows you see were created by one developer - that's me - with the web UIs generated by a very talented Google engineer who joined our team only a couple of months ago. There's still a lot to build, and though we are venture-backed, we're also extremely capital efficient (we're pretty proud of that --- having your own compute platform that you can dogfood endlessly helps in a bit of a virtuous cycle). The team we've brought together is extremely competent, and we're lucky to have them.

Thanks again for this --- the criticism is extremely helpful and we'll be executing on it as fast as we can. We're far from perfect, and we work within tight constraints to deliver as much value as possible. We'd love it if you and others let us know what you want to see next --- because we're building it. :)

Thanks so much,

keithwhor commented 7 years ago

Also, if you wanna check out a recent article we wrote about massively parallel DNA sequence alignment on StdLib, here it is :) (I dropped out of an MS in Biochemistry to run my first startup, hence the little bit of specialization in the space):

https://hackernoon.com/using-server-less-architecture-to-massively-parallelize-dna-sequence-alignment-via-stdlib-and-343dd2d5aebf#.p0my37b7i

nelsonic commented 7 years ago

@keithwhor I'm really excited for what you & your team are building! I can see from the commit history that you have made a monumental effort over the last few months and if you continue your momentum it will be an amazing product! I will fire up a VM later and install your CLI globally and give it a shot. The fact that you replied on GitHub gives me a lot of faith that you aren't some "customer service" rep who "values my call", but rather are a passionate and dedicated CEO who is executing on a vision for what "serverless" can be! I will gladly do a full write-up "post" on stdlib when pricing is available. But meanwhile, if you can assure me that it will be in a similar ballpark to Lambda+Gateway, I'm happy to write a service and deploy it to your system this weekend... Thanks again for reaching out and for sharing the link(s)! From everyone @dwyl, all the very best for 2017! ❀️ βœ… πŸš€

keithwhor commented 7 years ago

I promise that it will be the easiest way you've deployed a function as a web API. πŸ™‚

Expect pricing to be out and solidified soon. I will definitely post an update here when we're ready! Thanks so much for the feedback, we live and die by our developers, so I want to make sure everybody's voice is heard.