Coder Social home page Coder Social logo

kasper's People

Contributors

henzenvandijk avatar nmaquet avatar ouchxp avatar therealplato avatar vemel 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kasper's Issues

Project status?

Greetings. I read your intro blog post and talk.

Very intrigued by this project (as well as goka), but noticed that it's still in beta and doesn't seem to be under active development.

So, curious ... are you still using it in production? Did the micro-batching / centralized state-management design prove to be problematic?

Expose noopMetric MetricsProvider

For testing, it would be nice to be able to use the noopMetric as the MetricsProvider but since it's not exported, you have to copy the implementation. It would be nice if this was exported so that you can use it.

Stores should return interface

You're defining two interfaces Map and MultiMap but in the concrete implementation of Redis in the functions NewMultiRedis and NewRedis you're returning internal structure instead of the interface (MultiStore and Store respectfully). Same for elasticsearch.

This makes it difficult to leverage the interface when swapping out Store implementations.

For example, instead of:

func NewRedis(config *Config, conn redis.Conn, keyPrefix string) *Redis

It should be:

func NewRedis(config *Config, conn redis.Conn, keyPrefix string) Store

Since the Redis struct implements the Store interface.

If a user would like to use the concrete implementation (for some reason), they can always do something like the following to check the implementation and cast:

if r, ok := thestore.(*Redis); ok {
}

If we can make this change, it will make it much easier to actually use different implementations of these interfaces.

I'm happy to submit a PR if you'd like.

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.