CPPServer, C++ microservices engine
Native code container for Kubernetes
Martín Córdova y Asociados, C.A.
Our CPPServer platform allows fast development of microservices that return JSON datasets from SQL databases without writing any code, just by declaring tasks using a simple JSON configuration file.
Runs as a container from Laptop to Cloud, on Kubernetes or any Cloud container service, like Azure Container Apps, AWS BeanStalk and Google Cloud Run, in serverless mode for cost-effective, managed configurations. We provide full support from development to production, On-Prem or Cloud. Supports observability with built-in Prometheus endpoint for metrics, JSON logs, direct push to Loki and request tracing, no need for additional configurations. It can also run as a native Linux systemd service behind a load balancer like HAProxy. Stateless design, highly scalable.
CPPServer was written in C++ 20, compiles to optimized native-code (ARM/x86-64) with GCC 12.x as a ~300K binary executable, built from scratch for Linux, tighly integrated to the Kernel, it does use an async, event-oriented epoll server with a single thread for managing thousands of connections and an adjustable thead pool for the workers that execute microservices in async mode. A clean, effective and simple model that supports heavy workloads with little resources. The container image is based on Ubuntu 22.04 and PostgreSQL native client API, very light.
CPPServer image repo at Docker Hub
CPPServer is a plain micro-HTTP server, designed to be run with as many replicas as you want, behind a Load Balancer that takes care of providing the TLS (HTTPS) server for external clients. CPPServer can scale vertically, with more threads and more cores, and horizontally by adding more instances using Kubernetes auto-scale facilities. Security sessions are managed with very little overhead (microseconds) using a PostgreSQL database. Authentication and authorization will be enforced by CPPServer for every request if it was properly configured. It can use different Login systems commonly used at corporate level, like legacy-database or LDAP.
CPPServer includes a separate container to encapsulate the login mechanism, called LoginServer, you can find more detailed information regarding the security model in the LoginServer repo at Docker Hub
CPPServer is free to use, including commercial use, for a 10-minute QuickStart please visit:
CPPServer QuickStart with Kubernetes and PostgreSQL
Request support during your test period: cppserver@martincordova.com
For a more in-depth view of how CPPServer works under the hood, please read:
Anatomy of a C++ microservice
Front-End technology
CPPServer is completely independent of the front-end, microservices development is fully separated from front-end development, you can use
any Javascript framework that supports consuming JSON and is compatible with CORS. Nevertheless, we provide a complete front-end solution to boost
your front-end development using CPPServer, it's called WebR.
For a simple demo of our Web-Responsive (WebR) javascript frontend please visit: Demo WebR
login: user1..user10 password: basica
Please note: report dates range from 1994-01-01 to 1996-12-31, supports your device's dark mode.
WebR is a very convenient lightweight client for microservices, easy to convert into a native mobile App using Apache Cordova with biometric login and more. An Android native App version of the Demo WebApp is available here: Download APK