Heap Analysis
We have two conflicting goals here. The first general rule is to create objects sparingly and to discard them as quickly as possible. Using less memory is the best way to improve the efficiency of ...
We have two conflicting goals here. The first general rule is to create objects sparingly and to discard them as quickly as possible. Using less memory is the best way to improve the efficiency of ...
Garbage Collection Overview One of the most attractive features of programming in Java is that developers needn’t explicitly manage the life cycle of objects: objects are created when needed, and w...
Before Unicode, there were many different character encoding schemes. This caused two problems. First, a particular code value corresponds to different letters in the different encoding schemes. Se...
All information in a system, including disk files, programs stored in memory, user data stored in memory, and data transferred across a network, is represented as a bunch of bits. The only thing th...
At the base of Redis replication there is a leader follower (master-replica) replication that is simple to use and configure. It allows replica Redis instances to be exact copies of master instance...
Redis Cluster provides a way to run a Redis installation where data is automatically sharded across multiple Redis nodes. Redis Cluster also provides some degree of availability during partitions, ...
Common Commands # generate a cluster UUID bin/kafka-storage.sh random-uuid # format log directories bin/kafka-storage.sh format -t xxxcluster_uuid -c config/kraft/server.properties # start the Ka...
What is event streaming? Technically speaking, event streaming is the practice of capturing data in real-time from event sources like databases, sensors, mobile devices, cloud services, and softwar...
Persistence refers to the writing of data to durable storage, such as a solid-state disk (SSD). RDB (Redis Database) RDB persistence performs point-in-time snapshots of your dataset at specified i...
Strings Redis strings store sequences of bytes, including text, serialized objects, and binary arrays. By default, a single Redis string can be a maximum of 512 MB. Most string operations are O(1...