Skip to content

proprietary/prv.ec

Repository files navigation

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

About

URL shortener: high performance C++ web service to serve URL redirections

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published