10000 Rate limiting the API / key endpoints · Issue #1262 · getfider/fider · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Rate limiting the API / key endpoints #1262
Open
@mattwoberts

Description

@mattwoberts

To help with any abuse of the app, it would be wise to add a rate limiter.

It would make sense to rate limit by tenant (only an issue if you're in multi host mode, which won't affect most self-hosters)

In the interest of "keep it simple" - let's start with this:

  • Rate limit ONLY for creating posts and comments
  • Rate limit by tenant (i.e. X posts per tenant)
  • Allow the limits to be set in config

Something that uses middleware to manage this, for example something a bit like the article describes here: https://blog.logrocket.com/rate-limiting-go-application/

I don't think we need an extra lib for this, since the requirements are quite simple.

Metadata

Metadata

Assignees

No one assigned

    Labels

    goPull requests that update Go codehelp wantedwe need your help on this issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0