Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 1.34 KB

README.rst

File metadata and controls

48 lines (31 loc) · 1.34 KB

prv.ec

URL shortening service written in C++

Try it out!

Live at 👉 https://prv.ec 👈

Design goals

  • Extremely fast, low latency HTTP responses
  • Do not block the event loop
  • Support >100k concurrent requests
  • Can be run on cheap hardware
  • Web scale without the hardware cost

Installation

This is targeted and tested on amd64 Linux only, for now, though it should not be hard to build on BSD.

Build Dependencies

Use the latest gcc or clang. C++20 is a must. See docs/INSTALLATION.rst for detailed build instructions.

  • RocksDB - an on-disk embedded key-value database maintained by Meta/FB
  • proxygen - robust C++ web server maintained by Meta/FB
  • folly - batteries-included C++ library maintained by Meta/FB
  • fizz - TLS1.3 library
  • gflags - Google Flags
  • gtest - Google Teset
  • glog - Google Logging

A frontend built with Next.js is included in frontend/.

License

Apache-2.0