Skip to content

Instantly share code, notes, and snippets.

View larytet's full-sized avatar

Arkady Miasnikov larytet

View GitHub Profile
@larytet
larytet / scylladb-coding-task.md
Last active January 11, 2022 09:58
Throttling bandwidth with Go

Throttling bandwidth with Go

Imagine a service that is serving big log files over raw TCP, you decided to implement simple QoS for an existing server.

The goal of the task is to create small Go package that would allow for throttling bandwidth for TCP connections.

Requirements:

  • keep it simple
  • think of it as open-source software that builds upon existing solutions