#Is it possible to do a Microservices Workflow with Astro?

13 messages · Page 1 of 1 (latest)

lament geyser
#

For my web application, I am planning to use

  • Astro and Vue for my frontend
  • Rust for my backend and API
  • CockroachDB for database, RustFS for object storage

Is it possible to deploy individual Astro pages and scripts in order to kind of do a microservices workflow, instead of having to redeploy the whole application whenever there's a change to just one page?

patent lynx
lament geyser
#

I didn't know this was a thing! Incremental builds are amazing, basically allowing you to follow a microservices workflow

#

Is it possible to do a Microservices Workflow with Astro?

proper badgeBOT
#
If your issue is resolved, please help by doing the following two steps:
  1. From the ellipses (3-dot menu) in the top-right corner of the post (not the first message), edit the tags to include the Solved tag.
  2. From the same ellipses, select Close Post.
    Your post will still be available to search and can be re-opened simply by replying in it. Closing a post moves it down with older posts, so we can more easily focus on issues that still need to be resolved.
    Thank you for your help!
lament geyser
# patent lynx Are you thinking of something like incremental builds? https://domainexpansion.g...

Hey Ratius, three problems have been discovered with this method.

  1. The website you posted has now been taken down. I've also tried importing Domain Expansion into my Astro project a few times in past weeks but have been unsuccessful, it's been giving me errors galore.
  2. I've finally figured out my full stack serverless microservices pipeline for my startup web application. Maybe a microservices thinking for the frontend is not really necessary, as file and folder structure is easy to implement for all needed components and pages under one wrapper (the Astrojs project folder as a whole), and there's not necessarily a need to delegate tasks to different frontend apps. Maybe build times would be reduced, though.
  3. The upcoming Rolldown project has support for incremental builds, and I'm remaining hopeful that one day, it will release and be used in newer versions of Vite. Then, newer versions of Astro could maybe use the newer versions of Vite with Rolldown implemented, and see massively reduced build times!
delicate surge
#

Do feel free to make an issue about the errors you've been getting on the repo!

lament geyser
delicate surge
#

It's already quite a lot faster in benchmarks so that's where the assumption came from

lament geyser