Yin amfani da shi Redis a cikin yanayin samarwa na ainihi zaɓi ne mai wayo saboda fasali da aikin sa. A ƙasa akwai wasu lokuttan amfani waɗanda Redis aka fi amfani da su a cikin wuraren samarwa na zahiri:
Caching
Redis sanannen zaɓi ne don adana bayanan wucin gadi don rage lokacin tambaya don rage tsarin ajiya a hankali kamar bayanan bayanai ko APIs. Ta hanyar caching samun dama ga bayanai akai-akai a cikin ƙwaƙwalwar ajiya, Redis yana haɓaka lokacin amsa aikace-aikacen kuma yana rage nauyi akan babban tsarin ajiyar bayanai.
Session Store
Redis za a iya amfani da shi don adana bayanan zaman mai amfani a cikin aikace-aikacen yanar gizo, tallafawa gudanar da zaman da kuma kiyaye matsayin shiga.
Real-time Analytics
Redis Ƙarfin aiwatar da bayanan ainihin-lokaci cikin sauri ya sa ya zama zaɓi na gama gari don adanawa da nazarin bayanan abubuwan da ke shigowa cikin sauri.
Caching Layer a Tsarin Rarraba
Redis zai iya aiki azaman caching Layer a cikin tsarin da aka rarraba kamar injunan bincike ko rarraba bayanai, rage yawan zirga-zirgar tambaya zuwa tushen bayanan nesa.
Messaging
Redis zai iya aiki azaman dillalin saƙo a cikin gine-ginen tushen layi, yana tallafawa yanayin sarrafa asynchronous da haɓaka amincin tsarin.
Rate Limiting
Redis za a iya amfani da shi don saita iyakoki don samun damar API ko ayyukan shiga, hana keta haddin tsaro da hare-haren ƙarfi.
Godiya ga babban aikinsa da sassauci, Redis zaɓin da aka fi so don lokuta daban-daban na amfani a cikin yanayin samarwa na zahiri. Koyaya, ƙaddamarwa Redis yana buƙatar yin la'akari sosai don tabbatar da ingantaccen haɗin kai tare da takamaiman buƙatun aikace-aikacen.