This Project Designed by Python to Simulate Redis Database Function
This Project Runs On Network , We Wanted Simulate this Project to Redis Database Completly , becouse of This We use Of Socket Concept to Run This Project On Network and Accessed On 6379 Port
Redis Is a No Sql Database that Uses Of System Memory to Store Data for Limited Time , Becouse of This Concept , Its Very Fast Data in This Database Stored In (Key,Value) format
-
in the first Step you Should Clone this Project from This Url
-
this Project Doesnt Need any external library or packages
-
after you cloned the project , you will see two python file in the root of project
-
this file is server side of project, for running this you should just run like a simple python file based on your machine this file uses of socket module to run on the network that accessed on
127.0.0.1:6379or localhostwhen you runned this file , you should do anything , this file will handle everything
-
this file is client side of project , running this file is like running
redis_server.pyfile , actually this file after running , will connect to127.0.0.1:6379and recives redis commands and send them to server side of project to run commands
This Project Simulates Redis Database Commands , Something Like Build Your Own Redis With C\C++ Book , but we Simulate it by Python
We have Some Basic Commands for String datatype in redis get and set commands are commands to set a new variable to databse with specific key and value
set name mohammadreza This command set new string variable with name key and mohammadreza value
Now We can get mohammadreza value with get name command , definitly you know that no key shouldnt be repeated more than once
this project can be good practice for python developers who has already started to learn python programming language
I Hope to Enjoy this Project and Rate it !