The Neverending Backend

By ManOguaR — August 25, 2025

This week we kept strengthening the infrastructure of The Corporate Wars, focusing on Orleans integration with databases and on the mechanisms for horizontal deployment.

Main progress

  • Orleans clusters
    We reviewed the configuration, clearly separating which components are core and which ones are optional in the architecture.

  • Distributed cache
    Integration of SQL Server / Redis as options for distributed cache, ensuring flexibility depending on the deployment environment.

  • Automatic migrations
    Adjustments in FluentMigrator, so that database migrations are applied automatically in every environment.

  • Self-installer service
    Implementation of a service that runs on the first startup of the system.
    This self-installer initializes the database and prepares everything without manual intervention, making horizontal deployments easier.

Conclusion

Thanks to the self-installer, cluster nodes can be deployed horizontally with minimal effort: just start them up and they configure themselves. This lays the foundation for a more robust and scalable backend, and allows us to move forward with the next steps in distributed simulation and Solana-based economy.

Next steps

  • On-premises deployment and testing
    Validate the infrastructure in a real on-prem environment and ensure that horizontal scaling works as expected.

  • LOD0 game world structure
    Start building the base structure of the game world (Level of Detail 0), which will serve as the foundation for higher levels of simulation and gameplay.