"Stateless" ek concept hai jo kisi system, protocol, ya application ko describe karta hai, jisme har ek request independent hoti hai aur system ya application ko kisi bhi pichhli request ya state ke bare mein koi information milti nahi hai.
Stateless systems mein har ek request apne aap mein complete hoti hai, aur system ko client ke past interactions ya state ke bare mein kuch pata nahi hota. Yani ki, kisi bhi ek request ka processing, uske sath koi previous interaction ya data depend nahi karta. Is tarah ke systems ko stateless hone ke liye "stateless protocol" ka istemal hota hai.
HTTP (HyperText Transfer Protocol), jo internet par information exchange ke liye istemal hota hai, ek stateless protocol ka example hai. Har ek HTTP request apne aap mein complete hota hai, aur server ko kisi bhi client ke pichhle requests ya states ke bare mein koi gyan nahi hota. Isse scalability aur reliability mein madad milti hai, kyun ki koi bhi server ko client ki previous state ki chinta nahi karni padti.
Iske vipreet, "stateful" systems mein har request pichhle interactions ya states par depend karta hai, aur server ko client ke previous states ke bare mein information hoti hai. Stateful systems ke examples mein session-based authentication, jaise ki traditional web applications mein hota hai, shamil hote hain.