We currently have nebulex_ecto configured to use the nebulex_redis_adapter and its working pretty well. The issue we're seeing currently is exceptions being thrown by the underlying redis adapter if there is a temporary disconnection. As this is a cacheing library, I'd expect the library to go to the repo if there was a problem reading the value from the cache instead of crashing my process.
Expected behavior: If there was an error trying to read data from the cache, the library should read the data from the db instead.
Observed behavior: Temporary disconnects cause nebulex_ecto to raise.
Thanks for this library. Its super helpful!
We currently have nebulex_ecto configured to use the nebulex_redis_adapter and its working pretty well. The issue we're seeing currently is exceptions being thrown by the underlying redis adapter if there is a temporary disconnection. As this is a cacheing library, I'd expect the library to go to the repo if there was a problem reading the value from the cache instead of crashing my process.
Expected behavior: If there was an error trying to read data from the cache, the library should read the data from the db instead.
Observed behavior: Temporary disconnects cause nebulex_ecto to raise.
Stacktrace:
We are seeing the underlying redix library reconnecting automatically and subsequent requests to the cache are successful.