← Back
Home › Systems › Sales, marketing and customer service

direct-mail

software platforms with outsourced printing

Lob, PostGrid, Click2Mail; online fax: eFax, Fax.Plus

SystemTechniques · 28Primitives · 102 direct-mail Template enginescompilers · medium: Compile templates with loops, partials and auto-escaping into render functionsDeterministic simulation testingdistributed · medium: Run the whole system in one thread under a seeded scheduler with simulated network, disk and clock, so every failure replays from its seed.›Durable job queuedistributed · medium: Persisted tasks that workers lease for a visibility timeout, ack on success and retry with backoff; at-least-once execution that survives worker and queue crashes.›Primary-backup replicationdistributed · medium: One node orders all writes and ships them to standbys; the acknowledgement rule (none, one, all) sets what a crash loses, and an external arbiter decides who takes over.›Order lifecycle state machinefinance · medium: Order states (new, partial fill, cancel/replace, rejected, expired) with strict transitions and idempotent eventsUsage meteringfinance · medium: Counting tokens/requests per user and key, aggregating for quotas and billing with idempotent eventsAddress geocodinggeometry · medium: Parse, normalize and fuzzy-match postal addresses to coordinates and backIdempotency keysfinance · low: Client-chosen unique key per logical operation, stored with a request fingerprint and the final response, so retries replay the first result instead of acting twice.›Mime parsingstorage · low: RFC 5322/2045 headers, multipart bodies and transfer encodingsHuffman codingcompression · low: Optimal prefix code with whole-bit codeword lengths; table-driven decoding at about one symbol per few cycles, the entropy stage of DEFLATE, JPEG and zstd literals.›Barcode symbologiesdata-structures · low: Encode/decode 1D and 2D barcodes (Code 128, DataMatrix, QR) with their error correctionHdr histogramdata-structures · low: Log-linear bucketed histograms with bounded relative error for latency percentilesColor space conversiongraphics · low: Convert pixels between transfer curves (sRGB, linear light), primaries (sRGB, Display P3, XYZ) and Y'CbCr, using tables for the curve and 3x3 matrices for the rest.›Image resampling filtersgraphics · low: Resize an image by convolving with a kernel (box, triangle, cubic, Lanczos) whose width scales with the shrink factor, done as two separable 1-D passes with precomputed weights.›Process supervisionhardware-os · low: A parent process starts services, reaps their exits and restarts them under a delay and burst-limit policy, then stops them with SIGTERM before SIGKILL.›Sip signalingmedia · low: SIP call setup, dialogs, SDP offer/answer and registrar/proxy routingFax t30 t38 protocolnetworking · low: Fax session negotiation (T.30) and real-time relay over IP (T.38) with error correction modeMutual TLSsecurity · low: TLS where the client also proves a certificate key, so every connection carries a verified, rotatable machine identity.›Pdf object model parsingstorage · low: PDF xref tables, object streams, content stream operators and incremental updatesGraceful drainingsystems · low: On a termination signal, stop taking new work, finish in-flight work until a deadline, tell clients to reconnect elsewhere, then exit; clients resume from a token.›Name resolutioncompilers · low: Bind every use of a name to its declaration with a scope stack, handling shadowing, hoisting and closure capture in one AST walk.›Recursive-descent parsingcompilers · low: Hand-written top-down parser with one function per grammar rule; simple, fast, with full control over error messages and recovery.›Html sanitizationsecurity · low: Allowlist-based HTML sanitizing of untrusted markup+ 21 more techniques+ 86 more primitives

Similar systems

Share the most building blocks with this one.