# Serialization protocols

Serialization protocols are mechanisms and formats for encoding structured data for storage or transmission between software systems.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Unsiloed nabs $7.5M to turn scanned documents into structured data for AI agents

DevFeed: [Unsiloed nabs $7.5M to turn scanned documents into structured data for AI agents](<https://devfeed.tech/articles/unsiloed-nabs-7-5m-to-turn-scanned-documents-into-structured-data-for-ai-agents-140862.md>)

Original publisher: [Read original article](<https://siliconangle.com/2026/11/18/unsiloed-nabs-7-5m-to-turn-scanned-documents-into-structured-data-for-ai-agents/>)

Author: Kyt Dotson

Published: 2026-11-18T16:00:40Z

Content type: news

Language: en

Sources: [SiliconANGLE](<https://devfeed.tech/sources/siliconangle.md>)

Topics: [document ai](<https://devfeed.tech/topics/document-ai.md>), [Amazon Textract](<https://devfeed.tech/topics/amazon-textract.md>), [AI-Ready Data](<https://devfeed.tech/topics/ai-ready-data.md>), [Serialization protocols](<https://devfeed.tech/topics/serialization-protocols.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [ai-startup-funding](<https://devfeed.tech/tags/ai-startup-funding.md>), [aman-mishra](<https://devfeed.tech/tags/aman-mishra.md>), [apps](<https://devfeed.tech/tags/apps.md>), [artificial-intelligence](<https://devfeed.tech/tags/artificial-intelligence.md>), [computer-vision](<https://devfeed.tech/tags/computer-vision.md>), [funding](<https://devfeed.tech/tags/funding.md>), [news](<https://devfeed.tech/tags/news.md>), [pdfs](<https://devfeed.tech/tags/pdfs.md>), [scanning](<https://devfeed.tech/tags/scanning.md>), [startup-funding](<https://devfeed.tech/tags/startup-funding.md>), [structured-data](<https://devfeed.tech/tags/structured-data.md>), [the-latest](<https://devfeed.tech/tags/the-latest.md>), [unsiloed](<https://devfeed.tech/tags/unsiloed.md>)

### AI overview

Unsiloed says its visual-first parser converts PDFs, forms, presentations, Word files and images into Markdown or JSON while preserving layout, tables, sections and relationships between content. Unlike OCR, which the article describes as extracting text without recognizing layout or graphics, Unsiloed combines computer vision algorithms with dual-stream vision models that process text and visual structure together. Developers can provide schemas to extract fields, classify or split documents, and update text and images while retaining formatting. The company reports an 88.0 score on olmOCR-Bench, compared with 81.9 for Claude Opus 4.7, 84.6 for GPT 5.5 and 77.7 for Gemini 3 Pro, and says it ranked first among 19 systems. It supports private cloud, on-premises and air-gapped deployment. The excerpt reports a $7.5 million seed round led by Felicis.

### Source excerpt

Document-scanning firm Unsiloed Inc. today announced it has raised $7.5 million in seed funding to turn PDFs and other complex documents into structured, readable data for artificial intelligence agents. Participants in the round, led by Felicis, included Y Combinator, Orange Collective, Uncorrelated Ventures, Aarthi Ramamurthy and Beth Turner. A variety of documents arrive in formats [...] The post Unsiloed nabs $7.5M to turn scanned documents into structured data for AI agents appeared first on SiliconANGLE.

## From Isolated Protocols to Integrated Pipelines: Benchmarking IoT Communication in the MASA Living Lab

DevFeed: [From Isolated Protocols to Integrated Pipelines: Benchmarking IoT Communication in the MASA Living Lab](<https://devfeed.tech/articles/from-isolated-protocols-to-integrated-pipelines-benchmarking-iot-communication-in-the-masa-living-lab-131581.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.15595>)

Author: Antonio Solida, Enrico Rossini, Marcello Pietri, Marco Picone, Carlo Augusto Grazia

Published: 2026-11-13T05:00:00Z

Content type: news

Language: en

Sources: [arXiv: Networking](<https://devfeed.tech/sources/arxiv-networking.md>)

Topics: [performance-engineering](<https://devfeed.tech/topics/performance-engineering.md>), [Internet of things](<https://devfeed.tech/topics/iot.md>), [protocols](<https://devfeed.tech/topics/protocols.md>), [Serialization protocols](<https://devfeed.tech/topics/serialization-protocols.md>), [Data transmission](<https://devfeed.tech/topics/data-transmission.md>), [middleware](<https://devfeed.tech/topics/middleware.md>)

Tags: [benchmarking](<https://devfeed.tech/tags/benchmarking.md>), [communication](<https://devfeed.tech/tags/communication.md>), [cs-ni](<https://devfeed.tech/tags/cs-ni.md>), [iot](<https://devfeed.tech/tags/iot.md>), [jitter](<https://devfeed.tech/tags/jitter.md>), [latency](<https://devfeed.tech/tags/latency.md>), [performance](<https://devfeed.tech/tags/performance.md>), [pipelines](<https://devfeed.tech/tags/pipelines.md>), [protocols](<https://devfeed.tech/tags/protocols.md>), [throughput](<https://devfeed.tech/tags/throughput.md>), [transport](<https://devfeed.tech/tags/transport.md>)

### AI overview

The MASA living-lab benchmark finds that isolated component costs do not reliably predict integrated IoT pipeline performance. It evaluates local processing overhead, end-to-end latency, jitter, throughput, and delivery reliability across combinations of transport, messaging, serialization, and compression. Serialization or compression differences of tens of microseconds can coexist with end-to-end latency differences of several milliseconds, with middleware buffering and transport behavior substantially affecting timing. The authors conclude that stacks should be assessed as integrated pipelines under representative loads, with selection guided by application needs such as network conditions, communication patterns, and reliability requirements.

### Source excerpt

arXiv:2611.15595v1 Announce Type: new Abstract: The performance of real-time IoT communication systems depends not only on individual transport protocols, serialization formats, and data-processing stages, but also on how these components interact within the complete communication pipeline. Selecting an appropriate communication stack is therefore application-dependent and requires considering processing capabilities, network characteristics, communication patterns, and reliability requirements. This paper provides an experimental, evidence-based analysis of these interactions through a controlled benchmark of integrated communication pipelines deployed in the MASA living lab. We jointly evaluate local processing overhead, end-to-end latency, jitter, throughput, and delivery reliability across different combinations of transport, messaging, serialization, and compression mechanisms. Results show that component-level processing costs do not directly predict end-to-end performance. In particular, differences of only tens of microseconds in serialization or compression costs can coexist with several-millisecond differences in end-to-end latency, while middleware buffering and transport behavior substantially affect timing performance. The results demonstrate that communication-stack components should be evaluated as integrated pipelines and under representative operating loads rather than ranked independently.

## Comparing Write, Read, and Query Performance of General-Purpose and Columnar Data Serialization Formats at Increasing Scale: An Empirical Benchmark Study with Statistical Validation on Synthetic and Real-World Data

DevFeed: [Comparing Write, Read, and Query Performance of General-Purpose and Columnar Data Serialization Formats at Increasing Scale: An Empirical Benchmark Study with Statistical Validation on Synthetic and Real-World Data](<https://devfeed.tech/articles/comparing-write-read-and-query-performance-of-general-purpose-and-columnar-data-serialization-formats-at-increasing-scale-an-empirical-benchmark-study-with-statistical-va-125664.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.10398>)

Author: Asra Fathima

Published: 2026-11-10T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Databases](<https://devfeed.tech/sources/arxiv-databases.md>), [arXiv: Software Engineering](<https://devfeed.tech/sources/arxiv-software-engineering.md>)

Topics: [Data serialization](<https://devfeed.tech/topics/data-serialization.md>), [Benchmark](<https://devfeed.tech/topics/benchmark.md>), [parquet](<https://devfeed.tech/topics/parquet.md>), [Serialization protocols](<https://devfeed.tech/topics/serialization-protocols.md>), [IO](<https://devfeed.tech/topics/io.md>)

Tags: [benchmark](<https://devfeed.tech/tags/benchmark.md>), [columnar](<https://devfeed.tech/tags/columnar.md>), [cs-db](<https://devfeed.tech/tags/cs-db.md>), [cs-pf](<https://devfeed.tech/tags/cs-pf.md>), [cs-se](<https://devfeed.tech/tags/cs-se.md>), [data-serialization](<https://devfeed.tech/tags/data-serialization.md>), [performance](<https://devfeed.tech/tags/performance.md>), [query](<https://devfeed.tech/tags/query.md>), [scale](<https://devfeed.tech/tags/scale.md>)

### AI overview

Across four dataset scales and two different hosts, the benchmark found that selective queries requiring full deserialization were one to three orders of magnitude more expensive than approaches that avoid it. Indexed SQLite was significantly fastest for selective access at every scale; Parquet's pyarrow pushdown was significantly cheaper than naive materialization. Pickle was significantly faster to write than Parquet on both hosts, a result supported by 20 trials rather than the earlier five-trial pilot. A 1.47-million-row public fraud dataset reproduced the query-performance gap and indexed SQLite advantage. The study compared write time, storage size, read time, and query time, using statistical tests to assess differences.

### Source excerpt

arXiv:2611.10398v1 Announce Type: new Abstract: This study presents an empirical benchmark comparing nine format and access-method combinations across six data serialization technologies: CSV (including a column-projected variant), gzip CSV, JSON Lines, Python Pickle, SQLite (unindexed and indexed), and Apache Parquet (naive and pyarrow pushdown). A synthetic dataset was generated at four scales (50,000 to 3,000,000 rows), with write time, storage size, read time, and query time measured across twenty trials on two independent hosts, a native 24 GB Apple Silicon machine and a memory-constrained, single-core 4 GB Linux virtual machine. Mean, standard deviation, and 95 percent confidence intervals are reported for each host. The most robust finding, stable across every scale and both hosts, is that flat formats requiring full deserialization before filtering are one to three orders of magnitude more expensive for selective queries than any approach that avoids it. Welch t-tests, corroborated by Mann-Whitney U tests, show SQLite (indexed) is significantly fastest for selective access at every scale on both hosts, with the pushdown path of Parquet significantly cheaper than naive materialization. With the increased trial count, the write-time variance of Pickle narrowed enough to show it is significantly faster than Parquet at write time on both hosts, not the statistical tie an earlier five-trial pilot suggested. These findings were confirmed on a real, public 1.47-million-row e-commerce fraud dataset, which reproduced the same order-of-magnitude gap between flat and non-flat formats and the same SQLite (indexed) advantage. These results offer statistically grounded guidance for format selection in data engineering pipelines.

## Decentralized Medical Data Sharing with Off-chain Storage and View-based Access Control

DevFeed: [Decentralized Medical Data Sharing with Off-chain Storage and View-based Access Control](<https://devfeed.tech/articles/decentralized-medical-data-sharing-with-off-chain-storage-and-view-based-access-control-101422.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.34279>)

Author: Hajin Jeon, Hyung-Jin Yoon, Jemin Lee, Min-Soo Kim

Published: 2026-10-27T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Cryptography and Security](<https://devfeed.tech/sources/arxiv-cryptography-and-security.md>), [arXiv: Databases](<https://devfeed.tech/sources/arxiv-databases.md>)

Topics: [Access Control](<https://devfeed.tech/topics/access-control.md>), [Data Space](<https://devfeed.tech/topics/data-space.md>), [NEO](<https://devfeed.tech/topics/neo.md>), [Data integrity in software engineering](<https://devfeed.tech/topics/data-integrity-in-software-engineering.md>), [Serialization protocols](<https://devfeed.tech/topics/serialization-protocols.md>), [Protection](<https://devfeed.tech/topics/protection.md>)

Tags: [access-control](<https://devfeed.tech/tags/access-control.md>), [blockchain](<https://devfeed.tech/tags/blockchain.md>), [compliance](<https://devfeed.tech/tags/compliance.md>), [cs-cr](<https://devfeed.tech/tags/cs-cr.md>), [cs-db](<https://devfeed.tech/tags/cs-db.md>), [data-protection](<https://devfeed.tech/tags/data-protection.md>), [decentralized](<https://devfeed.tech/tags/decentralized.md>), [encryption](<https://devfeed.tech/tags/encryption.md>), [end-to-end-encryption](<https://devfeed.tech/tags/end-to-end-encryption.md>), [formats](<https://devfeed.tech/tags/formats.md>), [interoperability](<https://devfeed.tech/tags/interoperability.md>), [medical](<https://devfeed.tech/tags/medical.md>), [medical-data](<https://devfeed.tech/tags/medical-data.md>), [medical-data-sharing](<https://devfeed.tech/tags/medical-data-sharing.md>), [medical-research](<https://devfeed.tech/tags/medical-research.md>), [metadata](<https://devfeed.tech/tags/metadata.md>), [privacy](<https://devfeed.tech/tags/privacy.md>), [protocols](<https://devfeed.tech/tags/protocols.md>), [scalability](<https://devfeed.tech/tags/scalability.md>), [sharing](<https://devfeed.tech/tags/sharing.md>), [standards](<https://devfeed.tech/tags/standards.md>), [storage](<https://devfeed.tech/tags/storage.md>)

### AI overview

VASCO proposes decentralized medical data sharing using off-chain storage and eight chaincodes based on view-based access control. It is designed to avoid a central server, including for key generation, and dependence on specialized storage such as IPFS or secure channels; it encrypts data and metadata and supports end-to-end encryption. The authors describe interoperable data flows across stakeholders with different standards, formats, and protocols. They report scalability testing on a 21-peer blockchain and interoperability checks across 30 combinations, and claim advantages over existing systems in functionality and regulatory compliance. The abstract does not provide detailed performance results or specify the regulations assessed.

### Source excerpt

arXiv:2610.34279v1 Announce Type: cross Abstract: Recently, many blockchain-based medical data sharing systems using off-chain storage have been proposed. However, these systems have some drawbacks such as being incompletely decentralized, low adaptability to cloud storages, high cost, and low security. It is non-trivial to address the drawbacks due to the transparency, immutability, and decentralization of a blockchain platform. Our goal is to design a decentralized medical data sharing system with off-chain storage that addresses all the above drawbacks while satisfying data protection and privacy laws. We propose the VASCO (View-based AccesS COntrol) system that does not rely on any central server including a key generation one, not rely on any special cloud storage including IPFS, not use a secure channel, encrypts both data and metadata, and supports end-to-end encryption. We achieve it by designing eight chaincodes rigorously based on view-based access control. For a medical data ecosystem that consists of many stakeholders who employ different data standards, storage formats, and transmission protocols, we present how typical flows of medical data in the ecosystem can be achieved by using the proposed chaincodes with interoperability. We showed that VASCO is superior to the existing systems in terms of both functionality and regulatory compliance. We also tested the scalability of VASCO using a blockchain of 21 peer nodes with different specifications and verified interoperability through 30 combinations of standards, formats, and protocols. VASCO is a promising medical data sharing system that can provide secure and efficient sharing of medical data while preserving patient privacy and satisfying regulatory compliance with interoperability. The result of this study provides a potential to improve patient outcomes and advance medical research for the medical data ecosystem.

## Structured outputs for Anthropic Claude models on Amazon Bedrock

DevFeed: [Structured outputs for Anthropic Claude models on Amazon Bedrock](<https://devfeed.tech/articles/structured-outputs-for-anthropic-claude-models-on-amazon-bedrock-90437.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/machine-learning/structured-outputs-for-anthropic-claude-models-on-amazon-bedrock/>)

Author: Anshika Saxena

Published: 2026-10-19T23:32:19Z

Content type: tutorial

Language: en

Sources: [Artificial Intelligence](<https://devfeed.tech/sources/artificial-intelligence.md>)

Topics: [Amazon Bedrock](<https://devfeed.tech/topics/amazon-bedrock.md>), [JSON Schema](<https://devfeed.tech/topics/json-schema.md>), [Serialization protocols](<https://devfeed.tech/topics/serialization-protocols.md>), [AI Integration Strategies](<https://devfeed.tech/topics/ai-integration-strategies.md>), [ai observability](<https://devfeed.tech/topics/ai-observability.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [agent-workflows](<https://devfeed.tech/tags/agent-workflows.md>), [ai-applications](<https://devfeed.tech/tags/ai-applications.md>), [amazon-bedrock](<https://devfeed.tech/tags/amazon-bedrock.md>), [announcements](<https://devfeed.tech/tags/announcements.md>), [anthropic-claude](<https://devfeed.tech/tags/anthropic-claude.md>), [api](<https://devfeed.tech/tags/api.md>), [arguments](<https://devfeed.tech/tags/arguments.md>), [availability](<https://devfeed.tech/tags/availability.md>), [best-practices](<https://devfeed.tech/tags/best-practices.md>), [costs](<https://devfeed.tech/tags/costs.md>), [intermediate-200](<https://devfeed.tech/tags/intermediate-200.md>), [json](<https://devfeed.tech/tags/json.md>), [json-schema](<https://devfeed.tech/tags/json-schema.md>)

### AI overview

Amazon Bedrock supports schema-constrained JSON outputs for Anthropic Claude models through its bedrock-runtime and bedrock-mantle endpoints. The article explains schema validation, grammar compilation and caching, constrained generation, strict tool use, supported JSON Schema features, limitations, and implementation practices. It also describes applications such as data extraction, agent tool calls, and classification.

### Source excerpt

Amazon Bedrock now supports structured outputs for all Anthropic Claude models on both the bedrock-runtime and bedrock-mantle endpoints. Receive schema-compliant JSON that conforms to a defined structure, without custom parsing, retry logic, or post-processing, using JSON Schema output format and strict tool use.

## Laravel URL AI Transformer: Extract Structured Data From URLs

DevFeed: [Laravel URL AI Transformer: Extract Structured Data From URLs](<https://devfeed.tech/articles/laravel-url-ai-transformer-extract-structured-data-from-urls-87675.md>)

Original publisher: [Read original article](<https://laravel-news.com/laravel-url-ai-transformer>)

Author: Paul Redmond

Published: 2026-10-14T23:29:42Z

Content type: tutorial

Language: en

Sources: [Laravel](<https://devfeed.tech/sources/laravel.md>)

Topics: [Laravel](<https://devfeed.tech/topics/laravel.md>), [AI Integration Strategies](<https://devfeed.tech/topics/ai-integration-strategies.md>), [document ai](<https://devfeed.tech/topics/document-ai.md>), [Serialization protocols](<https://devfeed.tech/topics/serialization-protocols.md>), [JSON](<https://devfeed.tech/topics/json.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [json](<https://devfeed.tech/tags/json.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [laravel-ai](<https://devfeed.tech/tags/laravel-ai.md>), [laravel-packages](<https://devfeed.tech/tags/laravel-packages.md>), [packages](<https://devfeed.tech/tags/packages.md>), [schema](<https://devfeed.tech/tags/schema.md>)

### AI overview

Spatie's Laravel URL AI Transformer fetches web pages and sends their content to Laravel AI agents, which can generate summaries, JSON-LD, or schema-validated product data. The tutorial explains URL registration, queued processing, transformer customization, structured output, provider and model selection, testing, and installation. Version 2 builds transformers as Laravel AI agents.

### Source excerpt

Spatie's Laravel URL AI Transformer fetches web pages, runs them through Laravel AI agents, and stores JSON-LD, summaries, or schema-validated data. The post Laravel URL AI Transformer: Extract Structured Data From URLs appeared first on Laravel News. Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.

## New in Symfony 8.2: More Flexible Serialization Groups

DevFeed: [New in Symfony 8.2: More Flexible Serialization Groups](<https://devfeed.tech/articles/new-in-symfony-8-2-more-flexible-serialization-groups-63050.md>)

Original publisher: [Read original article](<https://symfony.com/blog/new-in-symfony-8-2-more-flexible-serialization-groups>)

Author: Javier Eguiluz

Published: 2026-10-01T07:27:00Z

Content type: release

Language: en

Sources: [Symfony](<https://devfeed.tech/sources/symfony-blog.md>)

Topics: [Symfony](<https://devfeed.tech/topics/symfony.md>), [Serialization protocols](<https://devfeed.tech/topics/serialization-protocols.md>), [Data serialization](<https://devfeed.tech/topics/data-serialization.md>), [API](<https://devfeed.tech/topics/api.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [http](<https://devfeed.tech/tags/http.md>), [messenger](<https://devfeed.tech/tags/messenger.md>), [serialization](<https://devfeed.tech/tags/serialization.md>), [symfony](<https://devfeed.tech/tags/symfony.md>)

### AI overview

Symfony 8.2 expands serializer configuration with group-specific property names and paths, ignored groups, optional default groups, and named serializers for controllers and Messenger. Separate named serializers can keep API formatting settings from changing message formats; validation errors continue to use the default serializer.

### Source excerpt

Serialization groups let you choose which properties to include when serializing an object. You might use one group for public API responses and another for admin exports. Symfony 8.2 adds new ways to configure these groups, and lets controllers and Messenger...

## Deser: Rethinking Rust Serialization

DevFeed: [Deser: Rethinking Rust Serialization](<https://devfeed.tech/articles/deser-rethinking-rust-serialization-62101.md>)

Original publisher: [Read original article](<https://lucumr.pocoo.org/2026/9/29/deser/>)

Author: Armin Ronacher

Published: 2026-09-29T00:00:00Z

Content type: article

Language: en

Sources: [Armin Ronacher](<https://devfeed.tech/sources/armin-ronacher.md>)

Topics: [Rust](<https://devfeed.tech/topics/rust.md>), [Data serialization](<https://devfeed.tech/topics/data-serialization.md>), [Serialization protocols](<https://devfeed.tech/topics/serialization-protocols.md>), [Test-driven development](<https://devfeed.tech/topics/tdd.md>)

Tags: [json](<https://devfeed.tech/tags/json.md>), [model](<https://devfeed.tech/tags/model.md>), [rust](<https://devfeed.tech/tags/rust.md>), [serialization](<https://devfeed.tech/tags/serialization.md>)

### AI overview

The author describes Serde's deserialization limitations and introduces Deser, an experimental Rust serialization library built on a different architecture. Examples include edge cases with internally tagged enums, flattened integer keys, and non-composing adapters; the article notes that Deser has resumed development but remains exploratory.

### Source excerpt

Serde is an amazing serialization library for Rust and it has been a huge reason why I felt productive with it for years. However already while at Sentry I got quite frustrated with some of the limitations with it but actually replacing Serde is tricky because of the might that it has in the ecosystem. Also because it's quite hard to actually do better without also making some potentially painful compromises. Here are three examples of Serde corner cases that show poor interactions of Serde features or unexpected limitations: A number that is a map An internally tagged enum, with serde_json's arbitrary_precision feature turned on: #[derive(Deserialize)] #[serde(tag = "type")] enum Shape { Circle { radius: f64 }, } serde_json::from_str::<Shape>(r#"{"type": "Circle", "radius": 1.5}"#) // error: invalid type: map, expected f64 Serde's data model has no place for arbitrary precision numbers, so serde_json uses in-band signalling with a map with a magic key. The enum has to buffer the fields until it has seen the tag, and the buffer does not know about the magic key. Because Cargo features are unified, it's enough for any crate in your dependency graph to turn the feature on. Flattening breaks integer keys #[derive(Deserialize)] struct Stats { scores: HashMap<u32, u32>, } #[derive(Deserialize)] struct Report { name: String, #[serde(flatten)] stats: Stats, } serde_json::from_str::<Report>(r#"{"name": "x", "scores": {"42": 23}}"#) // error: invalid type: string "42", expected u32 at line 1 column 35 Stats on its own parses {"scores": {"42": 23}} just fine. JSON keys are always strings, and serde_json only turns them into integers if the type asks for one. However once flatten buffers the value, "42" is just a string. The error also points at the end of the document rather than at the key. Adapters do not compose fn from_hex<'de, D: Deserializer<'de>>(d: D) -> Result<u32, D::Error> { ... } #[derive(Deserialize)] struct Theme { #[serde(deserialize_with = "from_hex")] primary

## Cyera Research Uncovers Six Protobuf.js Vulnerabilities Impacting the Backbone of Data and AI Systems

DevFeed: [Cyera Research Uncovers Six Protobuf.js Vulnerabilities Impacting the Backbone of Data and AI Systems](<https://devfeed.tech/articles/cyera-research-uncovers-six-protobuf-js-vulnerabilities-impacting-the-backbone-of-data-and-ai-systems-78203.md>)

Original publisher: [Read original article](<https://www.cyera.com/blog/cyera-research-uncovers-six-protobuf-js-vulnerabilities-impacting-the-backbone-of-data-and-ai-systems>)

Author: Cyera Research

Published: 2026-09-09T22:34:16Z

Content type: news

Language: en

Sources: [Cyera Blogs](<https://devfeed.tech/sources/cyera-blogs.md>)

Topics: [code security](<https://devfeed.tech/topics/code-security.md>), [Serialization protocols](<https://devfeed.tech/topics/serialization-protocols.md>), [gRPC](<https://devfeed.tech/topics/grpc.md>), [cyber resiliency](<https://devfeed.tech/topics/cyber-resiliency.md>), [LABScon](<https://devfeed.tech/topics/labscon.md>)

Tags: [bot](<https://devfeed.tech/tags/bot.md>), [ci-cd](<https://devfeed.tech/tags/ci-cd.md>), [here](<https://devfeed.tech/tags/here.md>), [serialization](<https://devfeed.tech/tags/serialization.md>), [vulnerabilities](<https://devfeed.tech/tags/vulnerabilities.md>)

### AI overview

Cyera researchers report six vulnerabilities in protobuf.js and protobufjs-cli that could cause crashes, denial of service, or remote code execution in affected Node.js environments. The article describes possible impacts on CI/CD pipelines, data services, AI systems, and messaging bots, and recommends upgrading to patched versions and reviewing direct and transitive dependencies.

### Source excerpt

Cyera Research uncovered six vulnerabilities in protobuf.js -- a serialization library downloaded 50M+ times weekly -- that could enable RCE and DoS attacks across cloud, AI, and data systems. Here's what you need to know and how to remediate.

## Don't rewrite your CLI for agents

DevFeed: [Don't rewrite your CLI for agents](<https://devfeed.tech/articles/don-t-rewrite-your-cli-for-agents-23829.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/blog/dont-rewrite-your-cli-for-agents/>)

Author: Waldek Mastykarz

Published: 2026-07-07T13:52:06Z

Content type: opinion

Language: en

Sources: [Developer Blogs](<https://devfeed.tech/sources/developer-blogs.md>)

Topics: [AI-assisted coding](<https://devfeed.tech/topics/ai-assisted-coding.md>), [Serialization protocols](<https://devfeed.tech/topics/serialization-protocols.md>), [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>), [Postman CLI](<https://devfeed.tech/topics/postman-cli.md>)

Tags: [agent-experience](<https://devfeed.tech/tags/agent-experience.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [arrays](<https://devfeed.tech/tags/arrays.md>), [ax](<https://devfeed.tech/tags/ax.md>), [base64](<https://devfeed.tech/tags/base64.md>), [bash](<https://devfeed.tech/tags/bash.md>), [caching](<https://devfeed.tech/tags/caching.md>), [claude-haiku-4-5](<https://devfeed.tech/tags/claude-haiku-4-5.md>), [claude-sonnet-5](<https://devfeed.tech/tags/claude-sonnet-5.md>), [cli](<https://devfeed.tech/tags/cli.md>), [codex](<https://devfeed.tech/tags/codex.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [copilot](<https://devfeed.tech/tags/copilot.md>), [cost](<https://devfeed.tech/tags/cost.md>), [json](<https://devfeed.tech/tags/json.md>)

### AI overview

In this experiment, conventional CLI arguments produced correct deployments in all five runs for every tested model, while JSON matched that record only for the three strongest models. The test used a synthetic multi-service deployment CLI with 30+ values, shared validation, and GitHub Copilot Chat; agents had to discover the interface, including a JSON schema for the JSON-only CLI. JSON cost 4-11 times more per task across models, driven by retries and extra output tokens. Shell behavior mattered: with Sonnet 4.6, the cost gap was 9x on Windows PowerShell and 1.5x on macOS Bash, while args stayed relatively stable. The authors attribute the difference to JSON's syntax, nesting, type, and shell-escaping failure modes, which constrained flags avoid. They recommend keeping args for agent use; JSON can remain an optional mode for programmatic or batch use. They advise measuring both approaches with relevant models, shells, and operating systems before changing a CLI. These findings are limited to the described experiment.

### Source excerpt

There's advice making the rounds: replace your CLI args with a single --json payload so agents can use your tool more effectively. The thinking being, that agents already think in structured formats, and nested data maps cleanly to JSON. Flat args on the other hand, force awkward conventions like repeating --service-name to delimit multi-value groups, [...] The post Don't rewrite your CLI for agents appeared first on Microsoft for Developers.

## Making Serialization Gadgets by Hand - Java

DevFeed: [Making Serialization Gadgets by Hand - Java](<https://devfeed.tech/articles/making-serialization-gadgets-by-hand-java-91531.md>)

Original publisher: [Read original article](<https://www.vulncheck.com/blog/making-java-gadgets>)

Author: Jonathan Peterson

Published: 2026-02-05T00:00:00Z

Content type: article

Language: en

Sources: [VulnCheck](<https://devfeed.tech/sources/vulncheck.md>)

Topics: [Data serialization](<https://devfeed.tech/topics/data-serialization.md>), [Serialization protocols](<https://devfeed.tech/topics/serialization-protocols.md>), [Java](<https://devfeed.tech/topics/java.md>), [Tool](<https://devfeed.tech/topics/tool.md>)

Tags: [exploit](<https://devfeed.tech/tags/exploit.md>), [exploits](<https://devfeed.tech/tags/exploits.md>), [gadgets](<https://devfeed.tech/tags/gadgets.md>), [go](<https://devfeed.tech/tags/go.md>), [golang](<https://devfeed.tech/tags/golang.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [java](<https://devfeed.tech/tags/java.md>), [learn](<https://devfeed.tech/tags/learn.md>), [library](<https://devfeed.tech/tags/library.md>), [making](<https://devfeed.tech/tags/making.md>), [serialization](<https://devfeed.tech/tags/serialization.md>), [vulncheck](<https://devfeed.tech/tags/vulncheck.md>)

### AI overview

The article explains how to hand-build Java serialization gadget streams by reading the serialization protocol alongside zkar's record-by-record dump. It walks through stream headers, class descriptors, fields, class data, arrays, and references, showing how record codes, lengths, handles, and nested objects fit together. The author presents Go interfaces and serialization methods as a way to encode those records, while noting that the full CommonsCollections6 stream is too large to cover in the post and that zkar's dump omits a block-data size that must still be written. For a ready-made path, VulnCheck's Go library exposes `java.CreateCommonsCollections6` with command arguments; the article points to the library for the complete gadget breakdown and implementation.

### Source excerpt

Learn how to start creating Java serialization gadgets yourself - or use VulnCheck's go-exploit library for Golang-based exploits!

## Making Serialization Gadgets by Hand - .NET

DevFeed: [Making Serialization Gadgets by Hand - .NET](<https://devfeed.tech/articles/making-serialization-gadgets-by-hand-net-91530.md>)

Original publisher: [Read original article](<https://www.vulncheck.com/blog/making-dotnet-gadgets>)

Author: Jonathan Peterson

Published: 2025-11-12T00:00:00Z

Content type: article

Language: en

Sources: [VulnCheck](<https://devfeed.tech/sources/vulncheck.md>)

Topics: [Data serialization](<https://devfeed.tech/topics/data-serialization.md>), [.NET](<https://devfeed.tech/topics/net.md>), [Serialization protocols](<https://devfeed.tech/topics/serialization-protocols.md>), [Tutorial](<https://devfeed.tech/topics/tutorial.md>)

Tags: [gadgets](<https://devfeed.tech/tags/gadgets.md>), [language](<https://devfeed.tech/tags/language.md>), [making](<https://devfeed.tech/tags/making.md>), [net](<https://devfeed.tech/tags/net.md>), [serialization](<https://devfeed.tech/tags/serialization.md>)

### AI overview

The article shows how to build a .NET BinaryFormatter deserialization stream by hand in Go, using an ObjRef gadget to explain record layout and assembly. It models records as structs, encodes fields such as INT32 values in little-endian form and strings with length prefixes, and explains how class metadata, member type enums, additional type information, object references, member values, and the MessageEnd record fit together. The author says this approach avoids relying on ysoserial.net on Windows or editing a pasted binary array, which can be error-prone. The excerpt also gives a go-exploit call to generate an ObjRef payload without Windows and describes the library as usable from Go programs without special setup. Code snippets are expressly informational and may be incomplete or invalid; the worked stream is small, and more complex gadgets may nest streams.

### Source excerpt

Creating a language-native .NET source for deserialization gadgets

## Exploring JSON Encoding and Data Handling in Go - Ep.2

DevFeed: [Exploring JSON Encoding and Data Handling in Go - Ep.2](<https://devfeed.tech/articles/exploring-json-encoding-and-data-handling-in-go-ep-2-22264.md>)

Original publisher: [Read original article](<https://www.ardanlabs.com/blog/2024/10/json-the-fine-print-ep-2-exploring-json-encoding-and-data-handling-in-go.html>)

Published: 2024-10-17T00:00:00Z

Content type: article

Language: en

Sources: [William Kennedy](<https://devfeed.tech/sources/william-kennedy.md>)

Topics: [encoding/json](<https://devfeed.tech/topics/encoding-json.md>), [JSON](<https://devfeed.tech/topics/json.md>), [Go Language](<https://devfeed.tech/topics/go-language.md>), [Schema-less data format](<https://devfeed.tech/topics/schema-less-data-format.md>), [Serialization protocols](<https://devfeed.tech/topics/serialization-protocols.md>), [Web app](<https://devfeed.tech/topics/webapp.md>)

Tags: [challenges](<https://devfeed.tech/tags/challenges.md>), [data-transmission](<https://devfeed.tech/tags/data-transmission.md>), [debug](<https://devfeed.tech/tags/debug.md>), [decoding](<https://devfeed.tech/tags/decoding.md>), [efficient-data-encoding-in-go](<https://devfeed.tech/tags/efficient-data-encoding-in-go.md>), [encoding](<https://devfeed.tech/tags/encoding.md>), [encoding-json-in-go-with-type-assertions](<https://devfeed.tech/tags/encoding-json-in-go-with-type-assertions.md>), [fields](<https://devfeed.tech/tags/fields.md>), [flexibility](<https://devfeed.tech/tags/flexibility.md>), [format](<https://devfeed.tech/tags/format.md>), [go](<https://devfeed.tech/tags/go.md>), [go-encoding-json-package-tutorial](<https://devfeed.tech/tags/go-encoding-json-package-tutorial.md>), [go-interface-with-json](<https://devfeed.tech/tags/go-interface-with-json.md>), [go-json-handling](<https://devfeed.tech/tags/go-json-handling.md>), [go-programming-json-tips](<https://devfeed.tech/tags/go-programming-json-tips.md>), [go-strongly-typed-system-and-json](<https://devfeed.tech/tags/go-strongly-typed-system-and-json.md>), [go-types](<https://devfeed.tech/tags/go-types.md>), [handling-json-null-values-in-go](<https://devfeed.tech/tags/handling-json-null-values-in-go.md>), [json](<https://devfeed.tech/tags/json.md>), [json-decoding-in-go-examples](<https://devfeed.tech/tags/json-decoding-in-go-examples.md>), [json-encoding-in-go](<https://devfeed.tech/tags/json-encoding-in-go.md>), [json-marshalling-and-unmarshalling-in-go](<https://devfeed.tech/tags/json-marshalling-and-unmarshalling-in-go.md>), [json-schema-less-format-benefits-and-challenges](<https://devfeed.tech/tags/json-schema-less-format-benefits-and-challenges.md>), [json-vs-binary-formats-in-go](<https://devfeed.tech/tags/json-vs-binary-formats-in-go.md>), [mapping](<https://devfeed.tech/tags/mapping.md>), [mapping-json-to-go-types](<https://devfeed.tech/tags/mapping-json-to-go-types.md>), [package](<https://devfeed.tech/tags/package.md>), [pitfalls](<https://devfeed.tech/tags/pitfalls.md>), [practical](<https://devfeed.tech/tags/practical.md>), [protocol](<https://devfeed.tech/tags/protocol.md>), [schema](<https://devfeed.tech/tags/schema.md>), [web](<https://devfeed.tech/tags/web.md>), [web-applications](<https://devfeed.tech/tags/web-applications.md>), [working-with-json-in-go](<https://devfeed.tech/tags/working-with-json-in-go.md>)

### AI overview

JSON's schema-less flexibility can speed prototyping and accommodate varied data, but unexpected changes may introduce errors. In Go, mapping JSON values to strict types--including nullable fields and JSON numbers that do not align directly with Go's numeric types--can cause runtime problems; the excerpt mentions using type assertions and Go's JSON package to marshal structs and unmarshal data into Go types. It contrasts JSON's human readability, which helps debugging, with protocol buffers' smaller size and greater transmission efficiency, a tradeoff that matters when bandwidth is a concern.

### Source excerpt

Introduction: Welcome to Episode 2 of JSON for Engineers! In this episode, we explore the unique characteristics of JSON as a schema-less format, discussing both its benefits and challenges. You'll learn how JSON's flexibility, while enabling rapid development, can create issues when working with strongly-typed languages like Go. Additionally, we'll cover the differences between JSON and more compact binary formats, and how to handle JSON's broader use in web applications.

## Apache Parquet for Data Engineers: Optimized Data Storage

DevFeed: [Apache Parquet for Data Engineers: Optimized Data Storage](<https://devfeed.tech/articles/apache-parquet-for-data-engineers-optimized-data-storage-81998.md>)

Original publisher: [Read original article](<https://estuary.dev/blog/apache-parquet-for-data-engineers>)

Author: Dani Pálma

Published: 2024-06-17T10:06:16Z

Content type: tutorial

Language: en

Sources: [Estuary](<https://devfeed.tech/sources/estuary.md>)

Topics: [parquet](<https://devfeed.tech/topics/parquet.md>), [data-engineering](<https://devfeed.tech/topics/data-engineering.md>), [Serialization protocols](<https://devfeed.tech/topics/serialization-protocols.md>), [Compression](<https://devfeed.tech/topics/compression.md>), [Apache Spark](<https://devfeed.tech/topics/spark.md>)

Tags: [apache-arrow](<https://devfeed.tech/tags/apache-arrow.md>), [apache-iceberg](<https://devfeed.tech/tags/apache-iceberg.md>), [apache-parquet](<https://devfeed.tech/tags/apache-parquet.md>), [apache-spark](<https://devfeed.tech/tags/apache-spark.md>), [arrow](<https://devfeed.tech/tags/arrow.md>), [article](<https://devfeed.tech/tags/article.md>), [best-practices](<https://devfeed.tech/tags/best-practices.md>), [big-data](<https://devfeed.tech/tags/big-data.md>), [column](<https://devfeed.tech/tags/column.md>), [columnar](<https://devfeed.tech/tags/columnar.md>), [comes](<https://devfeed.tech/tags/comes.md>), [compression](<https://devfeed.tech/tags/compression.md>), [data](<https://devfeed.tech/tags/data.md>), [data-analytics](<https://devfeed.tech/tags/data-analytics.md>), [data-engineers](<https://devfeed.tech/tags/data-engineers.md>), [data-storage](<https://devfeed.tech/tags/data-storage.md>), [file](<https://devfeed.tech/tags/file.md>), [guide](<https://devfeed.tech/tags/guide.md>), [practices](<https://devfeed.tech/tags/practices.md>), [use-cases](<https://devfeed.tech/tags/use-cases.md>)

### AI overview

This guide explains Apache Parquet's columnar file format, including its nested-data encoding, row groups, column chunks, pages, metadata, compression, and schema support. It also demonstrates writing and reading Parquet files with Python and pyarrow, and describes the format's benefits and limitations for analytical workloads.

### Source excerpt

Master Apache Parquet for efficient big data analytics. This guide covers file structure, compression, use cases, and best practices for data engineers.

## This Month in Julia World (April 2024)

DevFeed: [This Month in Julia World (April 2024)](<https://devfeed.tech/articles/this-month-in-julia-world-april-2024-116334.md>)

Original publisher: [Read original article](<https://julialang.org/blog/2024/05/this-month-in-julia-world/index.html>)

Author: Stefan Krastanov

Published: 2024-04-30T00:00:00Z

Content type: news

Language: en

Sources: [JuliaLang - The Julia programming language](<https://devfeed.tech/sources/julialang-the-julia-programming-language.md>)

Topics: [The Julia Language](<https://devfeed.tech/topics/julia.md>), [quarto](<https://devfeed.tech/topics/quarto.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [Serialization protocols](<https://devfeed.tech/topics/serialization-protocols.md>)

Tags: [automatic](<https://devfeed.tech/tags/automatic.md>), [backend](<https://devfeed.tech/tags/backend.md>), [community](<https://devfeed.tech/tags/community.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [continuous-integration](<https://devfeed.tech/tags/continuous-integration.md>), [contributors](<https://devfeed.tech/tags/contributors.md>), [data-science](<https://devfeed.tech/tags/data-science.md>), [data-storage](<https://devfeed.tech/tags/data-storage.md>), [discussion](<https://devfeed.tech/tags/discussion.md>), [dispatch](<https://devfeed.tech/tags/dispatch.md>), [documentation](<https://devfeed.tech/tags/documentation.md>), [error-reporting](<https://devfeed.tech/tags/error-reporting.md>), [julia](<https://devfeed.tech/tags/julia.md>), [newsletter](<https://devfeed.tech/tags/newsletter.md>)

### AI overview

April's Julia community newsletter highlights work on documentation, compiler behavior, performance, and ecosystem tools. Documenter.jl has a new modern-looking frontend, and Julia's Performance Tips documentation has been reorganized. Compiler-related topics include a draft proposal for richer error reporting, discussion of Julia's open-world extensibility and its effect on compile times relative to Rust, and progress upgrading LLVM to v17. Potential performance work includes changes to matrix multiplication dispatch, small-string handling, and OpenBLAS coordination with external runtimes; these are described as improvements under investigation, not all as completed features. Ecosystem releases and updates include ADTypes.jl 1.0, improved nested autodifferentiation in Lux.jl, a Julia-native Quarto engine, and new serialization and sampling tools. The excerpt also points to discussions of data formats, Rust interoperability, and Julia development experience.

### Source excerpt

Community Newsletter for April 2024

## Kotlin JSON Benchmark on Android (2022): Moshi vs Kotlin Serialization

DevFeed: [Kotlin JSON Benchmark on Android (2022): Moshi vs Kotlin Serialization](<https://devfeed.tech/articles/kotlin-json-benchmark-on-android-2022-moshi-vs-kotlin-serialization-25881.md>)

Original publisher: [Read original article](<https://bladecoder.medium.com/kotlin-json-benchmark-on-android-2022-moshi-vs-kotlin-serialization-18436c0596c3?source=rss-54910f05af37------2>)

Author: Christophe Beyls

Published: 2022-10-14T17:31:03Z

Content type: comparison

Language: en

Sources: [Christophe Beyls](<https://devfeed.tech/sources/stories-by-christophe-beyls-on-medium.md>)

Topics: [Data serialization](<https://devfeed.tech/topics/data-serialization.md>), [JSON](<https://devfeed.tech/topics/json.md>), [Benchmark](<https://devfeed.tech/topics/benchmark.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Android](<https://devfeed.tech/topics/android.md>), [Serialization protocols](<https://devfeed.tech/topics/serialization-protocols.md>), [legacy systems](<https://devfeed.tech/topics/legacy-systems.md>), [Gson](<https://devfeed.tech/topics/gson.md>)

Tags: [2022](<https://devfeed.tech/tags/2022.md>), [android](<https://devfeed.tech/tags/android.md>), [android-app-development](<https://devfeed.tech/tags/android-app-development.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [json](<https://devfeed.tech/tags/json.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-serialization](<https://devfeed.tech/tags/kotlin-serialization.md>), [moshi](<https://devfeed.tech/tags/moshi.md>), [serialization](<https://devfeed.tech/tags/serialization.md>), [vs](<https://devfeed.tech/tags/vs.md>)

### AI overview

In these Android microbenchmarks, Moshi 1.14.0 and Kotlin Serialization JSON 1.4.0 perform similarly overall, with results varying by operation and device. Moshi's reflection adapters are slower than its compile-time generated adapters, which add no extra runtime dependency; Moshi Codegen and Moshi-IR perform virtually identically. For writing, Moshi leads on the older Nexus 5 while results are close on the Pixel 4a. For buffered reading, Moshi's generated adapters and Kotlin Serialization via InputStream are on par; Kotlin Serialization's BufferedSource API is about twice as slow as its regular streaming API. Moshi also leads in selective decoding, especially on the older device, where it is nearly twice as fast. The article attributes this to Moshi skipping unwanted bytes without decoding or allocating. These results come from one 230 KiB dataset on two Android devices, and the author cautions that JSON processing time is small relative to network or storage latency. The choice may also depend on platform and format needs: Kotlin Serialization supports multiplatform targets and multiple formats, while Moshi offers a lower-level JSON API.

### Source excerpt

When it comes to automatic serialization and deserialization of Kotlin classes using the JSON format, the two main libraries compatible with Kotlin metadata are currently Moshi and Kotlin Serialization. This compatibility is especially important for non-null types and default values during deserialization, where lack of proper Kotlin support could result in unexpected values occurring at runtime, such as null values in non-null fields. If you're still using legacy libraries like Gson to parse Kotlin classes, it's time to reconsider. Moshi has been supporting Kotlin classes since version 1.5.0, released in 2017. One year later, the next major release 1.6.0 added an annotation processor to generate adapters for Kotlin classes at compile time. I was quite interested in the performance gains allowed by this solution and wrote an article detailing what the generated code does. JetBrains released version 1.0.0 of Kotlin Serialization in 2020 with built-in support for JSON. This library generates adapters at compile time similarly to Moshi's annotation processor while being compatible with more platforms and formats. The lack of initial support for streaming was disappointing, so I didn't even consider using it in production until streaming support was eventually added in version 1.3.0 in 2021. The JSON engine had also been rewritten in the meantime in order to improve performance. Recently, version 1.4.0 added integration with the Okio library, the same library used by Moshi under the hood. Now that Kotlin Serialization looks full-featured and well-optimized, I thought it would be a good time to compare its performance against Moshi on Android devices with some benchmarks. Which one is the fastest? Take your bets. The contendersMoshi-Kotlin Reflection The runtime Kotlin plugin of the Moshi library. The JSON adapters are generated at runtime using reflection. The main downside of this library is that it adds a runtime dependency to the big kotlin-reflect library (currently

## Announcing Twinagle: Twirp and Protobuf for Finagle

DevFeed: [Announcing Twinagle: Twirp and Protobuf for Finagle](<https://devfeed.tech/articles/announcing-twinagle-twirp-and-protobuf-for-finagle-1988.md>)

Original publisher: [Read original article](<https://developers.soundcloud.com/blog//announcing-twinagle>)

Published: 2020-06-12T00:00:00Z

Content type: release

Language: en

Sources: [SoundCloud Backstage](<https://devfeed.tech/sources/soundcloud-backstage-blog.md>)

Topics: [Twirp](<https://devfeed.tech/topics/twirp.md>), [Serialization protocols](<https://devfeed.tech/topics/serialization-protocols.md>), [Data serialization](<https://devfeed.tech/topics/data-serialization.md>), [JSON](<https://devfeed.tech/topics/json.md>), [Go Language](<https://devfeed.tech/topics/go-language.md>), [REST API](<https://devfeed.tech/topics/rest-api.md>), [client library](<https://devfeed.tech/topics/client-library.md>), [software-architecture](<https://devfeed.tech/topics/software-architecture.md>)

Tags: [about](<https://devfeed.tech/tags/about.md>), [addition](<https://devfeed.tech/tags/addition.md>), [all](<https://devfeed.tech/tags/all.md>), [allows](<https://devfeed.tech/tags/allows.md>), [also](<https://devfeed.tech/tags/also.md>), [alternatives](<https://devfeed.tech/tags/alternatives.md>), [announce](<https://devfeed.tech/tags/announce.md>), [announcements](<https://devfeed.tech/tags/announcements.md>), [api](<https://devfeed.tech/tags/api.md>), [api-development](<https://devfeed.tech/tags/api-development.md>), [app](<https://devfeed.tech/tags/app.md>), [blog](<https://devfeed.tech/tags/blog.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [finagle](<https://devfeed.tech/tags/finagle.md>), [json](<https://devfeed.tech/tags/json.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [post](<https://devfeed.tech/tags/post.md>), [protobuf](<https://devfeed.tech/tags/protobuf.md>), [protocol](<https://devfeed.tech/tags/protocol.md>), [scala](<https://devfeed.tech/tags/scala.md>), [serialization](<https://devfeed.tech/tags/serialization.md>), [this](<https://devfeed.tech/tags/this.md>), [twirp](<https://devfeed.tech/tags/twirp.md>), [with](<https://devfeed.tech/tags/with.md>)

### AI overview

Twinagle is SoundCloud's open source implementation of the Twirp protocol for Scala/Finagle. Twirp uses protobuf interface definitions to generate service interfaces, clients, and server code; requests are HTTP POSTs with JSON or binary protobuf bodies. Twinagle pairs an SBT code-generation plugin with a Finagle runtime. SoundCloud migrated its track authorization service by adding a new endpoint and thin serialization layers that preserved existing business logic, then comparing duplicate REST and Twirp responses before gradually switching traffic. The rollout reached 100% without outages or bugs. Binary protobuf reduced bandwidth between the services by more than 40%; latency improved only marginally at the 90th percentile, with no reported gains at the 50th or 99th percentiles, likely because database access dominated response time. The migration also exposed unused response fields and removed custom JSON serialization code. The article says SoundCloud was converting older services and using Twinagle for new ones.

### Source excerpt

A previous post on this blog ended with the following paragraph: "We might also replace JSON with a more efficient serialization protocol...