← Back
Home › Systems › Payments and commerce

cloud-marketplace

cloud software marketplace on the cloud bill

AWS Marketplace, Azure Marketplace, Google Cloud Marketplace

SystemTechniques · 25Primitives · 92 cloud-marketplace Infrastructure as codecloud · medium: Declare servers, networks, DNS and permissions in versioned files and let a tool converge reality to them; Terraform/OpenTofu for most teams, Pulumi or CDK when you want a real language.›Deterministic 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.›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 eventsTariff ratingfinance · medium: Rate usage events against price plans: tiers, time bands, bundles and rounding rulesUsage meteringfinance · medium: Counting tokens/requests per user and key, aggregating for quotas and billing with idempotent eventsImage based provisioninghardware-os · medium: Stream and verify disk images onto machines, then first-boot configurationIdempotency 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.›Money representationfinance · low: Store money as integer minor units with an explicit currency exponent, compute in wider integers, and round once with a named rounding mode.›Calendar date arithmeticsystems · low: Civil dates, time zones (tzdb), DST gaps, month-end anchoring and duration mathEvent deduplication windowdistributed · low: Keep the ids of recently accepted events for a time window and drop repeats; memory stays bounded by rotating time buckets instead of per-entry timers.›BM25 rankingsearch-sort · low: The standard lexical relevance score: IDF-weighted term frequency with saturation (k1) and length normalization (b); default in Lucene, Elasticsearch and SQLite FTS5.›Hdr histogramdata-structures · low: Log-linear bucketed histograms with bounded relative error for latency percentilesPriority waterfall allocationeconomics · low: Applying incoming payments to fees, interest and principal in a defined priority orderCurrency cross rate triangulationfinance · low: Deriving cross rates through a base currency with correct precision, inversion and spreadsDouble-entry ledgerfinance · low: Append-only journal of transactions whose postings sum to zero per currency; balances are derived, so money can only move, never appear or vanish.›Proration calculationfinance · low: Prorating charges and credits for mid-cycle plan changes by time usedReconciliationfinance · low: Match internal ledger records against bank and processor statements by reference, then amount and date window; every unmatched or mismatched item becomes an exception.›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.›Authorization models (RBAC, ABAC, R…security · low: How to decide who may do what to which object; roles for coarse rules, relationships for sharing, and checks on every object.›JSON Web Token (JWT)security · low: A signed, URL-safe token carrying claims; the verifier's job is the checklist (pinned algorithm, key by kid, exp, aud, iss), not the format.›Mutual TLSsecurity · low: TLS where the client also proves a certificate key, so every connection carries a verified, rotatable machine identity.›OAuth 2 and OpenID Connectsecurity · low: Delegated authorization (OAuth 2) and login on top of it (OIDC); use authorization code + PKCE for every user-facing client.›+ 18 more techniques+ 76 more primitives

Similar systems

Share the most building blocks with this one.