r/softwarearchitecture • • 2h ago

Tool/Product Decentralized Microfrontend Architecture

0 Upvotes

IMPORTANT DISCLAIMER: This is my own project. Im am using AI. Its important to get that out of the way... because its the key reason for why YOU SHOULD NOT USE IT. Im not trying to promote "yet another secure messaging app", this is an example to see what is possible with a related UI framework im working on ( https://github.com/positive-intentions/dim ). Its unreviewed, unaudited and far from finished. This framework is intended for myself on my own projects. It is provided open-source for transparency, testing and demo purposes only. There will be breaking changes.

The key details that set this approach apart:

  • No installation or registration
  • No minification or transpilation
  • No React, NPM or bundler
  • Works from index.html

To make something complicated at scale, i would need to have an approach for testing out changes in a way thats more isolated/focused. The npm ecosystem is useful because you can have things like storybook, unit-testing and browser automation tools. So i wanted to see what is possible with the pure javascript approach and created runTests.html. Like the main app, the code is just plain javascript and so it can be imported and tested in with production statics. The testing functionality here is especially far from finished. This is an important feature to do it properly because it would be doing a lot of heavy lifting as the project improves.

The architecture is also a bit unique. Module federation has been around for a while but still fairly under-used. Im aiming for something that could be described as like a vanilla JS "decentralized microfrontend architecture", where in this approach, i can abstract complexity into seperate repositories to manage reusble functionality like in the boilerplate example:

To avoid vibecoded cryptography, the aim here is to avoid handling encryption where possible. Browsers that support webrtc, will have their own mechanisms for managing encryption (as required by the spec). The keys will not be accessible from app-level JS code. For security best-practice, users should use an OS, browser and network they trust.

P.S. The disclaimer above is always worth repeating. Im aiming for a post like this to be like "building in public". If interesting to anyone, i hope its inviting to take a look. It's hard to determine if / when its a good time to share, so best to get it out there sooner for any outstanding issues i may have overlooked.


r/softwarearchitecture • • 4h ago

Article/Video The code is done. The pipeline is still running.

Post image
0 Upvotes

Is a 10-minute CI pipeline fast enough for coding agents?

A coding agent can make a change in seconds. If it has to push and wait ten minutes to find out whether the change works, it can either sit idle or keep building on code it hasn’t verified yet.

I wrote about giving agents a faster feedback loop with the same checks we already trust in CI. Run the relevant tests and static analysis locally after each small change. Let CI independently verify the integrated result.

For those using coding agents regularly, what sped up the feedback loop most for your team?

Read my article: https://software-success-consultant.com/the-code-is-done-the-pipeline-is-still-running


r/softwarearchitecture • • 3h ago

Conferences Architecting Domain-Driven IDPs for the Agentic Era | Hands-On Workshop

1 Upvotes

Hey everyone!

At Packt, we're hosting a 6-hour hands-on workshop with Ajay Chankramath on December 13, exploring how Domain-Driven Design principles can be applied beyond application architecture to internal developer platforms.

The workshop covers:

  • Applying bounded contexts, Conway's Law, and ubiquitous language to platform architecture.
  • Defining architectural boundaries and service ownership using Kubernetes.
  • Balancing engineering autonomy with architectural governance using Terraform, Helm, and OPA.
  • Measuring architectural drift and platform complexity.

Through 3 practical labs, you'll build a reusable Platform Governance Blueprint for your organization.

If you're interested in DDD, software architecture, or designing platforms for AI-assisted development, you can find more details here: https://luma.com/platform-engineering

Happy to answer any questions!


r/softwarearchitecture • • 6h ago

Article/Video Inside Apache Lucene 9.9 and Elasticsearch 8.19: FSTs, Block-Max WAND, Segments & Translog

Thumbnail youtu.be
5 Upvotes