I changed the backend of Tourflow Live due to Cloud Run costs (caused by Kafka). The solution: 1. Remove Kafka: I replaced the expensive Confluent Kafka event bus with a local, in-memory EventEmitter. This runs entirely within the server process—zero external cost.
- Merge Services: Instead of running separate server.js and ai_processor.js processes, I combined them. The server will handle uploads and immediately trigger the AI logic internally.
- Simplify Storage: I'm using simple in-memory storage for the session history. Note: This means history will reset if the server restarts.
Log in or sign up for Devpost to join the conversation.