The Architecture of Instant Change
A centralized, ultra-low latency feature flag and configuration management system. Designed for complex distributed microservices architectures dealing with dynamic rendering and runtime execution layers.
Status: Completed and Deployed
Rollout.io Remote Config is an enterprise-grade feature management platform that enables engineering teams to decouple deployment from release. By centralizing feature flags and configurations, applications can dynamically control features at runtime without initiating a redeployment sequence. It supports safe and targeted rollouts, instantaneous rollbacks, and synchronized configuration state across distributed systems, dramatically improving reliability in high-availability production environments.
The complete Rollout.io ecosystem has been deployed and is accessible at rollout.paraglide.in.
Through the integrated Nginx edge proxy configuration, all microservices, management interfaces, and demonstration components are accessible under the primary domain:
The core of Rollout.io is built on a highly scalable, fault-tolerant microservices architecture pattern, orchestrated via Docker and Spring Cloud.
The ecosystem comprises the following internal microservices and infrastructure components:
port 80): The central entry point handling rate limiting, CORS, and routing traffic to appropriate downstream microservices.port 5000): Handles dynamic service discovery and registration for all internal microservices.port 5001): Integrated Prometheus and Grafana stack for real-time telemetry, metric aggregation, and system health monitoring.Rollout.io implements a Zero-Trust System Design where the Jwt token serves as an immutable context boundary directly in the service layer. Rather than treating the token merely as an edge-validation mechanism at the Gateway, identity is directly extracted and enforced inside downstream microservices and repositories (e.g., findByIdAndCreatedByUid).
if (entity.getUserId().equals(currentUserId))).For a deeper dive into the theoretical foundation and trade-offs of this design pattern, read the complete engineering article: Zero-Trust System Design: How We Used JWT as an Immutable Context Boundary in Spring Boot.
├── ASSETS/ # Core system architecture and screenshot assets
├── DEPLOY/ # Docker Compose orchestration configurations
├── REPORT/ # Project documentation and engineering report
├── SDK/ # Client integration SDKs (Java and JavaScript)
├── SERVER/ # Spring Boot & Spring Cloud microservices
├── TEST/ # Demo integration applications (e.g., Zomato Clone)
└── UI/ # Admin Control Plane Dashboard (React/Vite frontend)
The platform leverages a modern, highly scalable distributed technology stack:
Here is a visual overview of the Rollout.io Admin Dashboard and the Zomato clone test application:
![]() Rollout.io Control Plane Dashboard The main workspace dashboard where developers can view, create, and manage multiple remote config projects. |
![]() Project Management Window Creating and managing multiple distinct operational configurations for feature isolation. |
![]() Core Flag Management Window Interactive environment-specific feature toggle and remote configuration console. |
![]() Integrated JSON Editor in Dashboard A fully interactive JSON editor allowing developers to update complex configuration objects safely at runtime. |
![]() Dependent Flags Management Configuring parent-child dependencies where a feature flag only evaluates to true if its parent flag is enabled first. |
![]() Light Mode Test Application Displaying the default white theme when the zomato-dark-mode feature flag is disabled. |
![]() Test Application Dark Mode View Testing features such as full-page dark mode using the zomato-dark-mode flag instantly. |
![]() Zomato Offer Banner Live Testing Real-time dynamic checkout logic and exclusive member discount banners evaluated from backend rules. |
For comprehensive API documentation and interactive testing, the centralized API Gateway includes built-in Swagger/OpenAPI documentation.
Additionally, a pre-configured Postman collection file is available to easily test API calls directly:
To view the interface and test endpoints directly:
Rollout.io includes a pre-configured Prometheus and Grafana telemetry stack for real-time microservices performance and health monitoring.
To configure and view the dashboard:
5001 or as configured).
Make sure you have the following installed on your machine before starting:
The complete Rollout.io ecosystem—including microservices, front-end portals, support databases, and monitoring telemetry—is containerized and orchestrated using Docker Compose.
To boot the entire architecture:
cd DEPLOY
docker-compose up -d
Note: Due to the sequential startup dependencies inside the microservices topology, the orchestration uses delayed container initialization to ensure RabbitMQ and the Eureka Service Registry are fully operational before dependent services boot. The initial startup sequence may require 2 to 3 minutes to complete.
To monitor the startup state and verify active containers:
docker ps
Once the stack is operational, the integrated Nginx edge proxy serves all components on port 80, replicating the production environment structure locally:
If you wish to run individual front-end components in development mode (e.g., for making live code changes) instead of using the pre-built containerized versions, you can shut down the respective containers in Docker and run the local development servers using the steps below.
The Admin Dashboard requires Firebase Authentication for secure identity management.
Authentication Setup:
Navigate to UI/src/firebase.js and inject your Firebase project configuration parameters:
const firebaseConfig = {
apiKey: "YOUR_API_KEY",
authDomain: "YOUR_PROJECT.firebaseapp.com",
projectId: "YOUR_PROJECT_ID",
storageBucket: "YOUR_PROJECT.firebasestorage.app",
messagingSenderId: "YOUR_SENDER_ID",
appId: "YOUR_APP_ID",
measurementId: "YOUR_MEASUREMENT_ID"
};
Bootstrapping the UI Server:
cd UI
npm install
npm run dev
To validate the Rollout.io SDK integration and observe real-time feature flagging, boot the pre-configured sample test application.
cd TEST/zomato-clone
npm install
npm start
JavaScript SDK (@rollout.io/sdk-js)
Professional-grade, high-performance SDK designed for web-based rendering environments (Browser & Node.js).
Install the SDK via npm:
npm install "@rollout.io/sdk-js@latest"
Usage Example:
import sdk from '@rollout.io/sdk-js';
// Initialize the SDK
await sdk.init({
sdkKey: "YOUR_SDK_KEY",
userId: "user-unique-id",
baseUrl: "http://rollout.paraglide.in/gateway" // Live Production Gateway (or "http://localhost:80/gateway" for local)
});
// Evaluate flag value instantly (Fallback value is false)
const isFeatureEnabled = sdk.getFlag("zomato-dark-mode", false);
if (isFeatureEnabled) {
// Execute feature specific logic
console.log("Dark mode feature is active.");
}
Detailed implementation schematics available at: SDK/javascript/README.md
Java SDK (com.github.TechParaglide.Rollout.io:sdk-java)
Enterprise-grade SDK built utilizing native HttpClient for server-side Java and Spring Boot runtimes.
Since the Java SDK is distributed via JitPack, you must include the repository in your pom.xml:
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Then, add the dependency:
<dependency>
<groupId>com.github.TechParaglide</groupId>
<artifactId>Rollout.io</artifactId>
<version>5.0.5</version>
</dependency>
Usage Example:
import com.rollout.io.sdk.RolloutClient;
import com.rollout.io.sdk.RolloutConfig;
// Initialize the SDK
RolloutClient client = new RolloutClient();
RolloutConfig config = new RolloutConfig(
"YOUR_SDK_KEY",
"user-unique-id",
"http://rollout.paraglide.in/gateway" // Live Production Gateway (or "http://localhost:80/gateway" for local)
);
client.init(config);
// Evaluate flag value instantly (Fallback value is false)
boolean isNewCheckoutEnabled = client.getFlag("new-checkout", false);
if (isNewCheckoutEnabled) {
// Execute feature specific logic
System.out.println("Checkout feature is active.");
}
Detailed implementation schematics available at: SDK/java/README.md
While the core ecosystem is complete and fully functional, future enhancements could include:
This system was architected and developed as a Final Year Project by scholars of the Information Technology Department at Government Engineering College, Gandhinagar.
Core Engineering Team:
We would like to express our deepest gratitude to the individuals and organizations who supported this project:
This project is dual-licensed under the MIT License and the Apache License 2.0. Reference the LICENSE-MIT and LICENSE-APACHE files for full terms and conditions.