proprietary / prv.ec

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

Home Page:https://prv.ec

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

https://prv.ec

License:Apache License 2.0


Languages

Language:C++ 79.0%Language:CMake 10.2%Language:TypeScript 10.1%Language:CSS 0.4%Language:JavaScript 0.2%