Giter Site home page Giter Site logo

Create feature toggle service about short HOT 7 CLOSED

short-d avatar short-d commented on August 25, 2024
Create feature toggle service

from short.

Comments (7)

magicoder10 avatar magicoder10 commented on August 25, 2024 1

https://martinfowler.com/articles/feature-toggles.html

from short.

magicoder10 avatar magicoder10 commented on August 25, 2024 1

backend
https://github.com/byliuyang/toggle

from short.

magicoder10 avatar magicoder10 commented on August 25, 2024 1

@alldroll I'll setup up the project in order to get started.

from short.

alldroll avatar alldroll commented on August 25, 2024

An interesting task!
I would like to implement this service, but I have a couple of questions...

  • How exactly ProbabilisticToggle should work? Is it going to use some strategy as Epsilon greedy or Exp3? If not, we could just use modulo arithmetic on a user ID for A/B splitting. (as I understood, all clients are registered)
  • Is it going to be a separate microservice or part of the application?
  • How are we going to decide who has access to the feature control panel? Is it going to be a special role?

from short.

magicoder10 avatar magicoder10 commented on August 25, 2024

Hi @alldroll, to answer your questions:

  • How exactly ProbabilisticToggle should work? Is it going to use some strategy as Epsilon greedy or Exp3? If not, we could just use modulo arithmetic on a user ID for A/B splitting. (as I understood, all clients are registered)

Machine Learning optimization is definitely a plan in the future! For now, to simplify, we generate unique identifier for each user visiting the site and save it in the cookie. The ID will be tied to the users account after they signed in. For probabilisticToggle, the first time the user see the page, the feature toggle will decided which feature this user will see and record that user's unique ID and upgrade the toggle to UserToggle at the background.

  • Is it going to be a separate microservice or part of the application?

This will be a separate microservice so that future project and the community developers have easy access to it: https://github.com/byliuyang/toggle. Logically, it's not a unique need of Short.

  • How are we going to decide who has access to the feature control panel? Is it going to be a special role?

Since it's a separate microservice, it should have its separate access control list. I am also planning to decouple single sign on from Short's repo and reuse it for other services.

from short.

magicoder10 avatar magicoder10 commented on August 25, 2024

I haven't finished the design of analytics part it.

from short.

alldroll avatar alldroll commented on August 25, 2024

Ok, let me know when it will be ready!

from short.

Related Issues (20)

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.