Earlier quoted context omitted.
You can use any normal DB migration tool. For k8s, I put the app's readiness probe to false, run the migrations and then toggle the probe back to true. Here are some migration libraries: Go - https://github.com/golang-migrate/migrate Node - https://github.com/salsita/node-pg-migrate
I wonder what happens during blue green or canary deployment? if your migration changes database schema in a way that affect previous version negatively? is it even possible to do blue/green deploy if your schema changes radically?
The architecture behind a one-person tech startup
281–290 of 334 posts
Re: The architecture behind a one-person tech startup
#282Earlier quoted context omitted.
Netlify free tier is pretty great, giving custom DNS and support for NextJS build was so simple. Heroku is similar, but Netlify is at least equally simple I found. Maybe someone else can shed more light on differences.
Aren't they different products though? Netlify is front end only while Heroku is full stack.
Re: The architecture behind a one-person tech startup
#283Earlier quoted context omitted.
Digital Ocean is fantastic.
Would you mind being more specific? Is it the price / functionality balance that makes DO fantastic?
Re: The architecture behind a one-person tech startup
#284Re: The architecture behind a one-person tech startup
#285The author almost seems to apologize for having a django monolith. But it's worth realising that one purpose of code organisation in larger companies is to mirror the team organisation. That's a constraint on code that can interfere with the best technical architecture. You can do better with a monolith in a one-man team!
That's one of the weirdest reasonings I've ever heard. What happens when you have to downsize that team? But yea, shoehorn each individual contributor to say a single microservice out of a hundred and you'll wonder why your software doesn't develop fast - everyone's too tired trying to understand what each abstraction does that is meaningful so they spend less time understanding how the pipeline works and how to integrate into it.
Re: The architecture behind a one-person tech startup
#286This is probably not the best place to ask this question, but as a solo founder or just to reduce costs/time are there some standard free software packages that are used when creating sites? For example most sites need a user sign up mechaism, a authN and authX mechanism to gate access to different pages. Are there open source projects that provide this? Or do site owners develop these from scratch every time?
a few to get you started: - https://github.com/vercel/nextjs-subscription-payments - https://bedrock.mxstbr.com/
Re: The architecture behind a one-person tech startup
#287Earlier quoted context omitted.
Data is passed through -unencrypted- those edge locations though.
What data exactly? They serve HTML, CSS, JS, and images. The actual data is transmitted using AJAX requests towards an HTTPS API in EU.
Re: The architecture behind a one-person tech startup
#288Good on them. I wish I could use K8 as effectively as the author, it is an incredibly overwhelming list and an impressive range of knowledge. In my situation I am finding the lack of consistent environment a reoccuring issue, the developer environment does not match production. However I kept it simple with Google App Engine Standard and Flex environments, I found the deployment process simple and was enough for me (…
Re: The architecture behind a one-person tech startup
#289Re: The architecture behind a one-person tech startup
#290This tech stack looks over-engineered upon first glance, but I don't know much about the author or his product.
I use Kubernetes a fair bit whilst developing OpenFaaS and teaching people about K3s, but there is a whole world of development teams who aren't prepared to consider it as an option. One of the reasons we created "faasd" [2] (single-node OpenFaaS) was to help people who just wanted to run some code, but didn't want to take "Kubernetes mastery 101"
For a small app using a managed service like Cloud Run plus some cloud storage should get you very far. I saw that Heroku is still popular with the indie community, with the author of Bannerbear getting a lot of value from the managed platform.
[1] https://thebootstrappedfounder.com/ [2] https://github.com/openfaas/faasd