{"id":3634,"date":"2023-03-09T04:09:51","date_gmt":"2023-03-09T07:09:51","guid":{"rendered":"https:\/\/roberval.com.br\/roberval\/?p=3634"},"modified":"2023-03-09T04:09:51","modified_gmt":"2023-03-09T07:09:51","slug":"cache-miss-attack-by-alex-xu-bytebytego-newsletter","status":"publish","type":"post","link":"https:\/\/roberval.com.br\/roberval\/2023\/03\/cache-miss-attack-by-alex-xu-bytebytego-newsletter\/","title":{"rendered":"Cache miss attack &#8211; by Alex Xu &#8211; ByteByteGo Newsletter"},"content":{"rendered":"<p><a href=\"https:\/\/blog.bytebytego.com\/p\/cache-miss-attack\"><img decoding=\"async\" class=\"alignnone size-full\" src=\"http:\/\/roberval.com.br\/roberval\/wp-content\/uploads\/2023\/03\/https3A2F2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com2Fpublic2Fimages2F7a94e8d3-2ed7-4a26-941d-37864342d23f_2163x2463.jpeg\" alt=\"\" \/><\/a><\/p>\n<blockquote><p>Caching is awesome but it doesn\u2019t come without a cost, just like many things in life. One of the issues is ????? ???? ??????. Please correct me if this is not the right term. It refers to the scenario where data to fetch doesn&#8217;t exist in the database and the data isn\u2019t cached either. So every request hits the database eventually, defeating the purpose of using a cache. If a malicious user initiates lots of queries with such keys, the database can easily be overloaded.<\/p><\/blockquote>\n<p>Origem: <em><a href=\"https:\/\/blog.bytebytego.com\/p\/cache-miss-attack\">Cache miss attack &#8211; by Alex Xu &#8211; ByteByteGo Newsletter<\/a><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Caching is awesome but it doesn\u2019t come without a cost, just like many things in life. One of the issues is ????? ???? ??????. Please correct me if this is not the right term. It refers to the scenario where data to fetch doesn&#8217;t exist in the database and the data isn\u2019t cached either. So [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-3634","post","type-post","status-publish","format-standard","hentry","category-great-stuff"],"_links":{"self":[{"href":"https:\/\/roberval.com.br\/roberval\/wp-json\/wp\/v2\/posts\/3634","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/roberval.com.br\/roberval\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/roberval.com.br\/roberval\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/roberval.com.br\/roberval\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/roberval.com.br\/roberval\/wp-json\/wp\/v2\/comments?post=3634"}],"version-history":[{"count":1,"href":"https:\/\/roberval.com.br\/roberval\/wp-json\/wp\/v2\/posts\/3634\/revisions"}],"predecessor-version":[{"id":3636,"href":"https:\/\/roberval.com.br\/roberval\/wp-json\/wp\/v2\/posts\/3634\/revisions\/3636"}],"wp:attachment":[{"href":"https:\/\/roberval.com.br\/roberval\/wp-json\/wp\/v2\/media?parent=3634"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/roberval.com.br\/roberval\/wp-json\/wp\/v2\/categories?post=3634"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/roberval.com.br\/roberval\/wp-json\/wp\/v2\/tags?post=3634"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}