Tagged articles
266 articles
Page 3 of 3
JavaEdge
JavaEdge
Aug 7, 2020 · Backend Development

Choosing and Optimizing Serialization for High‑Performance Messaging

The article explains why serialization is essential for inter‑process communication, compares common formats like JSON, Protobuf, Kryo, and custom binary schemes, outlines selection criteria such as readability, complexity, speed and density, and provides code examples and interview‑style Q&A for high‑performance messaging systems.

BackendGoJava
0 likes · 12 min read
Choosing and Optimizing Serialization for High‑Performance Messaging
Selected Java Interview Questions
Selected Java Interview Questions
Jul 17, 2020 · Fundamentals

Deep Dive into Java ArrayList: Implementation, Thread Safety, and Common Operations

This article provides an in‑depth explanation of Java's ArrayList, covering its purpose, lack of thread safety, detailed source‑code analysis of fields, constructors and core methods, serialization mechanics, capacity handling, and a simplified hand‑written implementation for interview preparation.

ArrayListCodingInterviewCollections
0 likes · 13 min read
Deep Dive into Java ArrayList: Implementation, Thread Safety, and Common Operations
Selected Java Interview Questions
Selected Java Interview Questions
May 13, 2020 · Fundamentals

Understanding Java Serialization and serialVersionUID: Concepts, Usage, and Common Pitfalls

This article explains Java serialization and deserialization, the role of the Serializable interface and serialVersionUID, demonstrates how to implement and test them with code examples, and discusses related features such as transient and static fields, providing practical insights for Java developers.

DeserializationJavaserialVersionUID
0 likes · 11 min read
Understanding Java Serialization and serialVersionUID: Concepts, Usage, and Common Pitfalls
Laravel Tech Community
Laravel Tech Community
Apr 16, 2020 · Backend Development

Laravel Eloquent: Serializing Models and Collections to Arrays and JSON, Hiding Attributes, Appending Values, and Custom Date Formats

This guide explains how Laravel Eloquent can serialize models and their relationships to arrays or JSON, control visible and hidden attributes, append custom values, and customize date formatting using casts and Carbon serialization, with practical code examples for each feature.

BackendEloquentJSON
0 likes · 7 min read
Laravel Eloquent: Serializing Models and Collections to Arrays and JSON, Hiding Attributes, Appending Values, and Custom Date Formats
Big Data Technology Architecture
Big Data Technology Architecture
Apr 13, 2020 · Backend Development

Understanding Kafka Producer: Architecture, Data Structures, Serialization, Partitioning, and Buffering

This article provides a comprehensive overview of Kafka's Producer side, covering its architecture, the ProducerRecord data structure, serialization mechanisms, partitioning logic, and the accumulator buffer, while comparing old and new Producer clients and illustrating key configurations with code examples.

AccumulatorKafkaPartitioning
0 likes · 9 min read
Understanding Kafka Producer: Architecture, Data Structures, Serialization, Partitioning, and Buffering
macrozheng
macrozheng
Mar 19, 2020 · Backend Development

Unlocking Java Serialization: Theory, Practice, and Common Pitfalls

Explore Java's built‑in serialization mechanism from its origins in JDK 1.1, learn how to implement Serializable and Externalizable, see practical code examples, understand the impact of static and transient fields, and master serialVersionUID to avoid deserialization errors.

ExternalizableJavaObjectInputStream
0 likes · 15 min read
Unlocking Java Serialization: Theory, Practice, and Common Pitfalls
58 Tech
58 Tech
Mar 16, 2020 · Fundamentals

Understanding Object Serialization: Principles, Frameworks, and Performance Optimizations

This article explains the concept of object serialization, compares generic formats like JSON/XML with binary approaches, discusses optimization principles, key performance metrics, and reviews major serialization frameworks such as Protobuf, Thrift, Hessian, Kryo, and Avro, while also covering TLV encoding, varint algorithms, and practical pitfalls.

Big DataBinaryMicroservices
0 likes · 16 min read
Understanding Object Serialization: Principles, Frameworks, and Performance Optimizations
Java Backend Technology
Java Backend Technology
Mar 10, 2020 · Backend Development

Unlock Java Serialization: Why Serializable Matters and How to Master It

This article dives deep into Java's serialization mechanism, explaining the theory behind the Serializable interface, demonstrating practical examples with code, exploring the impact of static and transient fields, comparing Serializable with Externalizable, and clarifying the role of serialVersionUID in version compatibility.

ExternalizableJavaObjectInputStream
0 likes · 14 min read
Unlock Java Serialization: Why Serializable Matters and How to Master It
Programmer DD
Programmer DD
Jan 2, 2020 · Backend Development

Why Do Some Developers Hate Using Enums in API Design?

The article examines why enums, while type‑safe and convenient for input parameters, are often criticized in API return values due to their lack of extensibility and the risk of deserialization errors when newer enum constants appear after version upgrades.

Backend DevelopmentJavaapi-design
0 likes · 4 min read
Why Do Some Developers Hate Using Enums in API Design?
Java Captain
Java Captain
Jan 1, 2020 · Fundamentals

Why Enums Are Considered Poor Choices for API Return Values

The article explains why using enums as API return values is often criticized, highlighting their lack of extensibility, potential serialization errors when newer enum values appear, and contrasting this with the safety they provide as input parameters, illustrated with Java examples and community opinions.

JavaSoftware Architectureapi-design
0 likes · 4 min read
Why Enums Are Considered Poor Choices for API Return Values
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Dec 17, 2019 · Backend Development

Why Alibaba Prohibits Certain Java Practices: Logging, Collections, Serialization, and More

The article explains Alibaba's Java Development Manual rules—covering logging APIs, collection initialization, foreach loop modifications, static SimpleDateFormat, string concatenation in loops, serialVersionUID handling, subList usage, inheritance, isSuccess naming, COUNT(*) versus COUNT(col), and thread‑pool creation—providing the rationale behind each prohibition for safer, more efficient backend Java code.

backend-developmentcoding standardsserialization
0 likes · 13 min read
Why Alibaba Prohibits Certain Java Practices: Logging, Collections, Serialization, and More
Programmer DD
Programmer DD
Nov 27, 2019 · Backend Development

Master Fastjson: Fast Java JSON Parsing and Serialization Guide

This article introduces JSON basics, explains the Fastjson library from Alibaba, outlines its key features, and provides practical Java code examples for parsing, serializing, and converting between JSON strings, objects, arrays, maps, lists, and beans using Fastjson’s API.

DeserializationJSONJava
0 likes · 6 min read
Master Fastjson: Fast Java JSON Parsing and Serialization Guide
Selected Java Interview Questions
Selected Java Interview Questions
Nov 12, 2019 · Backend Development

Understanding Java Serialization and Deserialization

This article explains what Java serialization and deserialization are, why they are needed for object persistence and distributed systems, and provides step‑by‑step code examples showing how to implement them using the Serializable interface and ObjectOutputStream.

BackendDeserializationJava
0 likes · 6 min read
Understanding Java Serialization and Deserialization
Big Data Technology & Architecture
Big Data Technology & Architecture
Nov 9, 2019 · Big Data

Comparative Study of Apache Flink and Spark Streaming at Xiaomi: Architecture, Performance, and Serialization

This article examines Xiaomi's migration from Spark Streaming to Apache Flink, comparing scheduling strategies, mini‑batch versus true streaming, resource utilization, latency, and serialization mechanisms, and concludes with practical insights and custom optimization techniques for large‑scale data processing.

Big DataFlinkMini-Batch
0 likes · 17 min read
Comparative Study of Apache Flink and Spark Streaming at Xiaomi: Architecture, Performance, and Serialization
Python Programming Learning Circle
Python Programming Learning Circle
Oct 20, 2019 · Fundamentals

Unlock Hidden Python Tricks: Variable Arguments, File Globbing, Debugging, and More

This article explores a collection of useful yet often overlooked Python features—including functions with arbitrary arguments, file searching with glob, debugging with inspect, generating unique IDs, serialization, compression, and registering shutdown hooks—providing clear code examples and practical explanations for each.

Code ExamplesDebuggingPython
0 likes · 11 min read
Unlock Hidden Python Tricks: Variable Arguments, File Globbing, Debugging, and More
Beike Product & Technology
Beike Product & Technology
Sep 20, 2019 · Fundamentals

In‑Depth Analysis of Java ArrayList Implementation

This article provides a comprehensive overview and source‑code dissection of Java's ArrayList, covering its inheritance hierarchy, fields, constructors, addition, removal, modification, traversal, serialization, sorting, array conversion, thread‑safety considerations, and practical usage tips.

ArrayListCollectionsData Structures
0 likes · 16 min read
In‑Depth Analysis of Java ArrayList Implementation
Programmer DD
Programmer DD
Sep 12, 2019 · Backend Development

Master JSON Serialization in Java: A Deep Dive into Gson

This article walks through why developers should replace FastJson with Gson, explains Gson's core features, demonstrates basic and advanced serialization and deserialization—including handling arrays, collections, generic types, custom serializers, and annotations—while providing complete code examples and best‑practice tips.

DeserializationGsonGsonBuilder
0 likes · 20 min read
Master JSON Serialization in Java: A Deep Dive into Gson
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Aug 23, 2019 · Backend Development

Choosing Between boolean and Boolean for POJO Fields: Naming, Default Values, and Serialization Implications

This article examines how to correctly define boolean-type member variables in Java POJOs, comparing primitive boolean and wrapper Boolean, discussing naming conventions like success vs isSuccess, default values, JavaBeans getter/setter rules, and the impact on JSON serialization across fastjson, Gson, and Jackson.

JSONJavaNaming Convention
0 likes · 12 min read
Choosing Between boolean and Boolean for POJO Fields: Naming, Default Values, and Serialization Implications
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Aug 18, 2019 · Backend Development

Mastering Service Interaction: Protocols, Discovery, and Resilience in Microservices

This article explores best‑practice patterns for microservice communication, covering synchronous and asynchronous protocols, serialization formats, API design, service discovery, versioning, rate limiting, circuit breakers, correlation IDs, distributed consistency, authentication, retries, and economic considerations.

Microservicescircuit breakerrate limiting
0 likes · 22 min read
Mastering Service Interaction: Protocols, Discovery, and Resilience in Microservices
360 Tech Engineering
360 Tech Engineering
Aug 15, 2019 · Backend Development

Building a Simple RPC Framework in Go

This article walks through building a simple RPC framework in Go using about 300 lines of code, covering RPC fundamentals, TLV network data format, serialization, transport layer, server and client implementations, and a complete example to help readers understand RPC concepts.

Backend DevelopmentGoNetwork programming
0 likes · 11 min read
Building a Simple RPC Framework in Go
DataFunTalk
DataFunTalk
Aug 9, 2019 · Big Data

Performance Optimization Techniques for Spark and Spark Streaming Applications

This article explains how to improve Spark and Spark Streaming performance by tuning serialization, broadcast variables, parallelism, batch intervals, memory usage, garbage collection, and Kafka integration, providing practical code examples and real‑world optimization results.

Broadcast VariablesKryoMemory Optimization
0 likes · 32 min read
Performance Optimization Techniques for Spark and Spark Streaming Applications
360 Tech Engineering
360 Tech Engineering
Aug 6, 2019 · Mobile Development

Performance Comparison of JSON, Protocol Buffers, and FlatBuffers for H5‑Hybrid and Flutter Data Transmission

This article presents a real‑device performance test of three data serialization structures—JSON, Protocol Buffers, and FlatBuffers—used in H5‑Hybrid and Flutter development, analyzing their size, serialization/deserialization speed, and suitability for Android, Flutter, and H5 communication channels.

AndroidFlatBuffersFlutter
0 likes · 13 min read
Performance Comparison of JSON, Protocol Buffers, and FlatBuffers for H5‑Hybrid and Flutter Data Transmission
Huajiao Technology
Huajiao Technology
Aug 6, 2019 · Mobile Development

Which Serialization Wins? Json vs Protocol Buffers vs FlatBuffers on Android, Flutter & H5

This article presents a real‑device performance comparison of Json, Protocol Buffers and FlatBuffers across Android, Flutter and H5 channels, explains their internal structures, shows serialization/deserialization code, and provides practical guidance on choosing the right format for mobile data transmission.

FlatBuffersJSONMobile Development
0 likes · 13 min read
Which Serialization Wins? Json vs Protocol Buffers vs FlatBuffers on Android, Flutter & H5
Java Backend Technology
Java Backend Technology
Jun 29, 2019 · Backend Development

Mastering Java Serialization: From Basics to Advanced Pitfalls

This article explores Java's serialization mechanism in depth, covering its history, the Serializable and Externalizable interfaces, practical code examples, the impact of static and transient fields, serialVersionUID nuances, and common pitfalls to help developers write robust, version‑compatible Java code.

ExternalizableJavaserialVersionUID
0 likes · 14 min read
Mastering Java Serialization: From Basics to Advanced Pitfalls
Didi Tech
Didi Tech
Jun 22, 2019 · Big Data

Analysis of Hadoop RPC Architecture and Implementation

The article examines Hadoop’s RPC framework—detailing its client‑server workflow, core classes (RPC, Client, Server), dynamic proxy handling, NIO‑based server threading, configurable concurrency controls such as FairCallQueue, and a practical HDFS mkdir command example, illustrating high‑performance distributed communication.

Big DataHadoopJava
0 likes · 17 min read
Analysis of Hadoop RPC Architecture and Implementation
Big Data Technology & Architecture
Big Data Technology & Architecture
May 28, 2019 · Big Data

Optimizing Flink Shuffle: New Flow‑Control Mechanism, Serialization Improvements, and Architecture Refactoring

The article explains how Flink's shuffle pipeline—from upstream data serialization to downstream consumption—is optimized through a credit‑based flow‑control mechanism, zero‑copy network buffers, broadcast serialization reduction, external shuffle service, and a plugin‑based shuffle manager, resulting in significant performance gains for both streaming and batch jobs.

Big DataFlinkFlow Control
0 likes · 15 min read
Optimizing Flink Shuffle: New Flow‑Control Mechanism, Serialization Improvements, and Architecture Refactoring
Qunar Tech Salon
Qunar Tech Salon
May 24, 2019 · Backend Development

Why Dubbo Wraps Custom Exceptions into RuntimeException and How to Fix It

The article explains Dubbo's exception‑filter mechanism, demonstrates with a HelloException example why a custom RuntimeException is wrapped into a generic RuntimeException on the consumer side, analyzes the source code logic that decides when to re‑throw or wrap exceptions, and offers practical ways to avoid this pitfall in real projects.

BackendRPCexception-handling
0 likes · 9 min read
Why Dubbo Wraps Custom Exceptions into RuntimeException and How to Fix It
MaGe Linux Operations
MaGe Linux Operations
Mar 9, 2019 · Fundamentals

Unlock Hidden Python Tricks: Variable Arguments, Glob, Debugging, UUID, Serialization & More

This article reveals several lesser‑known Python features—including functions that accept arbitrary arguments, powerful file searching with glob, debugging with inspect, generating unique IDs via uuid, data serialization, string compression, and registering shutdown hooks—providing practical code examples for each.

Debuggingatexitcompression
0 likes · 5 min read
Unlock Hidden Python Tricks: Variable Arguments, Glob, Debugging, UUID, Serialization & More
Big Data Technology & Architecture
Big Data Technology & Architecture
Feb 21, 2019 · Backend Development

Essential Netty Knowledge and Source Code Analysis

This article introduces the "Big Data Path to God" series, lists several Java advanced topics, and provides a comprehensive Netty guide covering BIO/NIO/AIO differences, Netty features, threading model, TCP packet handling, serialization choices, zero‑copy, performance aspects, and key source‑code components.

JavaNettyNetwork programming
0 likes · 3 min read
Essential Netty Knowledge and Source Code Analysis
Xianyu Technology
Xianyu Technology
Jan 29, 2019 · Mobile Development

Object Serialization in Flutter: A Practical Approach

The article examines Flutter’s limited built-in JSON handling, explains why the popular json_serializable package can fall short for complex, generic objects, and introduces fish-serializable—a custom library with a ValueHolder, FishSerializable interface, JsonSerializer, and IntelliJ plugin—already used in production at Alibaba’s Xianyu and soon to be open-sourced.

DARTFlutterJSON
0 likes · 8 min read
Object Serialization in Flutter: A Practical Approach
JD Tech
JD Tech
Jan 4, 2019 · Backend Development

Using Protobuf with Go: Installation, Code Examples, and Serialization

This article provides a step‑by‑step guide on installing the Protobuf compiler, setting up the Go plugin, writing .proto definitions, generating Go code, and demonstrating serialization and deserialization of Protobuf messages in a Go application, complete with troubleshooting tips and reference links.

GoProtobufProtocol Buffers
0 likes · 6 min read
Using Protobuf with Go: Installation, Code Examples, and Serialization
High Availability Architecture
High Availability Architecture
Oct 30, 2018 · Backend Development

Why Protocol Buffers Are Fundamentally Flawed: A Critical Analysis

The article presents a detailed technical critique of Protocol Buffers, highlighting its amateur origins, lack of composability, problematic type system choices, misleading backward‑compatibility claims, and the way it pollutes codebases, ultimately arguing that developers should avoid adopting it for new projects.

Protocol Buffersdesign critiqueserialization
0 likes · 11 min read
Why Protocol Buffers Are Fundamentally Flawed: A Critical Analysis
58 Tech
58 Tech
Oct 24, 2018 · Backend Development

Overview of the SCF RPC Framework: Architecture, Call Modes, Serialization, Service Registration, and Monitoring

This article introduces the SCF RPC framework developed by 58, covering its overall architecture, synchronous and callback call modes, timeout handling, custom serialization techniques, service registration and discovery using etcd, as well as data collection, storage, and monitoring mechanisms for large‑scale distributed services.

Distributed SystemsRPCSCF
0 likes · 16 min read
Overview of the SCF RPC Framework: Architecture, Call Modes, Serialization, Service Registration, and Monitoring
Architect's Tech Stack
Architect's Tech Stack
Oct 10, 2018 · Backend Development

Understanding Java Object Serialization and the transient Keyword

Java object serialization converts objects into byte streams for storage or transmission, while the transient keyword excludes specific fields from this process; this article explains serialization concepts, appropriate use cases for transient, provides code examples, and shows the impact on object state after deserialization.

JavaJava Basicsobject serialization
0 likes · 6 min read
Understanding Java Object Serialization and the transient Keyword
Big Data and Microservices
Big Data and Microservices
Sep 10, 2018 · Backend Development

Understanding RPC: Architecture, Workflow, and Core Technologies

This article explains the fundamentals of Remote Procedure Call (RPC), covering its definition, architectural components, communication protocols, serialization process, complete call workflow, and the main technologies and frameworks used in modern backend systems.

Backend DevelopmentDistributed SystemsRPC
0 likes · 9 min read
Understanding RPC: Architecture, Workflow, and Core Technologies
MaGe Linux Operations
MaGe Linux Operations
Aug 10, 2018 · Fundamentals

Unlock Hidden Python Tricks: Variable Arguments, Glob, UUID, Serialization & More

This article introduces several often‑overlooked Python features—including functions that accept arbitrary arguments, file searching with glob, debugging with inspect, generating unique IDs via uuid, data serialization, string compression, and registering shutdown functions with atexit—providing concise examples and visual code snippets.

file-handlingfunctionsprogramming
0 likes · 5 min read
Unlock Hidden Python Tricks: Variable Arguments, Glob, UUID, Serialization & More
Java Captain
Java Captain
Apr 13, 2018 · Fundamentals

Java ArrayList Overview and Source Code Walkthrough

This article provides an overview of Java's ArrayList class, explaining its dynamic array implementation, thread-safety considerations, key interfaces, constructors, capacity management, core methods, and internal mechanisms such as ensureCapacity, trimToSize, and serialization, accompanied by detailed source code excerpts and practical insights.

ArrayListCollectionsData Structures
0 likes · 13 min read
Java ArrayList Overview and Source Code Walkthrough
Java Captain
Java Captain
Mar 31, 2018 · Fundamentals

Understanding Object Cloning in Java: Shallow vs Deep Copy

This article explains Java object cloning, detailing why cloning is needed, how to implement shallow and deep copies using the Cloneable interface and serialization, and provides comprehensive code examples illustrating the differences and pitfalls of reference copying.

CloneableJavacloning
0 likes · 15 min read
Understanding Object Cloning in Java: Shallow vs Deep Copy
Suishouji Tech Team
Suishouji Tech Team
Mar 21, 2018 · Mobile Development

How to Integrate Google Protocol Buffers into iOS Apps with Objective‑C

This guide explains why and how to use Google Protocol Buffers for efficient data exchange in iOS, covering environment setup, installation, .proto definition, compilation to Objective‑C files, project integration, and a complete encode/decode test with sample code.

Mobile DevelopmentObjective‑CProtocol Buffers
0 likes · 7 min read
How to Integrate Google Protocol Buffers into iOS Apps with Objective‑C
Java Captain
Java Captain
Jan 15, 2018 · Fundamentals

Understanding Java's transient Keyword: Usage, Summary, and Edge Cases

This article explains the purpose and usage of Java's transient keyword, demonstrates how it prevents sensitive fields from being serialized, summarizes key rules, and explores edge cases including static fields and the Externalizable interface where transient fields can still be manually serialized.

Externalizablefundamentalsserializable
0 likes · 11 min read
Understanding Java's transient Keyword: Usage, Summary, and Edge Cases
Alibaba Cloud Developer
Alibaba Cloud Developer
Jan 11, 2018 · Backend Development

HSF 2.2: Architecture and Optimizations that Powered Alibaba’s Double‑11

HSF 2.2 introduces a clear three‑domain architecture, async call interceptors, multi‑application support, and several serialization and map‑operation optimizations that together reduced CPU usage, network traffic and latency, enabling Alibaba to handle over 3.5 trillion calls during the 2017 Double‑11 event.

Backend ArchitectureHSFasync interceptor
0 likes · 15 min read
HSF 2.2: Architecture and Optimizations that Powered Alibaba’s Double‑11
vivo Internet Technology
vivo Internet Technology
Sep 8, 2017 · Backend Development

Compressing User Tags and Models with Protostuff and Gzip

By serializing user feature data with Java's Protostuff (built on Protobuf) and then applying JDK Gzip compression before storing it in Redis, the author shrank typical 70 KB per‑user payloads to under 10 KB, enabling billions of records with cross‑language compatibility and no schema‑breakage.

GzipJavaProtostuff
0 likes · 6 min read
Compressing User Tags and Models with Protostuff and Gzip
Java Captain
Java Captain
Sep 6, 2017 · Fundamentals

Java I/O Streams: Byte Streams, Character Streams, Buffered Streams, Data Streams, and Object Streams

This article provides a comprehensive tutorial on Java I/O streams, covering byte streams, character streams, buffered streams, line‑oriented I/O, scanning and formatting APIs, command‑line I/O, data streams for primitive types, and object streams for serialization, with detailed code examples and best‑practice guidelines.

BufferingJavaScanning
0 likes · 26 min read
Java I/O Streams: Byte Streams, Character Streams, Buffered Streams, Data Streams, and Object Streams
21CTO
21CTO
Sep 1, 2017 · Blockchain

Building a Simple Haskell Blockchain: Types, Mining, and Persistence

This article walks through creating a minimal blockchain in Haskell, covering data structures, serialization, mining logic, difficulty adjustment, and command‑line tools for mining and balance listing, while illustrating core concepts such as Merkle trees, hash functions, and transaction validation.

BlockchainHaskellMining
0 likes · 23 min read
Building a Simple Haskell Blockchain: Types, Mining, and Persistence
21CTO
21CTO
Apr 17, 2017 · Frontend Development

Master JSON in JavaScript: From Serialization Basics to Advanced Tricks

This article explains what JSON is, why it’s ideal for data exchange, contrasts it with JavaScript objects, and dives deep into JSON.stringify, JSON.parse, and toJSON, illustrating each concept with clear code examples and practical tips for developers.

JSONJSON.parseJSON.stringify
0 likes · 17 min read
Master JSON in JavaScript: From Serialization Basics to Advanced Tricks
High Availability Architecture
High Availability Architecture
Mar 31, 2017 · Backend Development

Benchmarking JSON vs Protobuf Performance in Java

This article benchmarks Java JSON libraries against Google Protobuf, analyzing decode/encode performance for integers, doubles, strings, objects, and lists, revealing that while Protobuf often outperforms JSON, optimized JSON libraries like DSL‑JSON can narrow the gap dramatically.

BenchmarkJSONJava
0 likes · 22 min read
Benchmarking JSON vs Protobuf Performance in Java
Qunar Tech Salon
Qunar Tech Salon
Mar 6, 2017 · Backend Development

Understanding Dubbo’s Network Transport Layer and Hessian2 Serialization

This article explains Dubbo’s network transport architecture, the Dubbo protocol with Hessian2 serialization, details the encoding/decoding process using Netty, and proposes optimization techniques such as reducing array copies, leveraging Netty 4 decoders, compressing binary data, and adopting alternative high‑performance serialization formats.

BackendDubboNetty
0 likes · 10 min read
Understanding Dubbo’s Network Transport Layer and Hessian2 Serialization
dbaplus Community
dbaplus Community
Nov 1, 2016 · Information Security

Exploiting Message Queue Injection to Hijack Distributed Nodes with Celery

The article explains how insecure serialization in message‑queue middleware, especially Python's pickle used by Celery, can be abused to inject malicious payloads that trigger remote code execution on distributed workers, and it demonstrates detection and exploitation techniques against vulnerable Redis and MongoDB brokers.

ExploitMessage QueuePython
0 likes · 17 min read
Exploiting Message Queue Injection to Hijack Distributed Nodes with Celery
Ctrip Technology
Ctrip Technology
Nov 1, 2016 · Information Security

Understanding Serialization, Deserialization Vulnerabilities and Mitigation in Java

The article explains Java serialization and deserialization concepts, provides sample code for serializing a string to a file and restoring it, describes how insecure deserialization leads to remote code execution vulnerabilities illustrated by ActiveMQ, JBoss and Jenkins cases, and outlines mitigation techniques such as class whitelisting, encryption, and using transient fields.

DeserializationJavaMitigation
0 likes · 7 min read
Understanding Serialization, Deserialization Vulnerabilities and Mitigation in Java
Architect
Architect
May 25, 2016 · Big Data

How Flink Manages Memory to Overcome JVM Limitations

The article explains how Flink tackles JVM memory challenges by using proactive memory management, a custom serialization framework, cache‑friendly binary operations, and off‑heap memory techniques to reduce GC pressure, avoid OOM, and improve performance in big‑data workloads.

Big DataFlinkJVM
0 likes · 17 min read
How Flink Manages Memory to Overcome JVM Limitations
dbaplus Community
dbaplus Community
Mar 28, 2016 · Backend Development

How to Keep Cache and Database Consistent: Invalidate First, Serialize Access

This article explains why cache and database can become inconsistent in distributed systems, why the "invalidate‑cache‑then‑write‑DB" rule is preferred, and presents practical serialization techniques—modifying DB and service connection pools—to guarantee per‑key sequential execution while maintaining availability and load balance.

Backend ArchitectureCacheConnection Pool
0 likes · 11 min read
How to Keep Cache and Database Consistent: Invalidate First, Serialize Access
ITPUB
ITPUB
Nov 18, 2015 · Information Security

Prevent Remote Code Execution: Securing Java Serialization with a Simple Class Whitelist

The article explains how a widespread Java serialization vulnerability lets attackers execute remote commands by deserializing malicious objects, and describes a practical mitigation that overrides ObjectInputStream’s resolveClass method to enforce a whitelist, preventing unauthorized class instantiation without rewriting application code.

JavaVulnerabilityWhitelist
0 likes · 6 min read
Prevent Remote Code Execution: Securing Java Serialization with a Simple Class Whitelist
21CTO
21CTO
Oct 7, 2015 · Backend Development

How to Build Transparent Remote Service Calls with Java RPC and Zookeeper

This article explains how large‑scale internet companies replace local service calls with remote procedure calls (RPC), covering Java dynamic proxies, message encoding, serialization, asynchronous response handling, and Zookeeper‑based service registration and discovery to achieve transparent, scalable service communication.

Dynamic ProxyJavaNetty
0 likes · 12 min read
How to Build Transparent Remote Service Calls with Java RPC and Zookeeper
Qunar Tech Salon
Qunar Tech Salon
Apr 21, 2015 · Backend Development

Understanding Netty Pitfalls: Autoread, isWritable, and Serialization

This article explains Netty's autoread switch, isWritable back‑pressure mechanism, and serialization strategies, showing how to control read/write rates, avoid thread‑pool overload, and reduce memory copies when handling TCP byte streams in high‑performance Java network applications.

Networkingbackpressureconcurrency
0 likes · 14 min read
Understanding Netty Pitfalls: Autoread, isWritable, and Serialization
Meituan Technology Team
Meituan Technology Team
Mar 4, 2015 · Big Data

Serialization and Deserialization: Concepts, Protocols, and Selection Guidelines

The article explains serialization and deserialization fundamentals, compares key protocols (XML/SOAP, JSON, Thrift, Protobuf, Avro) across readability, performance, extensibility and security, presents benchmark results, and offers practical guidelines for choosing the most suitable format for various distributed system scenarios.

DeserializationProtocolsserialization
0 likes · 26 min read
Serialization and Deserialization: Concepts, Protocols, and Selection Guidelines