Articles

COMPRESSION IN CASSANDRA

COMPRESSION IN CASSANDRA Operators can set up compression on a per-table basis with Cassandra. By compressing the SSTable in user-configurable compression chunk_length_in_kb, compression minimizes the amount of data on disk. The CPU cost of compressing data is only required when the SSTable is written since… Read More

OBJECT ORIENTED PROGRAMMING IN PYTHON

OBJECT ORIENTED PROGRAMMING IN PYTHON Object-Oriented Programming (OOP) is a powerful paradigm that allows developers to structure their code in a more organized and modular way. In Python, OOP is implemented through classes and objects, which encapsulate data and behavior into reusable components. Python is… Read More

FUNCTIONS IN PYTHON

FUNCTIONS IN PYTHON FUNCTION: ▪️ A function is a block of code that performs a specific task. ▪️ Functions are defined by using the def keyword which follows by function name and parentheses which may have parameters. ▪️ Any function can accept zero or more… Read More

Exceptional Handling in python

Exceptional Handling in python Exception handling allows developers to manage errors and unexpected situations. Exception handling is the process of managing errors and unexpected events that occur during the execution of a program. When a Python program encounters an error, it raises an exception, which… Read More

STRATEGIES OF COMPACTION

STRATEGIES OF COMPACTION ▪️ Unified Compaction Strategy (UCS) ▪️ Size-Tiered Compaction Strategy (STCS) ▪️ Leveled Compaction Strategy (LCS) ▪️ Time Window Compaction Strategy (TWCS)   UNIFIED COMPACTION STRATEGY: For the majority of workloads, including mixed read-write, time-series, read-heavy, and write-heavy workloads, the UnifiedCompactionStrategy (UCS) is… Read More

CHANGE DATA CAPTURE

CHANGE DATA CAPTURE When a configurable size-on-disk for the CDC log is reached, Change Data Capture (CDC) offers a technique to refuse writes to certain tables and flag them for archiving. By setting the table property cdc=true (either when creating the table or modifying it),… Read More

Built in Object Types in Python

Built in Object Types in Python ▪️ All programming languages support a number of built-in variable types. These are the building blocks used for all the other variable types available within the language. ▪️ By combining or extending the basic variable, we can create some… Read More

BLOOM FILTERS

BLOOM FILTERS WHAT ARE BLOOM FILTERS: Cassandra combines data from RAM (in memtables) and disk (in SSTables) in the read path. Cassandra uses a data structure called a bloom filter to avoid having to go through each and every SSTable data file to find the… Read More

CASSANDRA BACKUPS

CASSANDRA BACKUPS WHAT ARE BACKUPS: Immutable SSTable files are used by Apache Cassandra to store data. The backup copies of the database data that are kept as SSTable files in the Apache Cassandra database are called backups. There are various uses for backups, some of… Read More

OPERATORS IN PYTHON

OPERATORS IN PYTHON Operator: It is defined as a symbol which is responsible for a particular operation between two operands. Python supports different types of operators: 1. Arithmetic Operators 2. Assignment Operators 3. Logical Operators 4. Comparison Operators 5. Bitwise Operators 6. Identity Operators 7.… Read More

Basics of Docker Containers:

Basics of Docker Containers: What are containers: ▪️ Containers are lightweight packages of your application code together with dependencies such as specific versions of programming language runtimes and libraries required to run your software services. ▪️ Containers make it easy to share CPU, memory, storage, and… Read More

String: Python

String: ⦁ It is one of the built-in data structures in python. ⦁ String is a group of one or more characters which are enclosed in between single, double, triple quotes. ⦁ Strings can contain symbols, letters, numbers and special characters. ⦁ Strings are immutable… Read More

More Latest News »