Modern decentralized microservices must support secure, reactive, and high-throughput transaction flows.
Blockchain-backed systems like BigchainDB, Tendermint, Redis, and Reactive Java make this possible — but deployment requires a reliable, scalable orchestration layer.
To achieve this, we deploy the entire ReactiveChainDB stack into a Kubernetes-based distributed environment for real-time, fault-tolerant transaction processing.
- 1. Prerequisites & System Setup
- 2. Build & Push Docker Images
- 3. Kubernetes Deployment
- 4. Testing Blockchain & API Connectivity
- 5. ReactiveChainDB API Endpoints
- 6. Real-Time WebSocket Streaming
- 7. Kubernetes Maintenance Commands
- 8. Log Monitoring
- 9. Final Deployment Overview
- License
sudo apt install docker.io -ycurl -sfL https://get.k3s.io | sh -kubectl get nodesgit clone https://github.com/namanONcode/ReactiveChainDB-V1. git
cd ReactiveChainDB-V1docker build -t namanoncode/bigchaindb:latest ./bigchaindbdocker build -t namanoncode/reactivechaindbv1:latest ./reactivechaindbdocker push namanoncode/bigchaindb:latest
docker push namanoncode/reactivechaindbv1:latestkubectl create namespace reactivechaindbEnsure YAML files exist in your repository.
kubectl apply -f namespace.yaml
kubectl apply -f mongodb.yaml
kubectl apply -f bigchaindb. yaml
kubectl apply -f redis.yaml
kubectl apply -f reactivechaindb. yamlkubectl -n reactivechaindb get pods -wkubectl exec -it -n reactivechaindb deploy/bigchaindb -- bashcurl http://localhost:26657/statuscurl http://localhost:9984/api/v1Creates a new BigchainDB blockchain transaction.
Endpoint:
POST http://localhost:8080/appointments/create3
Example:
curl -X POST "http://localhost:8080/appointments/create3" \
-H "Content-Type: application/json" \
-d '{"userId": 648263, "details": "Checkup"}'Adds a new version transaction to BigchainDB.
Endpoint:
PUT http://localhost:8080/appointments/update? userId=31323
Example:
curl -X PUT "http://localhost:8080/appointments/update? userId=31323" \
-H "Content-Type: application/json" \
-d '{"updated": true}'ReactiveChainDB uses a Redis Watcher + WebSocket system to deliver instant appointment updates.
Clients subscribe via:
ws://<server-ip>:8080/ws/appointments? userId=<id>
Example:
ws://139.84. 169.197:8080/ws/appointments?userId=648263
/appointments/create3/appointments/update?userId=<id>
No polling. Pure real-time updates.
kubectl rollout restart deploy/reactivechaindb -n reactivechaindbkubectl delete pod --all -n reactivechaindbkubectl delete ns reactivechaindbkubectl logs -n reactivechaindb deploy/bigchaindb -fkubectl logs -n reactivechaindb deploy/bigchaindb -c tendermint -fkubectl logs -n reactivechaindb deploy/reactivechaindb -fYour full decentralized microservice stack is now operational:
| Component | Description |
|---|---|
| BigchainDB Ledger | Immutable blockchain storage |
| Tendermint Consensus Engine | Byzantine fault-tolerant consensus |
| MongoDB Document Store | Persistent data layer |
| Redis Hybrid Cache | High-speed caching & pub/sub |
| ReactiveChainDB Spring Boot API | Reactive REST API layer |
| Real-Time WebSocket Streaming | Live event broadcasting |
✅ All running inside Kubernetes, fully scalable and production-ready.
Proprietary Freeware License
This software is provided free of charge for personal, educational, or commercial use. However, the following restrictions apply:
- ❌ No reverse engineering, decompilation, or source code derivation
- ❌ No modification or derivative works
- ❌ No redistribution for a fee
- ✅ Must be used in its original, unmodified form
© 2025 Naman Jain — All rights reserved.
See the full [LICENSE](LICENSE. md) for complete terms.