Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 829 Bytes

SPEC.md

File metadata and controls

18 lines (14 loc) · 829 Bytes

Backend Work Test

Create a simple in-memory cache with an HTTP interface

Interface ● HTTP POST / with the value as UTF-8 body ● HTTP GET / replies with the value as body or 404 if no such key exists

Keep in mind

  • Use idiomatic Go or Rust
  • Stored key expires after 30 minutes
  • The server is expected to handle a large load with an 80/20 ratio between reads and writes
  • Write it as if you would be expected to continue to support it in production for the foreseeable future
  • Add a README file with instructions on how to build, use and any additional information you might have

Remember, we want to see how you would build an in-memory cache with the given specifications. With this said; you're free to use external dependencies but for the core application (i.e. the cache) we want your implementation