Posts

ColdFusion RabbitMQ Prefetch Setting Causing Uneven Consumer Workload

Image
  One Server Drowning, Two Servers Idle: Fixing RabbitMQ Prefetch in ColdFusion A ColdFusion platform runs three servers, each consuming report jobs from the same RabbitMQ queue. The idea was simple: three servers share the work. In practice, one server’s CPU sits near its limit while the other two do almost nothing. The queue still has a backlog. Adding a fourth server barely helps, because the new server picks up hardly any jobs. Read More

ColdFusion RabbitMQ Consumer Losing Messages During Application Restart

Image
  Gone Between Restarts: Stopping a ColdFusion RabbitMQ Consumer From Losing Messages A ColdFusion application consumes order messages from RabbitMQ. It runs well for weeks. Then a routine deployment restarts the ColdFusion servers, and a handful of orders never arrive in the database. No error was logged. RabbitMQ’s queue shows nothing waiting. The messages simply vanished somewhere between the old process and the new one. Read More

ColdFusion Kafka Partition Ordering Lost During Asynchronous Processing

Image
  First In, Last Done: Keeping Kafka Partition Order When ColdFusion Processes Events in Parallel An order moves through its life in Kafka: created, paid, shipped. The events arrive on the same partition, in exactly that order. A ColdFusion consumer reads them correctly. Yet the database ends up showing the order as “paid” when it has already shipped. Read More

ColdFusion Kafka Offset Commit Happening Before Database Transaction

Image
  Committed but Never Saved: Fixing Kafka Offset Commits That Run Ahead of ColdFusion Database Transactions A ColdFusion service reads payment events from Kafka and writes each one to the database. One night the database briefly rejects writes. The service logs a handful of errors, recovers, and carries on. Nobody worries, because Kafka keeps every event and the consumer will simply pick up where it left off. Read More

ColdFusion Redis Cluster Topology Change Breaking Application Connections

Image
  When the Map Changes: Keeping ColdFusion Connected Through Redis Cluster Topology Changes The Redis team adds two nodes to the cluster on a Tuesday night. The resharding completes without a single error on their side. On Wednesday morning, a ColdFusion application starts logging Redis errors it has never produced before. Some requests fail with messages that mention MOVED . Others time out. A restart of the ColdFusion servers makes the problem go away, which only deepens the confusion. Read More

ColdFusion Redis Connection Pool Exhaustion Under Concurrent Requests - Lucid Outsourcing Solutions

Image
  Eight Connections, Two Hundred Requests: Fixing Redis Pool Exhaustion in ColdFusion Traffic climbs on a busy afternoon. Response times jump from milliseconds to many seconds. ColdFusion’s running requests pile up until new ones queue behind them. Yet the servers’ CPU is low. The database is quiet. Redis itself reports almost nothing happening. Read More

ColdFusion Redis Distributed Lock Not Released After Application Failure

Image
  The Lock Nobody Holds: Fixing Stuck Redis Locks in ColdFusion Applications A nightly invoice job runs on a cluster of ColdFusion servers. To stop two servers from running it at once, the job takes a lock in Redis before it starts. It has worked for months. Read More