mixpanel/qqs

Name: qqs

Owner: Mixpanel, Inc

Description: The purpose of a quota service is to prevent cascading failures in micro-service environments. The service acts as a traffic cop, slowing down traffic where necessary to prevent overloading services. For this to work, remote procedure calls (RPCs) between services consult the quota service before making a call. The service isn?t strictly for RPCs between services, and can even be used to apply quotas to database calls, for example.

Forked from: mian-qin/qqs

Created: 2018-02-07 22:28:14.0

Updated: 2018-03-28 21:31:29.0

Pushed: 2018-03-28 21:31:28.0

Homepage:

Size: 8668

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Query Quota Service

In order to minimize the performance impact and infrastructure cost from costly queries and link customer importance with their query performance, we need a way to allow key customers to run more queries and those who are not high-paying users but execute costly queries to run fewer queries. Also, support can also temporarily increase a customer?s query rate to address traffic spikes. Similarly, engineers can temporarily decrease a problematic customer?s query rate to minimize the negative impact on other users? queries.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.