Tried out writing to hash:
gb = GearsBuilder(‘StreamReader’)
gb.foreach(lambda x: execute(‘HMSET’, x[‘streamId’], *x)) # write to Redis Hash
gb.register(‘mystream’)
It’s a useful new module that will likely get plenty of use - good work!
Tried out writing to hash:
gb = GearsBuilder(‘StreamReader’)
gb.foreach(lambda x: execute(‘HMSET’, x[‘streamId’], *x)) # write to Redis Hash
gb.register(‘mystream’)
It’s a useful new module that will likely get plenty of use - good work!
Thanks for the feedback! please keep it coming
RedisGears is incredible, developers have more space and scope to work comfortably, Gears has more efficient data processing. you can write functions in a separate database and implement them in production clusters.
Besides all this, you can process data from multiple models without the complexity of multiple clients.
Best of all, you can program anything you want with a built-in Python and C-API interpreter.