Posts

Showing posts from October, 2023

Cookie, Session and Token

Browsing is significant in everyday life and unavoidable. Do you know how your data is stored and how you are getting the responses based on your HTTP request through the web browser? A session is created temporarily when the user wants to use a particular website. It refers to the user's visiting time and has other session-related details. The cookie and session are combined together to work for the user's better experience. The web browser sends the session ID with the cookie to the server to check the user is valid when they try to access another related page and the session ID is unique and hard to guess. The session information will be stored in the server's database only when the cookie has the session ID details. In the bank example, when the user logs in to their account, the session is created with ID and the session ends when the user logs out or is inactive for some time. A token is totally a different concept in which the server creates a token ID when the user

Monolithic architecture

Image
In today’s world, the debate is still going on about which architecture suits best in every perspective. We will discuss in a shorter context about this topic. Monolithic is a coupled, single-packed architecture that combines all the services related to the business under a single shed. It includes all related services such as web server, load balancer, database, UI/UX, business layer, and interfaces. It integrated everything into a single-piece server as a product. Examples of such organizations such as Facebook, GitHub, Epic System, and WordPress. We will see the pros and cons of using monolithic architecture. Benefits Easy deployment: Since monolith is a single unit, it is easy to deploy. No coupling time: There is no run-time and design-time coupling between multiple components. Operations: Operations that take place locally and can be done in ACID (Atomicity, Consistency, Isolation, and Durability) implementations since it uses a single database. Performance: Due

Software Testing...

Image
Everyone is a tester in our day-to-day life without our knowledge irrespective of the technology we use. We do web application, mobile, and desktop testing to connect the world. “Testing  is the process of evaluating a product by learning about it through experiencing, exploring, and experimenting, which includes to some degree: questioning, study, modeling, observation, inference, etc.” -  James Bach and Michael Bolton Let me take an example. Nowadays, it is our first ritual or habit to check our mobile phone after we open our eyes or even before we hear the alarm. We have a separate inseparable bond with it. You might be shocked if the alarm is not ringing up correctly and you missed waking up. It might delay your daily routine. Right? Below are a few checkpoints you should verify before you go to bed. ü   Select the present time zone ü   Correct date and time to set up an alarm ü   Enable the alarm option ü   The alarm volume is not silent ü   Select vibration mode as