Skip to content

⚡ Super light and extremely flexible sharding library written in pure go.

License

Notifications You must be signed in to change notification settings

skamenetskiy/sharding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sharding test Coverage Status CodeQL report godoc

⚡ Super light and extremely flexible sharding library written in pure go.

Features

  • 🆓 Dependency free - uses only standard go packages but can be extended with customs if required.
  • 🌐 Generic - unlike most libraries, not limited to sql.DB or any other interface, you define the client.
  • 🤵 Elegant - modern looking API, generic, lambdas and other cool stuff.
  • 💯 Tested - 100% test coverage (and planning to keep it this way).

Examples

Pitfalls

  • ❌ Key types are currently limited to string, int64, uint64 or []byte.
  • ❌ There's no re-sharding support. It is too specific for each use case, thus pretty hard to implement.

License

The sharding package is open-sourced software licensed under the MIT license.

About

⚡ Super light and extremely flexible sharding library written in pure go.

Topics

Resources

License

Stars

Watchers

Forks

Languages