Search code examples
redisbooksleeve

Booksleeve Redis development guide


Is there an article or resource on getting started with BookSleeve Redis? Thanks


Solution

  • Book sleeve is just a wrapper around redis, so any data decisions really relate equally to any redis guide. http://redis.io would be a starting place. In terms of the API, the only things that should need highlighting are:

    • most operations are async and are exposed via the Task api; this allows a range of usage patterns including (but not limited to) the new "async"/"await" keywords
    • the operations are split by data type, so .Strings, .Hashes, etc
    • a connection is a thread-safe multiplexer and is designed to be used by multiple callers concurrently - you do not (and should not) need to use a connection scoped per caller

    I am interested in what things you would want me to include in more detailed documentation. What would be useful? What is unclear? What do you need?

    If you can describe what you need, I can write it :p