grimoirelab
grimoirelab copied to clipboard
Add events in batches to Redis Stream
Currently, eventizers add events to the Redis stream one by one. This causes multiple round-trip times (RTT) for each event added, as we must wait for a response.
Redis provides a concept called pipelining, a technique that improves performance by sending multiple commands at once without waiting for a response to each individual command.
To enhance GrimoireLab's performance, we can use this technique to add events in batches.