An open API service indexing awesome lists of open source software.

https://github.com/proprietary/prv.ec

URL shortener: high performance C++ web service to serve URL redirections
https://github.com/proprietary/prv.ec

Last synced: 12 months ago
JSON representation

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

Awesome Lists containing this project

README

          

====================
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