Category: Database
Managing Session State in Django Web Applications with a Database
In web development, session state refers to the ability of a web application to maintain state across multiple requests from a single user. This means that as a user interacts with a web application, their actions and data are saved
Configuring MySQL Master-Slave Replication on Ubuntu
Replication between master and slave MySQL databases involves replicating and copying database files across multiple servers in a network. Using this setup, the master server serves as a redundancy and fault-tolerance mechanism in the event of a failure, the slave
How to send data from the Parent component to the Child component in LWC
The Lightning Web Component (LWC) is widely used over the salesforce platform to build components that can work dynamically and are a combination of Custom HTML and modern JavaScript. Depending on the need, they can be displayed over Home Page,
Introduction to the rabbitmq message broker
Introduction: RabbitMQ is a message broker software that enables different systems and applications to communicate with each other in a distributed environment. It provides a reliable messaging solution that implements the Advanced Message Queuing Protocol (AMQP). In this post, we
Copy data from Azure Storage to a local disk using the Azcopy tool
Step.1 Download Azcopy from Microsoft according to your OS type https://learn.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-v10 These files are compressed as a zip file, so extract them at a location Like D:\azcopy_windows_amd64_10.16.2\ Run AzCopy Sample command:- Step.2 Open the storage container from the Azure portal
How to use SSH tunnel to access phpMyAdmin
Server Side: ssh to your remote machine Block direct access to your PHPMyAdmin and allow it for localhost only. If you have a standalone PHPMyAdmin then go to the apache configuration file and add the following lines. #Restricted the Access
10 Best Practices of AWS S3 Folder Structure
Here are 10 AWS S3 folder structure best practices: Consistent Naming Convention: Use a consistent and logical naming convention for your folders. This helps in easy navigation and organization. Avoid using special characters or spaces in folder names. Hierarchical Structure:
How to make a batch class schedulable
Batch Apex is a very powerful tool that allows us to work on large volumes of data in bite-sized chunks (batches) so that we don’t hit Salesforce’s governor limits. Often, we need to schedule our batch apex to run at
Implementing Asynchronous Task Processing using Celery and RabbitMQ
Celery is a popular open-source task queue/job queue that allows you to execute tasks asynchronously in the background. It is written in Python and utilizes distributed message passing to manage the execution of tasks. With celery, you can schedule tasks