Joe Williams
Joe Williams
Check out my repository, I had this problem and solved it by using template.JS I think. http://gitHub.com/bubbajoe/netcode-golang Look through the server.go file. Joe Williams On Mar 14, 2018, at 3:46...
@oranagra Thanks for the reply. 1. I see, this makes sense. 2. Concerning global configs that trim the data, I think this make sense because as redis streams integrations become...
@zalmane No, basically I think there should be a feature that automatically controls the size/len of streams. For example, you set something like `maxstreamsize=100mb` (each stream can only be 100mb)...
To be clear, I think this should be added: `XADD mystream MAXSIZE ~ 10mb ...` `XTRIM mystream MAXSIZE ~ 10mb` In addition. i also think these should be added: `CONFIG...
Most use cases of trimming will be for limiting the amount of memory used (I assume), so wouldn't using memory as a factor make more sense than trying to guess/calculate...
@manhdaovan > Let's say we can add a limit for each stream (via CONFIG SET maxstreamsize 100mb as you mentioned above), so what if we add a new stream? Do...
@itamarhaber @yossigo @oranagra Any updates on this? I want to know if you understand my point why I think the Redis Streams is missing a really useful feature.
> @BubbaJoe > > I think it's not a good idea to use the same Redis instance both as a cache and a stream, if you reasonably expect the memory...
> We might want to consider supporting more advanced types of "eviction" policies in future versions. I've actually heard a number of customers from AWS grumble that a global LRU/LFU...
I ended up writing a script for this, but I really wish someone from the Redis project would understand that setting stream configurations like trimming, shouldn't be handle a consumer...