{"id":54,"date":"2006-10-18T22:56:05","date_gmt":"2006-10-18T20:56:05","guid":{"rendered":"http:\/\/www.wuenschenswert.net\/wunschdenken\/archives\/54"},"modified":"2006-10-23T08:25:14","modified_gmt":"2006-10-23T06:25:14","slug":"if-its-slow-just-add-a-cache","status":"publish","type":"post","link":"http:\/\/www.wuenschenswert.net\/wunschdenken\/archives\/54","title":{"rendered":"If it&#8217;s slow, just add a cache"},"content":{"rendered":"<p>&#8220;Rails has this wonderful caching system that compensates for Ruby\u2019s slow execution speed called \u201cpage caching\u201d and \u201cfragment caching\u201d.  Rails uses this to transfer the actual web traffic from Rails to the web server itself. [&#8230;] Because of this a Rails application many times can outperform similar applications in Java or PHP.&#8221;<br \/>\n<a href=\"http:\/\/www.oreillynet.com\/ruby\/blog\/2006\/05\/post.html\">Zed on Ruby, Rails, Mongrel, and More &#8211; O&#8217;Reilly Ruby<\/a><\/p>\n<p>funny&#8230; Mr.Zed describes exactly the reason why some eight years ago, the CoreMedia Generator &#8482; was designed the way it is. The only difference being that the immature and slow language at the time was Java. <\/p>\n<p>Just like Apple kept arguing &#8220;we don&#8217;t need fast CPUs because what you want works fast enough&#8221;, until they finally solved their performance problem.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;Rails has this wonderful caching system that compensates for Ruby\u2019s slow execution speed called \u201cpage caching\u201d and \u201cfragment caching\u201d. Rails uses this to transfer the actual web traffic from Rails to the web server itself. [&#8230;] Because of this a Rails application many times can outperform similar applications in Java or PHP.&#8221; Zed on Ruby, &hellip; <a href=\"http:\/\/www.wuenschenswert.net\/wunschdenken\/archives\/54\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;If it&#8217;s slow, just add a cache&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[6],"tags":[],"_links":{"self":[{"href":"http:\/\/www.wuenschenswert.net\/wunschdenken\/wp-json\/wp\/v2\/posts\/54"}],"collection":[{"href":"http:\/\/www.wuenschenswert.net\/wunschdenken\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.wuenschenswert.net\/wunschdenken\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.wuenschenswert.net\/wunschdenken\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.wuenschenswert.net\/wunschdenken\/wp-json\/wp\/v2\/comments?post=54"}],"version-history":[{"count":0,"href":"http:\/\/www.wuenschenswert.net\/wunschdenken\/wp-json\/wp\/v2\/posts\/54\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.wuenschenswert.net\/wunschdenken\/wp-json\/wp\/v2\/media?parent=54"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.wuenschenswert.net\/wunschdenken\/wp-json\/wp\/v2\/categories?post=54"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.wuenschenswert.net\/wunschdenken\/wp-json\/wp\/v2\/tags?post=54"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}