Version 2 (modified by 13 years ago) (diff) | ,
---|
TolRedis package
The TolRedis package provides a TOL interface to Redis. Redis is a very efficient in memory key/value. It supports data persistence, networked client/server operation, structured value types, data expriration, clustering, multicast-like publish/subscribe, all in a very fast implementation.
The following example illustrates a simple use of TolRedis:
#Require TolRedis; TolRedis::@Client r = [[ Text _.host = "cox01" ]]; Real r::Open(?); Text key = "TestWriteRead_key"; Real statusSET = redis::SET( key, "Hello Redis" ); WriteLn( "statusSET = " << statusSET ); Text value = redis::GET( key ); WriteLn( "value from GET = " << value ); Real r::Close(?);