1
0
mirror of https://github.com/ltcptgeneral/cs239-caching.git synced 2025-04-01 12:33:25 +00:00

Added test specifically for read_after_write

This commit is contained in:
Derek Wang 2025-03-03 22:47:41 -08:00
parent 583c8633f7
commit 9cd8331a9d

@ -9,8 +9,8 @@ from utils import print_report
baseurl = "http://localhost:8000" baseurl = "http://localhost:8000"
endpoints = { endpoints = {
"/user/{user_id}": 0.5, # 80% read operations "/user/{user_id}": 0.5, # 50% read operations
"/update_user/?user_id={user_id}&name=Test&followers=100&bio=Updated&posts=Updated": 0.5 # 20% write operations "/update_user/?user_id={user_id}&name=Test&followers=100&bio=Updated&posts=Updated": 0.5 # 50% write operations
} }
# Fetch all user IDs # Fetch all user IDs