Skip to content

Comparison, in terms of time complexity, between the mechanisms of pipelining and fetching all data at once.

License

Notifications You must be signed in to change notification settings

lwglg/bm-redis-pipelining-vs-getall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bm-redis-pipelining-vs-getall

Comparison, in terms of time complexity, between the mechanisms of pipelining and fetching all data at once.

Requisites

  • Python v3.12;
  • Docker v27.5.1. How to install it in here;
  • Docker Compose v2.32.4. How to install it in here;
  • UV Package Manager. How to install it in here.

Getting started

At the project's root, execute the following commands:

  • Run the Redis server via Docker Compose, and show the execution logs:
docker compose up -d redis && docker compose logs redis --follow
  • In a different terminal, installing the correct version of Python for this project:
uv python install 3.12
  • Installing project dependencies:
uv pip install -r pyproject.toml
  • Activating the local environment (optional):
source .venv/bin/activate
  • Running the application:
uv run python -m src 

About

Comparison, in terms of time complexity, between the mechanisms of pipelining and fetching all data at once.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages