Tagged articles
266 articles
Page 1 of 3
macrozheng
macrozheng
Mar 9, 2026 · Backend Development

Why a Single Log Line Triggered a FastJSON NullPointer – A Deep Dive into Java Serialization

The article recounts a production incident where adding a trivial log statement caused a FastJSON NullPointerException, then explains the underlying serialization mechanism, the role of ASM-generated serializers, the methods invoked during serialization, and provides best‑practice guidelines to avoid similar bugs.

ASMBackend Developmentfastjson
0 likes · 8 min read
Why a Single Log Line Triggered a FastJSON NullPointer – A Deep Dive into Java Serialization
Data STUDIO
Data STUDIO
Feb 23, 2026 · Backend Development

Stop Using JSON Blindly: How Switching One API to MessagePack Cut Response Time by 5×

A performance bottleneck hidden in a fintech dashboard’s “coffee‑time” API was solved by profiling, discovering that 85% of latency came from JSON serialization, and replacing it with MessagePack, which reduced payload size by up to 74% and slashed end‑to‑end response time from 847 ms to 159 ms—a more than five‑fold improvement.

FlaskJSONMessagePack
0 likes · 11 min read
Stop Using JSON Blindly: How Switching One API to MessagePack Cut Response Time by 5×
Data STUDIO
Data STUDIO
Feb 5, 2026 · Fundamentals

9 Underrated Python Libraries That Can Boost Your Development Speed Tenfold

The article introduces nine lesser‑known Python packages—msgspec, glom, watchfiles, beartype, pyinstrument, duckdb, fakeredis, boltons, and returns—explaining how each tackles common prototyping pain points such as data serialization, file watching, runtime type safety, performance profiling, SQL querying without a server, mock Redis, utility functions, and explicit error handling, ultimately accelerating development by up to ten times.

ProfilingPythonSQL
0 likes · 25 min read
9 Underrated Python Libraries That Can Boost Your Development Speed Tenfold
Java Architecture Diary
Java Architecture Diary
Feb 2, 2026 · Artificial Intelligence

Why a 10‑Year‑Old Java JSON Library Is Now Targeting LLMs with TOON

json-io, a decade‑old Java JSON library known for zero‑config, circular‑reference support, and lightweight size, has added full TOON (Token‑Oriented Object Notation) read/write capabilities, a token‑efficient format designed for LLMs that can cut serialization costs by 30‑60% and integrates seamlessly with Spring Boot and Spring AI.

AIJavaLLM
0 likes · 9 min read
Why a 10‑Year‑Old Java JSON Library Is Now Targeting LLMs with TOON
NiuNiu MaTe
NiuNiu MaTe
Jan 22, 2026 · Backend Development

Why RPC Still Matters in Microservices: From Service Discovery to Governance

This article explains why remote procedure call (RPC) remains essential for microservice communication, detailing its historical roots, the limitations of HTTP, the multi‑step RPC workflow—including service discovery, serialization, network transmission, dynamic proxies, and governance—and how RPC and HTTP complement each other in modern architectures.

Dynamic ProxyMicroservicesRPC
0 likes · 15 min read
Why RPC Still Matters in Microservices: From Service Discovery to Governance
Java Companion
Java Companion
Nov 29, 2025 · Backend Development

Why Do We Still Need HTTP and RPC When TCP Exists?

The article explains how TCP provides reliable byte‑stream transport but lacks message boundaries, how HTTP adds structured semantics with headers like Content‑Length, and why RPC frameworks such as gRPC are introduced to make remote calls feel like local method invocations, especially in modern microservice architectures.

HTTPMicroservicesRPC
0 likes · 11 min read
Why Do We Still Need HTTP and RPC When TCP Exists?
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Nov 9, 2025 · Backend Development

Mastering Distributed Communication: Key Concepts and Frameworks for Scalable Backend Systems

This article explains the fundamentals of distributed communication, outlines essential elements such as serialization, transport protocols, service discovery, load balancing, security, and reliability, and reviews popular frameworks like gRPC, Dubbo, Thrift, and OpenFeign for building robust backend architectures.

Backend ArchitectureDubbogRPC
0 likes · 5 min read
Mastering Distributed Communication: Key Concepts and Frameworks for Scalable Backend Systems
DeWu Technology
DeWu Technology
Oct 15, 2025 · Backend Development

Unlock Fastjson: Inside Its High‑Performance Serialization Engine

This article dissects Alibaba's Fastjson library, explaining its architecture, core modules, project structure, serialization and deserialization processes, ASM‑based performance optimizations, AutoType security mechanisms, and streaming API, while providing code examples and practical insights for Java developers.

DeserializationJavafastjson
0 likes · 29 min read
Unlock Fastjson: Inside Its High‑Performance Serialization Engine
JakartaEE China Community
JakartaEE China Community
Oct 14, 2025 · Fundamentals

What Changed in Java 21? A Complete API Comparison for Upgrading from Java 17

This article provides a detailed comparison of Java 17 and Java 21 APIs, listing deprecated and removed features, suggested replacements, new I/O and serialization capabilities, enhanced reflection, Unicode emoji support, the preview foreign memory API, and the Generational ZGC, illustrated with real‑world code examples and usage scenarios.

Garbage CollectionJavaJava 21
0 likes · 15 min read
What Changed in Java 21? A Complete API Comparison for Upgrading from Java 17
BirdNest Tech Talk
BirdNest Tech Talk
Sep 29, 2025 · Artificial Intelligence

Mastering LangChain Serialization: Save, Load, and Share Your AI Workflows

Learn how to serialize LangChain components—including prompts, chains, and agents—using JSON and YAML, enabling reproducibility, collaboration, persistence, and decoupling, with step‑by‑step code examples for dumping objects to files and loading them back into executable LLM pipelines.

AI workflowLLMLangChain
0 likes · 8 min read
Mastering LangChain Serialization: Save, Load, and Share Your AI Workflows
Code Ape Tech Column
Code Ape Tech Column
Sep 26, 2025 · Backend Development

Why FastJSON Calls isChinaName() During Serialization and How to Fix It

An unexpected NullPointerException occurs when adding a simple log line to a Java DTO, revealing that FastJSON’s serialization process invokes methods like isChinaName(), getXxx(), and isXxx() via ASM-generated serializers, and the article explains the underlying mechanism, common pitfalls, and best‑practice annotations to avoid such bugs.

ASMJavaannotations
0 likes · 7 min read
Why FastJSON Calls isChinaName() During Serialization and How to Fix It
DeWu Technology
DeWu Technology
Sep 10, 2025 · Backend Development

Unlocking Hessian: How Java’s Binary Serialization Boosts Performance

This article explains the core principles of Hessian, a Java‑optimized binary serialization protocol, covering object graph traversal, encoding formats, data‑block tags, repeated‑object reuse, small‑integer inlining, and integer compression, and shows why it offers higher efficiency and compression than text‑based alternatives.

HessianJavabinary protocol
0 likes · 17 min read
Unlocking Hessian: How Java’s Binary Serialization Boosts Performance
DaTaobao Tech
DaTaobao Tech
Aug 29, 2025 · Backend Development

Why HSF’s Hessian2 Serialization Fails with Java 9 Immutable Collections (Set.of)

When an HSF service receives a parameter created with Java 9's immutable collection factories such as Set.of(), the default Hessian2 serializer drops the collection elements, causing a NullArray InvalidObjectException and resulting in a SERVER_SERIALIZE_ERROR on the server side, which can be avoided by using mutable collections or a compatible serializer.

HSFImmutableCollectionsJava
0 likes · 24 min read
Why HSF’s Hessian2 Serialization Fails with Java 9 Immutable Collections (Set.of)
Java Architect Essentials
Java Architect Essentials
Aug 24, 2025 · Information Security

How Java Serialization Leaks Passwords—and the Simple Fix with transient

This article explains how Java’s native serialization can expose plain‑text passwords, illustrates real‑world breaches, and shows how using the transient keyword together with encryption, library replacement, security frameworks, and penetration testing creates a five‑layer defense against serialization attacks.

JavaMitigationSecurity
0 likes · 6 min read
How Java Serialization Leaks Passwords—and the Simple Fix with transient
Go Programming World
Go Programming World
Aug 12, 2025 · Backend Development

Master dyno: Simplify Go JSON/YAML Handling with Dynamic Maps

This article explains how the Go dyno package lets you effortlessly read, modify, and serialize deeply‑nested JSON/YAML structures by providing Get, Set, Delete, Append and conversion utilities that work with map[string]interface{}, map[interface{}]interface{} and []interface{} without using reflection.

Code ExampleGoJSON
0 likes · 23 min read
Master dyno: Simplify Go JSON/YAML Handling with Dynamic Maps
Sohu Smart Platform Tech Team
Sohu Smart Platform Tech Team
Aug 9, 2025 · Mobile Development

Why FastJson Crashes with Kotlin Data Classes and How to Fix It

This article examines the challenges of using FastJson, FastJson2, Gson, and Kotlinx-serialization to parse Kotlin data classes in Android, explains why crashes occur due to reflection and null-safety issues, and provides step-by-step solutions—including code modifications, ProGuard rules, and library alternatives—to achieve reliable JSON handling.

AndroidKotlinProGuard
0 likes · 20 min read
Why FastJson Crashes with Kotlin Data Classes and How to Fix It
Go Programming World
Go Programming World
Aug 4, 2025 · Backend Development

Why Go’s yaml.v3 Fails to Convert YAML with Duplicate Keys to JSON (and How to Fix It)

This article explains why converting a YAML document containing both numeric and string keys (e.g., 1 and "1") to JSON fails in Go using yaml.v3, demonstrates the resulting errors, and shows how to resolve the issue with dyno.ConvertMapI2MapS or alternative libraries, while also comparing behavior in Python and JavaScript.

Data ConversionGoJSON
0 likes · 17 min read
Why Go’s yaml.v3 Fails to Convert YAML with Duplicate Keys to JSON (and How to Fix It)
Java Backend Technology
Java Backend Technology
Jul 7, 2025 · Backend Development

Master Dynamic JSON Fields in Java with @JsonAnyGetter and @JsonAnySetter

This article explains how Jackson's @JsonAnySetter and @JsonAnyGetter annotations let Java classes gracefully handle unknown JSON properties by collecting them into a map during deserialization and emitting them as regular fields during serialization, complete with practical code examples and usage tips.

DeserializationDynamicPropertiesJSON
0 likes · 7 min read
Master Dynamic JSON Fields in Java with @JsonAnyGetter and @JsonAnySetter
macrozheng
macrozheng
Jul 5, 2025 · Backend Development

Why Adding a Simple Log Triggered FastJSON Serialization Errors – A Deep Dive

A recent deployment added a log line that caused FastJSON to invoke unexpected methods during serialization, leading to a NullPointerException; this article reconstructs the scenario, analyzes the FastJSON internals, and offers best‑practice annotations to prevent similar bugs.

Code reviewJavaannotations
0 likes · 7 min read
Why Adding a Simple Log Triggered FastJSON Serialization Errors – A Deep Dive
Deepin Linux
Deepin Linux
Jul 4, 2025 · Backend Development

Mastering Protocol Buffers in C++: Installation, Data Types, and Real‑World Use Cases

This comprehensive guide explains what Protocol Buffers are, why they outperform JSON and XML, how to install and configure the library, the supported data types, code generation for multiple languages, practical C++ examples, and typical scenarios such as distributed systems, storage, and network communication.

CData StructuresDistributed Systems
0 likes · 23 min read
Mastering Protocol Buffers in C++: Installation, Data Types, and Real‑World Use Cases
macrozheng
macrozheng
Jul 1, 2025 · Backend Development

Master Dynamic JSON Fields in Java with @JsonAnyGetter & @JsonAnySetter

This article explains how to handle JSON objects with unknown or changing fields in Java by using Jackson's @JsonAnySetter to collect them during deserialization and @JsonAnyGetter to serialize them back, complete with code examples, pitfalls, and a concise analogy.

DeserializationDynamicPropertiesJSON
0 likes · 8 min read
Master Dynamic JSON Fields in Java with @JsonAnyGetter & @JsonAnySetter
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 31, 2025 · Backend Development

Mastering Jackson ObjectMapper in Spring Boot 3: Real-World Cases & Performance Tips

This article explores Jackson's ObjectMapper in Spring Boot 3, covering basic serialization/deserialization, converting between objects, JSON strings, JsonNode, and collections, custom serializers/deserializers, handling unknown fields, and performance tuning with the Afterburner module and JMH benchmarks.

DeserializationJSONJackson
0 likes · 12 min read
Mastering Jackson ObjectMapper in Spring Boot 3: Real-World Cases & Performance Tips
FunTester
FunTester
May 27, 2025 · Backend Development

Java Serialization: Ten Common Pitfalls and Safer Alternatives

Java serialization, while convenient for persisting objects, suffers from versioning issues, hidden fields, mutable data snapshots, performance overhead, security vulnerabilities, singleton breaches, final field tampering, external dependencies, maintenance burdens, and format limitations, and the article recommends explicit serialVersionUID, custom methods, and JSON/Protobuf alternatives.

JSONJavaProtobuf
0 likes · 18 min read
Java Serialization: Ten Common Pitfalls and Safer Alternatives
JavaScript
JavaScript
May 21, 2025 · Fundamentals

Boost JavaScript Deserialization: When JSON.parse Falls Short and Faster Alternatives

While JSON.parse() and JSON.stringify() are the default methods for JavaScript data serialization, they can become performance bottlenecks and lack support for special types, so this guide explores their limitations and presents strategies such as reviver functions, streaming parsers, binary formats, Web Workers, and incremental loading to improve deserialization efficiency.

Binary FormatJSONJavaScript
0 likes · 6 min read
Boost JavaScript Deserialization: When JSON.parse Falls Short and Faster Alternatives
Cognitive Technology Team
Cognitive Technology Team
May 14, 2025 · Fundamentals

How to Instantiate Java Objects Without Constructors Using Objenesis

This tutorial explains how Objenesis enables Java objects to be instantiated without invoking constructors, covering traditional object creation, the library’s internal mechanisms, Maven setup, usage examples with ObjenesisStd, ObjenesisSerializer, and ObjenesisHelper, advanced scenarios, best practices, and considerations for safe adoption.

JavaObject InstantiationObjenesis
0 likes · 9 min read
How to Instantiate Java Objects Without Constructors Using Objenesis
Test Development Learning Exchange
Test Development Learning Exchange
May 10, 2025 · Fundamentals

Using Python's json Module: Serialization, Deserialization, and Common Operations

This article introduces Python's built‑in json module, explaining how to serialize Python objects to JSON strings and files, deserialize JSON back to Python, and demonstrates common tasks such as pretty‑printing, handling Unicode, working with lists and nested structures, custom encoders, and network responses.

DeserializationJSONPython
0 likes · 8 min read
Using Python's json Module: Serialization, Deserialization, and Common Operations
Code Mala Tang
Code Mala Tang
Apr 29, 2025 · Fundamentals

Unlock Python’s Hidden Power: Mastering the __dict__ Attribute

Explore how Python’s built-in __dict__ attribute stores object attributes, enabling introspection, dynamic attribute manipulation, memoization, JSON serialization, custom descriptors, and debugging, while also learning its limitations with slots and built-in types for performance.

AttributesIntrospectionPython
0 likes · 8 min read
Unlock Python’s Hidden Power: Mastering the __dict__ Attribute
macrozheng
macrozheng
Apr 28, 2025 · Backend Development

Master Java Serialization: Common Pitfalls and Best Practices

This article explains the fundamentals of Java object serialization, compares legacy and modern formats, outlines how to choose the right method, and details common issues such as static fields, transient modifiers, serialVersionUID mismatches, inheritance quirks, and custom serialization techniques with clear code examples.

BackendDeserializationExternalizable
0 likes · 15 min read
Master Java Serialization: Common Pitfalls and Best Practices
Deepin Linux
Deepin Linux
Apr 22, 2025 · Backend Development

C++ Serialization: Concepts, Tools, and Best Practices

Serialization in C++ bridges in‑memory objects and persistent or network formats, addressing challenges like byte order, data type compatibility, and complex structures, while the article reviews core principles, binary and text formats, major libraries such as Protobuf, Cereal, Cista++, ThorsSerializer, and offers guidance on selecting and using them effectively.

C++CerealCista++
0 likes · 41 min read
C++ Serialization: Concepts, Tools, and Best Practices
Tencent Cloud Developer
Tencent Cloud Developer
Apr 17, 2025 · Fundamentals

Protobuf Encoding Principles and Optimization Techniques

The article explains how Protocol Buffers (proto3) encode basic and composite types using varint, zigzag, fixed-size and IEEE‑754 formats, describes tag and length field structures, and presents optimization strategies such as selecting size‑efficient types, flattening nested messages, and delta‑encoding to significantly reduce serialized byte‑stream size.

Data StructuresProtobufProtocol Buffers
0 likes · 15 min read
Protobuf Encoding Principles and Optimization Techniques
Code Ape Tech Column
Code Ape Tech Column
Apr 9, 2025 · Backend Development

Using @JsonView in Spring to Control JSON Serialization of Fields

This article explains how the Jackson @JsonView annotation can be used in Spring back‑end projects to selectively serialize object fields, reduce bandwidth, improve security, and handle nested associations by defining view interfaces and applying them on entity fields and controller methods.

BackendJacksonJava
0 likes · 8 min read
Using @JsonView in Spring to Control JSON Serialization of Fields
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 7, 2025 · Backend Development

Mastering @JsonView in Spring Boot 3: Dynamic JSON Serialization Techniques

This article explains how to use Jackson's @JsonView annotation in Spring Boot 3 to flexibly control JSON output for different REST scenarios, covering basic usage, programmatic view selection, view‑based MVC responses, deserialization restrictions, and default‑inclusion configuration with practical code examples.

JacksonJavaSpring Boot
0 likes · 8 min read
Mastering @JsonView in Spring Boot 3: Dynamic JSON Serialization Techniques
AI Algorithm Path
AI Algorithm Path
Mar 24, 2025 · Fundamentals

Unlock Efficient Data Validation in Python with Pydantic

This article walks through installing Pydantic, creating basic and nested models, handling validation errors, using default values, defining custom validators, loading settings from environment variables, and serializing models to dictionaries and JSON, demonstrating how Pydantic streamlines data validation in Python.

Environment Variablescustom validatordata validation
0 likes · 7 min read
Unlock Efficient Data Validation in Python with Pydantic
Java One
Java One
Mar 1, 2025 · Fundamentals

Master Java IO Streams: Byte, Character, and Object Streams Explained

This article provides a comprehensive guide to Java I/O streams, covering the distinction between node (low‑level) and processing (high‑level) streams, byte versus character streams, their superclasses, common implementations, buffering techniques, object serialization, and practical code examples for reading and writing data.

ByteStreamCharacterStreamJava
0 likes · 16 min read
Master Java IO Streams: Byte, Character, and Object Streams Explained
Java Tech Enthusiast
Java Tech Enthusiast
Dec 15, 2024 · Fundamentals

Java Serialization and Deserialization: Concepts and Practices

The article explains serialization and deserialization fundamentals, highlights pitfalls such as ambiguous binary streams and platform‑dependent field sizes, then compares Java’s native ObjectOutputStream, JSON libraries, Hessian binary RPC, and Google’s Protobuf, guiding readers to select the appropriate format based on performance, payload size, and type‑safety needs.

DeserializationHessianJSON
0 likes · 8 min read
Java Serialization and Deserialization: Concepts and Practices
Test Development Learning Exchange
Test Development Learning Exchange
Oct 20, 2024 · Backend Development

Python Examples of Distributed Task Queues, Message Brokers, RPC, and Serialization Libraries

This article provides practical Python code examples for various messaging and serialization tools—including Celery, RQ, Huey, ZeroMQ, kafka‑python, Pika, stomp.py, nats‑py, gRPC, Thrift, Protobuf, Avro, msgpack, and Flatbuffers—demonstrating how to set up producers, consumers, and services for asynchronous processing and data exchange.

Distributed TasksMessage QueuePython
0 likes · 19 min read
Python Examples of Distributed Task Queues, Message Brokers, RPC, and Serialization Libraries
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 24, 2024 · Mobile Development

Best Practices for JSON Serialization and Deserialization in Flutter Using json_serializable

This article explains the fundamentals of JSON serialization and deserialization in Flutter, compares manual and automated approaches, introduces the json_serializable library and its annotations, demonstrates generic handling, custom converters, and tooling to streamline model generation for robust mobile app development.

DARTDeserializationFlutter
0 likes · 23 min read
Best Practices for JSON Serialization and Deserialization in Flutter Using json_serializable
Top Architect
Top Architect
Sep 5, 2024 · Backend Development

Fastjson DateFormat Priority and Circular Reference Issues: Debugging and Solutions

The article details a senior architect's investigation of Fastjson problems, including a date format priority bug that behaved differently on Windows and Linux due to an outdated library version, and a circular reference serialization issue resolved by disabling specific serializer features, while offering broader insights on version management and feature control.

CircularReferenceJavadateformat
0 likes · 13 min read
Fastjson DateFormat Priority and Circular Reference Issues: Debugging and Solutions
Zhuanzhuan Tech
Zhuanzhuan Tech
Sep 4, 2024 · Backend Development

Optimization of Serialization in Search Recommendation Service

This report analyzes performance bottlenecks caused by serialization in a search‑recommendation system, presents detailed measurements of request latency, evaluates multiple optimization strategies—including Redis caching, lazy metric handling, and custom byte‑array serialization—and documents the resulting latency reductions and implementation considerations.

JavaRPCcustom serialization
0 likes · 29 min read
Optimization of Serialization in Search Recommendation Service
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 22, 2024 · Backend Development

Master Jackson Annotations in Spring Boot 3.2.5: From @JsonAnyGetter to Custom Annotations

This tutorial explores Jackson's rich annotation set in Spring Boot 3.2.5, demonstrating how to serialize and deserialize JSON with built‑in annotations like @JsonAnyGetter, @JsonGetter, @JsonPropertyOrder, and @JsonIgnore, how to create custom annotations, and how to disable annotation processing for fine‑grained control.

DeserializationJSONJackson
0 likes · 13 min read
Master Jackson Annotations in Spring Boot 3.2.5: From @JsonAnyGetter to Custom Annotations
Java Tech Enthusiast
Java Tech Enthusiast
Aug 14, 2024 · Backend Development

Customizing JSON Serialization and Deserialization in Spring Boot

In Spring Boot you can customize JSON request and response handling by annotating fields with @JsonSerialize/@JsonDeserialize, registering a global ObjectMapper module, adding a PropertyEditor via @ControllerAdvice, creating a custom HttpMessageConverter, or using AOP interception, selecting the approach that matches your project’s complexity.

DeserializationJSONJackson
0 likes · 7 min read
Customizing JSON Serialization and Deserialization in Spring Boot
IT Services Circle
IT Services Circle
Jun 22, 2024 · Backend Development

Comprehensive Guide to Java Backend Interview Topics: Object Creation, Reflection, Serialization, GC, I/O Multiplexing, and Network Troubleshooting

This article provides an in-depth review of common Java backend interview questions, covering alternative object creation methods, practical reflection scenarios, serialization techniques, garbage‑collection algorithms, I/O multiplexing mechanisms, network port listening, and troubleshooting tips for server‑client communication issues.

Garbage CollectionI/O MultiplexingJava
0 likes · 24 min read
Comprehensive Guide to Java Backend Interview Topics: Object Creation, Reflection, Serialization, GC, I/O Multiplexing, and Network Troubleshooting
Top Architect
Top Architect
May 15, 2024 · Backend Development

Implementing a Simple Java RPC Framework: Architecture, Service Registration, Serialization, and Proxy Generation

This article explains the principles and implementation of a Java RPC framework, covering service registration with Zookeeper, serialization, compression, network communication via Netty, dynamic proxy generation using reflection and Javassist, and performance considerations, providing extensive code examples for each component.

Distributed SystemsJavaJavassist
0 likes · 25 min read
Implementing a Simple Java RPC Framework: Architecture, Service Registration, Serialization, and Proxy Generation
Architecture Digest
Architecture Digest
May 14, 2024 · Backend Development

FastJSON Serialization Mechanism and How to Control Method Invocation

This article analyzes a FastJSON serialization issue where a getter method is unexpectedly invoked, explains the underlying ASM-generated serializer workflow, details which methods are considered during serialization, and provides best‑practice code annotations to prevent unwanted method execution.

ASMJavaannotations
0 likes · 6 min read
FastJSON Serialization Mechanism and How to Control Method Invocation
DaTaobao Tech
DaTaobao Tech
May 8, 2024 · Fundamentals

Comprehensive Overview of Java Fundamentals

This article surveys Java fundamentals, explaining OOP principles, differences from C++, polymorphism, static/final keywords, abstract classes versus interfaces, generics with type erasure, reflection, exception handling, core data structures, HashMap internals, serialization, key design patterns, and essential language constructs for developers.

Exception HandlingGenericsHashMap
0 likes · 16 min read
Comprehensive Overview of Java Fundamentals
Architect Chen
Architect Chen
May 7, 2024 · Backend Development

Mastering Java Deep Copy: Techniques, Code Samples, and Best Practices

This article explains Java deep copy, its differences from shallow copy, key use cases such as data safety and avoiding shared state, and demonstrates three implementation methods—using Cloneable, serialization, and third‑party libraries like Guava—complete with runnable code examples.

CloneableGuavadeep copy
0 likes · 7 min read
Mastering Java Deep Copy: Techniques, Code Samples, and Best Practices
Liangxu Linux
Liangxu Linux
May 2, 2024 · Fundamentals

Why Use RPC When HTTP Exists? Exploring TCP, HTTP, and RPC Differences

This article explains the fundamentals of TCP, why raw TCP communication faces issues like message boundary ambiguity, how HTTP and RPC are built on TCP as application‑layer protocols, and compares their use cases, performance, and evolution to help developers choose the right protocol for their systems.

HTTPMicroservicesRPC
0 likes · 14 min read
Why Use RPC When HTTP Exists? Exploring TCP, HTTP, and RPC Differences
DeWu Technology
DeWu Technology
Apr 29, 2024 · Backend Development

Handling Non-Standard Collection Types in Dubbo RPC with Protostuff Serialization

When Dubbo RPC uses Protostuff serialization, DTO fields declared with ambiguous types that contain non‑standard collections such as subList results can trigger ClassNotFound or null errors during deserialization, so converting these to regular JDK collections (or switching to a more tolerant format like Hessian2/JSON) restores stability.

BackendDubboJava
0 likes · 8 min read
Handling Non-Standard Collection Types in Dubbo RPC with Protostuff Serialization
Architecture Digest
Architecture Digest
Apr 28, 2024 · Backend Development

Understanding FastJSON Serialization: Why isChinaName() Is Invoked and How to Control Serialized Methods

This article analyzes a FastJSON serialization issue where a getter method is unexpectedly called, explains the underlying ASM‑generated serializer mechanism, details which methods FastJSON invokes during serialization, and proposes using @JSONField(serialize = false) to explicitly exclude methods from the serialization process.

ASMBackend DevelopmentJSONField
0 likes · 8 min read
Understanding FastJSON Serialization: Why isChinaName() Is Invoked and How to Control Serialized Methods
Su San Talks Tech
Su San Talks Tech
Apr 11, 2024 · Fundamentals

Why RPC Still Matters When HTTP Exists: A Deep Dive into TCP, HTTP, and RPC

This article explores the fundamentals of TCP communication, explains why raw TCP lacks message boundaries, and compares HTTP and RPC protocols—covering their histories, use cases, service discovery, connection handling, serialization, and performance trade‑offs—to answer why both coexist in modern software architectures.

HTTPNetwork ProtocolsRPC
0 likes · 15 min read
Why RPC Still Matters When HTTP Exists: A Deep Dive into TCP, HTTP, and RPC
Goodme Frontend Team
Goodme Frontend Team
Mar 20, 2024 · Frontend Development

Top Developer Resources: TypeScript Performance, Faster JSON Alternatives, and Canvas Optimization

This newsletter curates recent developer-focused releases and articles, including the open‑source launch of Rolldown, TypeScript 5.4, Storybook 8, performance‑focused TypeScript tips, faster JSON alternatives, reactive front‑end development, a software engineering guide, Figma productivity tricks, and Canvas drawing optimizations.

JSONTypeScriptperformance
0 likes · 6 min read
Top Developer Resources: TypeScript Performance, Faster JSON Alternatives, and Canvas Optimization
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Mar 11, 2024 · Backend Development

Understanding RPC: Principles, Architecture, and Implementation Process

This article explains why remote procedure call (RPC) is essential for modern distributed services, describes the evolution from monolithic to service‑oriented architectures, and details the core components, communication steps, serialization, service discovery, and full call flow of an RPC framework.

Backend DevelopmentDistributed SystemsNetworking
0 likes · 7 min read
Understanding RPC: Principles, Architecture, and Implementation Process
Test Development Learning Exchange
Test Development Learning Exchange
Feb 19, 2024 · Backend Development

Using Python's json Module for Serialization, Deserialization, and API Testing

This article explains how to use Python's built‑in json module for serializing and deserializing data, demonstrates sending JSON payloads with the requests library, and covers advanced techniques such as data‑driven testing, JsonPath/JMESPath extraction, JSON Schema validation, and dynamic request body construction for API automation.

API testingDeserializationPython
0 likes · 9 min read
Using Python's json Module for Serialization, Deserialization, and API Testing
FunTester
FunTester
Jan 22, 2024 · Fundamentals

Boost Java Serialization Performance with ChronicleWire: A Practical Guide

This article explains Java's built‑in serialization drawbacks, introduces the open‑source ChronicleWire library as a high‑performance alternative supporting multiple data formats, and provides step‑by‑step code examples for encoding, decoding, and compatibility handling in real‑world Java applications.

BinaryChronicleWireData Formats
0 likes · 13 min read
Boost Java Serialization Performance with ChronicleWire: A Practical Guide
AntTech
AntTech
Jan 19, 2024 · Backend Development

Fury: A High‑Performance Multi‑Language Serialization Framework and Its Path to the Apache Incubator

Fury is a JIT‑compiled, zero‑copy, multi‑language serialization framework that delivers up to 170× speed improvements over traditional serializers, supports Java, Python, C++, Go, JavaScript, Scala and Rust, and has recently been donated to the Apache Software Foundation after a successful open‑source journey.

ApacheCross-languageFury
0 likes · 17 min read
Fury: A High‑Performance Multi‑Language Serialization Framework and Its Path to the Apache Incubator
Top Architecture Tech Stack
Top Architecture Tech Stack
Nov 7, 2023 · Backend Development

Essential Java Libraries Every Senior Developer Should Know

This article presents a curated list of essential Java libraries—including JUnit, Mockito, Jackson, Gson, SLF4J, Log4j2, Apache Commons, Guava, JAXB, Xerces, Apache POI, JavaAssist, Cglib, Eclipse Collections, Trove, Jsoup, Apache MINA, Netty, Lombok, and Testcontainers—explaining their purposes and why senior developers should master them.

Backend DevelopmentJavalibraries
0 likes · 9 min read
Essential Java Libraries Every Senior Developer Should Know
Top Architecture Tech Stack
Top Architecture Tech Stack
Nov 4, 2023 · Backend Development

Essential Java Libraries Every Advanced Developer Should Know

This guide presents a curated list of essential Java libraries—including testing, JSON, logging, utility, XML, Excel, bytecode, collections, HTML parsing, encryption, embedded databases, serialization, networking, Lombok, and Testcontainers—that can dramatically improve productivity and code quality for backend development.

Backend DevelopmentJSONJava
0 likes · 8 min read
Essential Java Libraries Every Advanced Developer Should Know
Top Architect
Top Architect
Aug 29, 2023 · Backend Development

Implementing a Simple Java RPC Framework: Architecture, Service Registration, and Proxy Generation

This article walks through building a simple Java RPC framework, covering core concepts such as service registration with Zookeeper, client-side dynamic proxies, network communication via Netty, serialization, compression, and both reflection and Javassist-based proxy generation, complete with code examples and performance comparisons.

JavaJavassistNetty
0 likes · 26 min read
Implementing a Simple Java RPC Framework: Architecture, Service Registration, and Proxy Generation
Python Programming Learning Circle
Python Programming Learning Circle
Aug 9, 2023 · Fundamentals

Comprehensive Guide to Python File Operations: Opening, Reading, Writing, Paths, Modes, CSV, and Serialization

This tutorial presents a complete overview of Python file handling, covering opening and closing files, absolute and relative paths, various access modes, reading and writing techniques, pointer control, file copying, CSV processing, in‑memory streams, sys redirection, and JSON/pickle serialization, all illustrated with practical code examples.

CSVJSONPickle
0 likes · 19 min read
Comprehensive Guide to Python File Operations: Opening, Reading, Writing, Paths, Modes, CSV, and Serialization
AntTech
AntTech
Jul 21, 2023 · Big Data

Fury: A High‑Performance Multi‑Language Serialization Framework with JIT Compilation and Zero‑Copy

Fury is a JIT‑compiled, zero‑copy multi‑language serialization framework that delivers up to 170× faster performance than Java’s native serialization, supports automatic cross‑language object graph serialization for Java, Python, C++, Go and JavaScript, and offers specialized protocols for high‑throughput big‑data and AI workloads.

FuryJITMulti-language
0 likes · 15 min read
Fury: A High‑Performance Multi‑Language Serialization Framework with JIT Compilation and Zero‑Copy
Liangxu Linux
Liangxu Linux
Jul 2, 2023 · Fundamentals

Mastering Table‑Driven Parameter Management for Low‑Memory MCUs

This article explains the latest updates to a table‑driven parameter management library for MCU devices, covering unified parameter definitions, macro‑based registration, key‑value and non‑key‑value storage options, configurable trimming, macro and function interfaces, and provides detailed C code examples and serialization demos.

Embedded CMCUmacro
0 likes · 11 min read
Mastering Table‑Driven Parameter Management for Low‑Memory MCUs
Top Architect
Top Architect
May 3, 2023 · Backend Development

Understanding RPC: Principles, Implementation Details, and Code Walkthrough

This article explains the fundamentals of Remote Procedure Call (RPC), covering its definition, core challenges, service registration and discovery with Zookeeper, client proxy generation, network transmission using Netty, serialization and compression, server-side request handling via reflection or Javassist, and performance comparisons between proxy strategies.

Distributed SystemsJavaJavassist
0 likes · 24 min read
Understanding RPC: Principles, Implementation Details, and Code Walkthrough
Java Interview Crash Guide
Java Interview Crash Guide
Apr 20, 2023 · Fundamentals

Master Java I/O: Streams, NIO, and Serialization Explained

This article introduces Java I/O streams, explains how to efficiently read large files using buffered streams and NIO, details the core components of Java NIO (Channel, Buffer, Selector), and covers object serialization, the role of serialVersionUID, and alternative serialization frameworks.

Streamsionio
0 likes · 12 min read
Master Java I/O: Streams, NIO, and Serialization Explained