Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nzoschke
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
241.
▲
by
nzoschke
8y ago
I make the go server/package the repo and add a web/ subdirectory for my static and dynamic JavaScript code, plus a little bit of Makefile glue. Here is a boilerplate Go Lambda app with a Node Lambda function and a static Vue app:
242.
▲
by
nzoschke
8y ago
Nice guide. Going through the motions of setting up my first API Gateway and Lambda was eye opening to me. There are a ton of options in these two services — rate limiting, authorizers, concurrency, monitoring, etc. — that point to how much
243.
▲
by
nzoschke
8y ago
These lessons match muni experience building https://github.com/nzoschke/gofaas Except I opt for Golang and the Serverless Application Model (SAM). Go let’s you ditch even more stuff by cross compiling binaries. And SA
244.
▲
by
nzoschke
8y ago
I'll add another vote for this. My use case is that I used Atlas to incorporate quickly -- which was lovely -- but the business is turning out to be a solo venture and the C Corp is overkill. The real user need is a way to reduce busin
245.
▲
by
nzoschke
9y ago
You’re welcome! Happy to share what I’ve learned building my own FaaS systems.
246.
▲
by
nzoschke
9y ago
AWS, particularly Lambda, step functions and budgets. The business is a marketplace addon. Lambda functions handle the webhooks to add, upgrade or remove the addon. Step functions handle guiding new users through onboarding, by sending emai
247.
▲
Introducing Fly Edge Apps
(fly.io)
154 points
by
nzoschke
9y ago
|
43 comments
248.
▲
by
nzoschke
9y ago
After the initial “cost” of figuring out how to configure the services, I’m finding the complexity far less than containers. Many concerns are removed from my application code and build and deploy systems by Lambda and API gateway. You just
249.
▲
by
nzoschke
9y ago
Plus a base image, Docker build system, image registry service and Docker runtime. Not to mention the load balancer and container orchestration to run the containers. It's not all bad. Container tools and services are ubiquitous, pleas
250.
▲
by
nzoschke
9y ago
Check out the Serverless Application Model (SAM): https://github.com/awslabs/serverless-application-model All of the manual configuration of API gateway vanishes because it builds up an implicit API gateway from your f
251.
▲
by
nzoschke
9y ago
Deploying .zip files is one of my favorite features of Lambda, particularly when writing Go apps. Docker always felt wrong with Go to me. Why do I need a local VM, a Linux build service, an image registry and servers with container orchestr
252.
▲
by
nzoschke
9y ago
A Brief History Of Time expanded my mind like few other books. Thank you Dr. Hawking.
253.
▲
by
nzoschke
9y ago
I have been doing a lot of experiments with Go and Lambda and have an open source boilerplate app here: https://github.com/nzoschke/gofaas This benchmark leaves some room for improvement. With Lambda and X-ray you coul
254.
▲
by
nzoschke
9y ago
Very nice. I’ve been working on Lambda apps in Golang too. Here’s a boilerplate app that can help you get started and understand the pieces: https://github.com/nzoschke/gofaas
255.
▲
by
nzoschke
9y ago
I don’t think it’s necessarily better, I’m just sharing the approach I take these days.
256.
▲
by
nzoschke
9y ago
Yes static YAML for config. It may be more verbose but it's simpler than Rail's ERB in YAML that requires a the Ruby VM plus application config to interpret. Yes external libraries. 80% of those are for testing (as is the Python s
257.
▲
by
nzoschke
9y ago
Golang for the API, running on Lambda. React or Vue for the UI. FaaS isn’t a fad, new systems built on an event based architecture are simpler, more cost effective, and scalable than the traditional application server approach. And the reac
258.
▲
by
nzoschke
9y ago
I simply love the go toolchain. The defacto standards for code formatting, linting and vetting, and the speed of builds and tests save tons of time. Both clock time and overall developer productivity. I have a GitHub CI service that verifie
259.
▲
by
nzoschke
9y ago
Yes using dep full time for projects andnit has been great. I think it’s the right choice for now. It was going to be the one true solution and many people have stopped working on the alternatives. We’ll see where vgo lands, but dep is very
260.
▲
by
nzoschke
9y ago
I’m starting to find a FaaS architecture can remove complexity for the developer. The CRUD functions themselves are easy to write and test. Then everything else is handled by the infrastructure layer. Auth, security policies, rate limiting,
261.
▲
by
nzoschke
9y ago
Very nice. I built a boilerplate Lambda app that puts a lot of this cost effective architecture into practice: https://github.com/nzoschke/gofaas One difference is that I use SNS for cheap email or SMS error notificati
262.
▲
Show HN: Gofaas – Boilerplate Go and Lambda App
(github.com)
7 points
by
nzoschke
9y ago
|
0 comments
263.
▲
by
nzoschke
9y ago
This app is simply amazing. Thank you! Are you worried about any Spotify terms of service issues?
264.
▲
by
nzoschke
9y ago
I’ve had a lot of fun recently writing a Makefile for a Go and Lambda app: https://github.com/nzoschke/gofaas/blob/master/Makefile It started very verbose, one target for every Go program, until I figure
265.
▲
by
nzoschke
9y ago
I’m working on a comprehensive resource for running Lambda Go projects here: https://github.com/nzoschke/gofaas The guide on periodicnworker functions is how I would build this pinger. https://github.com
266.
▲
by
nzoschke
9y ago
> However, managing granular permissions for hundreds or thousands of functions is very hard to do. When building a FaaS app from scratch granular permissions are manageable. Functions are small, so it’s easy to reason about the capabili
267.
▲
by
nzoschke
9y ago
I'm also finding Lambda is a very nice runtime for using the Golang toolchain. There's a packaging challenge, but Go is also easier to install than most languages (unzip the linux build and set GOROOT correctly). Then running `go
268.
▲
by
nzoschke
9y ago
I happen to know a few people on the Slack security team from a prior job. SalesForce, another SaaS business people trust to manage all their data. There's no question that Slack's budget is greater than my own. They have a large,
269.
▲
by
nzoschke
10y ago
This weekend I played with the Buffalo framework [1] which includes "pop" [2] which an ORM of sorts. I really enjoyed working with both. It's nowhere near as magical as Rails, but it totally reduced the amount of code/bo
270.
▲
by
nzoschke
10y ago
Hey, author of the blog post here. Getting buildpacks and Docker to work together has been interesting to say the least. But the result is very cool, it's refreshing to not always have to write Dockerfiles directly. Happy to answer any
More ›