rediscalaRedis的Scala客户端
rediscala 是 Redis 的 Scala 非堵塞客户端开发包,支持异步 I/O 操作。
示例代码:
import redis.RedisClient import scala.concurrent.Await import scala.concurrent.duration._ import scala.concurrent.ExecutionContext.Implicits.global object Main extends App { implicit val akkaSystem = akka.actor.ActorSystem() val redis = RedisClient() val futurePong = redis.ping() println("Ping sent!") futurePong.map(pong => { println(s"Redis replied with a $pong") }) Await.result(futurePong, 5 seconds) akkaSystem.shutdown() }
评论
ScredisRedis 的 Scala 客户端
Scredis是一个Redis的Scala客户端开发包。基于Akka构建,特点是Reactive、非堵塞以及超级快。示例代码:import scredis._import scala.util.{ S
ScredisRedis 的 Scala 客户端
0
MemcontinuationedMemcached的Scala客户端
Memcontinuationed是Scala的异步memcached客户端。Memcontinua
MemcontinuationedMemcached的Scala客户端
0
MemcontinuationedMemcached的Scala客户端
Memcontinuationed是Scala的异步memcached客户端。Memcontinuationed是JVM上最快的Memcached客户端,比spymemcached或 Whalin的客
MemcontinuationedMemcached的Scala客户端
0
cassandra_client_scalaCassandra 的 Scala 客户端开发包
从名字上就可以看出,cassandra_client_scala 是 Cassandra 的 Sca
cassandra_client_scalaCassandra 的 Scala 客户端开发包
0
cassandra_client_scalaCassandra 的 Scala 客户端开发包
从名字上就可以看出,cassandra_client_scala是Cassandra的Scala编程语言的客户端开发包。
cassandra_client_scalaCassandra 的 Scala 客户端开发包
0