Redis Weekly

A free, once–weekly e-mail round-up of Redis news, articles, tools and libraries.

ONE e-mail each Friday. Easy unsubscribe. No spam — your e-mail address is safe.

redis weekly Issue #163
Oct 6 2016

Featured

neural-redis - Neural networks module for Redis

Neural Redis is a Redis loadable module that implements feed forward neural networks as a native data type for Redis. The project goal is to provide Redis users with an extremely simple to use machine learning experience.
loadmodule /path/to/neuralredis.so

> NR.CREATE net REGRESSOR 2 3 -> 1 NORMALIZE DATASET 50 TEST 10
(integer) 13

> NR.OBSERVE net 1 2 -> 3
1) (integer) 1
2) (integer) 0

Reading

3 Ways to Use Redis Hash in Java

Check out this comparison of Jedis, Spring Data Redis, and Redisson to see how each library talks to Redis and interacts with hashes.

Build geospatial apps with Redis

Learn how to simplify the development of location-based apps with Redis’ new geospatial indexing, sets, and operations

Distributed Locks using Golang and Redis

Maintaining locks across a cluster of application instances, be it multiple threads on the same server, or different servers altogether, is an often underestimated component of developing clustered applications (be it Golang or other languages and frameworks). It’s relatively straightforward but there are some gotchas to look out for when implementing your distributed locking mechanisms.

Free alerting and monitoring for Redis sponsor

Tightly crafted developer oriented online real-time administration, monitoring and alerting service for Redis.
Receive free Redis alerts today!

Code and libraries

neuralist - A PHP interface to access neural-redis

neuralist - Node.js interface for neural-redis

Node.js interface for neural-redis This module was adapted from amix's Python interface.

neuralist - A Python interface to access neural-redis

from neuralist import NeuralNetwork

nn = NeuralNetwork('additions',
                   type='regressor',
                   inputs=('number1', 'number2'),
                   outputs=('result',),
                   hidden_layers=(3, ),
                   dataset_size=50,
                   testset_size=10)

nn.observe_train(input={'number1': 1, 'number2': 1},
                 output={'result': 2})

nn.train()

while nn.is_training():
    print 'Training...'
    time.sleep(1)

print nn.run({'number': 1, 'number': 2})


Redis Weekly

A free, once–weekly e-mail round-up of Redis news, articles, tools and libraries.

ONE e-mail each Friday. Easy unsubscribe. No spam — your e-mail address is safe.