mirror of
https://github.com/ltcptgeneral/cs239-caching.git
synced 2025-03-30 03:35:18 +00:00
Added test specifically for read_after_write
This commit is contained in:
parent
583c8633f7
commit
9cd8331a9d
@ -9,8 +9,8 @@ from utils import print_report
|
||||
baseurl = "http://localhost:8000"
|
||||
|
||||
endpoints = {
|
||||
"/user/{user_id}": 0.5, # 80% read operations
|
||||
"/update_user/?user_id={user_id}&name=Test&followers=100&bio=Updated&posts=Updated": 0.5 # 20% write 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 # 50% write operations
|
||||
}
|
||||
|
||||
# Fetch all user IDs
|
||||
|
Loading…
x
Reference in New Issue
Block a user