有沒有人遇到按照視頻中的寫,存儲過程報錯:
1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right
1327 - Undeclared variable: insert_count
1193 - Unknown system variable 'r_result'
1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right
1327 - Undeclared variable: insert_count
1193 - Unknown system variable 'r_result'
2019-07-06
redis是可以做減庫存的,而且redis本身就就有原子性的特點,庫存可以使用list結構,使用redis的pop方法彈出庫存,能彈出數據就是減庫存成功,然后使用mq獲取其他異步方式更新數據庫庫存,就可以很有效提高并發性能了
2019-05-15
雖然我不太懂具體是怎么實現,但大概的意思是懂了,了解了redis中的一些基本情況,更接觸到CDN等更加深層次的知識。
2019-05-05