{"repo":"zio/zio-redis","free":true,"listed":false,"github":"https://github.com/zio/zio-redis","clone":"git clone https://github.com/zio/zio-redis.git","description":"A ZIO-based redis client","language":"Scala","stars":135,"topics":["zio","redis"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"[//]: # (This file was autogenerated using zio-sbt-website plugin via sbt generateReadme command.) [//]: # (So please do not edit it manually. Instead, change \"docs/index.md\" file or sbt setting keys) [//]: # (e.g. \"readmeDocumentation\" and \"readmeSupport\".) ZIO Redis Introduction ZIO Redis is a ZIO-native Redis client. It aims to provide a type-safe and performant API for accessing Redis instances. Installation To use ZIO Redis, add the following line to your build.sbt : Example To execute our ZIO Redis effect, we should provide the RedisExecutor layer to that effect. To create this layer we should also provide the following layers: - RedisConfig — Using default one, will connect to the localhost:6379 Redis instance. - BinaryCodec — In this example, we are going to use the built-in ProtobufCodec codec from zio-schema project. To run this example we should put following dependencies in our build.sbt file: Testing To test you can use the embedded redis instance by adding to your build: Then you can supply EmbeddedRedis.layer.orDie as your RedisConfig and you're good to go! Resources - ZIO Redis by Dejan Mijic — Redis is one of the most commonly used in-memory data structure stores. In this talk, Dejan will introduce ZIO Redis, a purely functional, strongly typed client library backed by ZIO, with excellent performance and extensive support for nearly all of Redis' features. He will explain the library design using the bottom-up approach - from communication protocol to public ","default_branch":null,"files":null,"tree":[],"storefront":"/r/zio","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/zio/zio-redis/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}