Git Product home page Git Product logo

basteh's People

Contributors

pooyamb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

basteh's Issues

Improve documentations

Improve storage and implementors documentation:

  • Lib.rs documentations (postponed for 0.3)
  • Description for implementors logic
  • How-tos for library development (postponed for 0.3)
  • Provide better examples
  • Improve readme for implementors
  • Documentation for scopes and implementors details

Support atomic operations

Adding atomic operations would make sense as sled and redis already support them. But it may make this crate more complex if not done right.

  • Provide numeric type support*
  • Provide increment, decrement and comparation methods
  • Provide passing closures to backends to do atomic operations**

* Ideally it should not be hard coded in the main crates, should give implementers enough room to specialize the behavior
** May require defining a generic Item type and depend on implementers to implement the exact behavior

Improve error handling with logs

Some errors(ex. failed decoding in sled) are ignored by default, and some others can be improved to provide more details.

  • Log runtime errors/warnings wherever possible when ignoring makes sense

Improve tests

Tests include so many unwraps and can be improved to provide better debug messages on failures.

  • Remove unwraps
  • Refactor to smaller tasks and separate logic for different operation tests
  • Provide better tests for sled and redis

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.