Skip to content
CAI
Software that uses CAICheck a score

openx/ox-thrift

59.8

Adequate · 15 November 2026

2.6k

lines of production code

Erlang

primary language

4

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

This system is an Erlang library implementing the Apache Thrift RPC protocol, providing both client and server components for high-performance remote procedure calls. It supports binary and compact protocols, manages TCP connections via a socket pool built on Ranch, and includes configuration options for timeouts, message sizes, and data structures. The library also features a test suite validating protocol encoding, field handling, and client integration.

Features

Initial release of OX Thrift library

This entry introduces the OX Thrift library, a high-performance Erlang implementation of the Apache Thrift RPC protocol. The package includes the core client and server modules, a socket connection pool, and support for both binary and compact protocols. It is built using rebar3 and depends on the Ranch network acceptor pool (version 1.7.1). The release also includes documentation on the message protocol, a BSD 3-Clause license, and build configuration files.

(repo-wide) · high confidence

Initial release of ox\_thrift server configuration and types

This change introduces the \ox\_thrift.hrl\ header file, defining the core data structures and options for the ox\_thrift server. It establishes the \ox\_thrift\_config\ record, which specifies the service module, handler module, and an optional protocol module (defaulting to auto-detection between binary and compact protocols if unset). The configuration also supports options for receive timeouts, map module selection (\dict\ or \maps\), maximum message size, stats collection modules, and process spawn options. Additionally, it defines the \ox\_thrift\_option\ type and constants for application exception types.

include · high confidence

Initial release of the ox\_thrift Erlang Thrift client and server library

This change introduces the core ox\_thrift library, providing a complete Thrift implementation for Erlang. It includes a client module (ox\_thrift\_client) for making RPC calls, a server module (ox\_thrift\_server) built on Ranch for handling incoming requests, and a connection pool (ox\_thrift\_socket\_pool) for managing TCP connections. The library supports both binary and compact Thrift protocols, allows configuration of map modules (dict or maps), and enables receive timeouts and maximum message sizes for both client and server operations.

src · high confidence

Test coverage

Added test suite for Thrift encoding, skipping, and shackle client integration

Added EUnit tests in the test directory to verify Thrift binary and compact protocol encoding round-trips, handling of skipped/missing fields, and integration with the shackle client pool. The test suite includes a direct transport for in-process server calls and a socket transport for network-based tests, covering service operations like add\_one, sum\_ints, and exception handling.

test · high confidence

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 60 → 60 (-0.1)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 96 → 95 (-1.1)
  • Architecture 100 → 100 (+0.0)
  • Maturity 48 → 48 (+0.0)
  • Readiness 68 → 68 (+0.0)
  • Security 60 → 60 (+0.0)

New (2)

  • Edited copy of a member (12 corresponding lines) (src/ox_thrift_server.erl)
  • Edited copy of a member (29 corresponding lines) (src/ox_thrift_protocol_binary.erl)

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

openx/ox-thrift was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 15 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit ef318c5f01fef63aea576bed386eba17d8f8e14b — the exact code this score is about.
  • Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-3c33c1882dc1.