Live data from Hacker News

Netlify for the frontend, Micro for the backend

blog.m3o.com

41–50 of 66 posts

Re: Netlify for the frontend, Micro for the backend

#41
post #22
post #20

Your page doesn't show any of the backend code being deployed. I don't even know what language it's in. So it's a little hard for me to compare it to Netlify, which does have backend support in the form of lambdas, and a database in the form of FaunaDB. That's fairly limited, but it's also very easy. Clicking through to the github page, it looks like the examples are in Go... though I also see a Dockerfile. For me, I…

Thanks for the feedback. I'm assuming you mean the website. We have info and tutorial in docs but agree we could provide more clarity on the website. There is a redesign coming in the next few weeks. There are tutorials in the docs and many code examples in https://github.com/micro/services . The blog post also links to this code. But again I agree we could do more to showcase it. This post was more to demonstrate po…

I think correlating this with Netlify is a stretch. You're offering is tied to Golang with a specific framework.

I'd rather see a comparison with other no-infra solutions like AWS chalice or even Serverless framework.

Re: Netlify for the frontend, Micro for the backend

#42

What about the database? All these Jamstack articles always seem to skip past a db in their examples and I have never seen an "app" without an associated database. Or is the KV store supposed to act like an app database?

This is a great point and one reason I am left scratching my head when considering building applications on the JAM stack. We are working on a solution to this with WeBase [1] and I'd love to see us do an integration with Netlify here where you build with WeBase and host on Netlify (and get automatic API integration with your data models). [1] https://www.webase.com

you can achieve that with netlify build plugins but it is still a fairly basic stage right now - get in touch with their DX team!

(disclaimer, i worked there)

Re: Netlify for the frontend, Micro for the backend

#43
post #21

Earlier quoted context omitted.

> One concern is your pricing seems too reasonable (free)! Is that reasonable? Building anything on top of obvious loss leaders is risky. And the costs here for a year of service are either $0 on the free plan or $420 for the cheapest paid plan. There's a chasm of difference there. I can't understand people offering platforms and services with a pitch that tries to describe what sets $THING apart from others, but whe…

> Is that reasonable? Building anything on top of obvious loss leaders is risky. And the costs here for a year of service are either $0 on the free plan or $420 for the cheapest paid plan. There's a chasm of difference there. The dev tier is free, which is a capped environment with much laxer SLAs than the production tear. Prod tier is paid.

What's the takeaway I'm supposed to leave with after having read this reply? What information does this comment add? I'm genuinely confused about the subtext here.

Re: Netlify for the frontend, Micro for the backend

#44
post #5

I've been looking for exactly that: a backend thing that's as easy to setup as Netlify is for the frontend. Micro seems to be a Go framework evolved to automatically deploy code to the "cloud", but it seems it'll remain limited to Go backends... I can write Go without problems, but I wanted something that supports other languages as well, specially Java... I think RedHat seems to offer that with OpenShift and Quarkus…

It's in preview but Azure Static Web Apps

https://azure.microsoft.com/en-us/services/app-service/stati...

Deploy JavaScript/TypeScript/Python/C# backend function apps with a modern frontend in one go, sets it all up for you on GitHub and handles the build process and SSL certificates for custom domains too.

Re: Netlify for the frontend, Micro for the backend

#45
post #40

Yow dawg, you fleed to netlify to avoid insane over-engineered technology stacks, so we brought you insane over-engineered technology stack with protobuffs and gRPC

> fleed to netlify to avoid insane over-engineered technology stacks

Take a sober, 1000-foot look at Netlify today. They're so caught up in their GitHub-integrated value-add that if you try to follow the docs to do a straightforward "deploy" from a directory with a simple "hello world" index.html, there are multiple failure conditions. The dumbest one being that if it's a Git repo and it encounters a remote that it doesn't recognize, it will shit the bed. I'm not talking about error output; the CLI itself will straight up fail, throw an exception, and terminate.

That's before we even mention the experience of successful use of the CLI. The cacophony of color and the volume of output makes for a sensory overload that's akin to watching a Safdie brothers film.

Re: Netlify for the frontend, Micro for the backend

#46
post #35

Microservices have to be written in Go Nitro framework, this is not framework/language agnostic?

Go Nitro is not a thing. "Go Micro" was a framework that launched this company into existence, it's now been consolidated into a single project called "Micro". The "Go Micro" project has been renamed to "Nitro" to reduce confusion around the two. Your services must be written using the Micro framework, as you would use something defined by iOS and Android for those platforms.

OK thanks for the info

Re: Netlify for the frontend, Micro for the backend

#47

When I read about such abstractions and "simplifications" (which usually end up with a 10 box diagram simplified to a 2-3 box diagram), I often hesitate to start building something new, always wondering "Am I doing this in the most " upvoted" way of implementing such a thing? Some of this tech feels like if you switch on, and stare at your monitor long enough, a "Hello World" API will be deployed on the cloud for you…

I think it's a good point and something I find myself worrying about as well. The hype around GraphQL and Apollo, for example, made me feel that I was losing serious time developing a REST APIs until I finally committed and decided to use it on a project. Obviously there ended up being a lot of trade-offs but in the end it was hard to tell if I saved any time at all. More generally, after falling for this a couple ti…

I like to call this the: Law of Conservation of Complexity.

It does not matter how slice and dice things, the real world is a complex environment and as a result your application will be complex in some way too. You just can't sweep complexity under the carpet and pretend it's not there. It will always come back and bite you, in some way or the other.

Re: Netlify for the frontend, Micro for the backend

#48

When I read about such abstractions and "simplifications" (which usually end up with a 10 box diagram simplified to a 2-3 box diagram), I often hesitate to start building something new, always wondering "Am I doing this in the most " upvoted" way of implementing such a thing? Some of this tech feels like if you switch on, and stare at your monitor long enough, a "Hello World" API will be deployed on the cloud for you…

Netifly at least was as painless as a deploy process as I've ever had; I had a local jekyll instance i was using to build my blog, and all i had to do was setup Netifly so it was pointing at the remote Github repo for that instance, then simply push to master and everything deployed instantly. There certainly are some tools in the area that feel very over-engineered but so far this one has been quite the opposite (other than weird SSL woes, but that was still more or less painless) Can't speak to the backend product being sold here, but the frontend really was painless and performant.

Re: Netlify for the frontend, Micro for the backend

#49
post #47

Earlier quoted context omitted.

I think it's a good point and something I find myself worrying about as well. The hype around GraphQL and Apollo, for example, made me feel that I was losing serious time developing a REST APIs until I finally committed and decided to use it on a project. Obviously there ended up being a lot of trade-offs but in the end it was hard to tell if I saved any time at all. More generally, after falling for this a couple ti…

I like to call this the: Law of Conservation of Complexity. It does not matter how slice and dice things, the real world is a complex environment and as a result your application will be complex in some way too. You just can't sweep complexity under the carpet and pretend it's not there. It will always come back and bite you, in some way or the other.

That law is very obviously broken.

It is evident that complexity can be increased at will. So any such law statement just assumes that any software you have didn't needlessly add some of it.

A very real problem of framing complexity this way is that the article is very likely adding a lot of complexity to the software. That's what most "let me simplify it for you" solutions do. And if you just state that complexity is constant, you won't even think about checking this.

Re: Netlify for the frontend, Micro for the backend

#50
post #47

Earlier quoted context omitted.

I think it's a good point and something I find myself worrying about as well. The hype around GraphQL and Apollo, for example, made me feel that I was losing serious time developing a REST APIs until I finally committed and decided to use it on a project. Obviously there ended up being a lot of trade-offs but in the end it was hard to tell if I saved any time at all. More generally, after falling for this a couple ti…

I like to call this the: Law of Conservation of Complexity. It does not matter how slice and dice things, the real world is a complex environment and as a result your application will be complex in some way too. You just can't sweep complexity under the carpet and pretend it's not there. It will always come back and bite you, in some way or the other.

ok but taming complexity is what we do for a living. The Q is where to put the dirt. And under the carpet is better than on my bed.

I don't know this tool but for example if I switch my "webapp" to use redis, I push some complexity to "antirez". It does not disappear, but it's now being fed by developers better than I, and tested by x1000 users.

Post reply on HN