redink / redink_toys

redink's codes for fun
3 stars 0 forks source link

bloomfilter #16

Open redink opened 5 years ago

redink commented 5 years ago

image

redink commented 5 years ago

应用case

1,将存在的resource id 放在bloomfilter 中,当用户请求不存在的resource 时,直接返回null,而不需要再请求cache 和database,节省数据库IO