CINXE.COM

Zara 4 Blog

<!DOCTYPE html> <html lang="en-US"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <meta name="author" content=""> <title>Zara 4 Blog</title> <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700" rel="stylesheet"> <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet"> <link href="https://zara4.com/css/bootstrap-theme.min.css" rel="stylesheet"> <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> <link rel='dns-prefetch' href='//s.w.org' /> <script type="text/javascript"> window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/2.3\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/2.3\/svg\/","svgExt":".svg","source":{"concatemoji":"http:\/\/blog.zara4.com\/wp-includes\/js\/wp-emoji-release.min.js?ver=4.8.2"}}; !function(a,b,c){function d(a){var b,c,d,e,f=String.fromCharCode;if(!k||!k.fillText)return!1;switch(k.clearRect(0,0,j.width,j.height),k.textBaseline="top",k.font="600 32px Arial",a){case"flag":return k.fillText(f(55356,56826,55356,56819),0,0),b=j.toDataURL(),k.clearRect(0,0,j.width,j.height),k.fillText(f(55356,56826,8203,55356,56819),0,0),c=j.toDataURL(),b!==c&&(k.clearRect(0,0,j.width,j.height),k.fillText(f(55356,57332,56128,56423,56128,56418,56128,56421,56128,56430,56128,56423,56128,56447),0,0),b=j.toDataURL(),k.clearRect(0,0,j.width,j.height),k.fillText(f(55356,57332,8203,56128,56423,8203,56128,56418,8203,56128,56421,8203,56128,56430,8203,56128,56423,8203,56128,56447),0,0),c=j.toDataURL(),b!==c);case"emoji4":return k.fillText(f(55358,56794,8205,9794,65039),0,0),d=j.toDataURL(),k.clearRect(0,0,j.width,j.height),k.fillText(f(55358,56794,8203,9794,65039),0,0),e=j.toDataURL(),d!==e}return!1}function e(a){var c=b.createElement("script");c.src=a,c.defer=c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}var f,g,h,i,j=b.createElement("canvas"),k=j.getContext&&j.getContext("2d");for(i=Array("flag","emoji4"),c.supports={everything:!0,everythingExceptFlag:!0},h=0;h<i.length;h++)c.supports[i[h]]=d(i[h]),c.supports.everything=c.supports.everything&&c.supports[i[h]],"flag"!==i[h]&&(c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&c.supports[i[h]]);c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&!c.supports.flag,c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.everything||(g=function(){c.readyCallback()},b.addEventListener?(b.addEventListener("DOMContentLoaded",g,!1),a.addEventListener("load",g,!1)):(a.attachEvent("onload",g),b.attachEvent("onreadystatechange",function(){"complete"===b.readyState&&c.readyCallback()})),f=c.source||{},f.concatemoji?e(f.concatemoji):f.wpemoji&&f.twemoji&&(e(f.twemoji),e(f.wpemoji)))}(window,document,window._wpemojiSettings); </script> <style type="text/css"> img.wp-smiley, img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1em !important; width: 1em !important; margin: 0 .07em !important; vertical-align: -0.1em !important; background: none !important; padding: 0 !important; } </style> <link rel='https://api.w.org/' href='https://blog.zara4.com/wp-json/' /> <link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://blog.zara4.com/xmlrpc.php?rsd" /> <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://blog.zara4.com/wp-includes/wlwmanifest.xml" /> <meta name="generator" content="WordPress 4.8.2" /> </head> <body class="home blog"> <nav class="navbar navbar-default"> <div class="container"> <div class="navbar-header"> <a class="navbar-brand" href='https://zara4.com' title='Zara 4 Blog' rel='home'> <img src="https://zara4.com/img/logo.png" alt="Zara 4"> </a> <button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#navbar-main"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> </div> <div id="bs-example-navbar-collapse-1" class="collapse navbar-collapse"><ul id="menu-primary" class="nav navbar-nav"><li id="menu-item-103" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-103"><a title="My Account" href="https://zara4.com/account">My Account</a></li> <li id="menu-item-196" class="menu-item menu-item-type-custom menu-item-object-custom current-menu-item menu-item-196 active"><a title="Blog" href="https://blog.zara4.com">Blog</a></li> <li id="menu-item-104" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-104"><a title="Pricing" href="https://zara4.com/pricing">Pricing</a></li> <li id="menu-item-105" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-105"><a title="Docs" href="https://zara4.com/docs">Docs</a></li> </ul></div> </div> </nav> <div class="shadow-curve-top-15 shadow-curve-top-weak after-nav-spacer"></div> <div class="container"> <div class="panel clearfix layout1"> <div class="navigation"> </div> <div class="content" style="min-height: 450px"> <article class="media"> <div class="media-left"> <a href="https://blog.zara4.com/?post_type=post&p=151"> <img class="media-object mr-20" src="http://blog.zara4.com/wp-content/themes/zara4-theme/assets/img/camera-70x70.png" data-holder-rendered="true" style="width: 100px; height: 100px;"> </a> </div> <div class="media-body"> <h2 class="blog-post-title mt-0"><a href="https://blog.zara4.com/?post_type=post&p=151">Laravel Lazy Read/Write Database Connection</a></h2> <div><small><i class="fa fa-calendar mr-5"></i><time datetime="2017-07-08 16:08:55">July 08, 2017</time></small></div> <hr class="dashed mt-5 mb-5"/> <p> <p>Zara 4 is a globally distributed image compression application with image processing servers located around the world. As a result the connection between our servers is often over vast distances with high latency connections between nodes. High latency network connections introduced a number of performance challenges for our service. The problem in a nutshell is [&hellip;]</p> </p> <a href="https://blog.zara4.com/?post_type=post&p=151">Read more</a> <div class="mt-40"> <span style="display: inline-block" class="label label-default">Database</span> <span style="display: inline-block" class="label label-default">Laravel</span> <span style="display: inline-block" class="label label-default">Lazy MySQL</span> <span style="display: inline-block" class="label label-default">MySQL</span> <span style="display: inline-block" class="label label-default">Performance</span> </div> </div> </article> </div> </div> </div> <div class="footer"> <div class="container"> <div class="text-center"> <div class="menu-footer-container"><ul id="menu-footer" class="list-inline"><li id="menu-item-106" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-106"><a title="About us" href="https://zara4.com/about-us">About us</a></li> <li id="menu-item-107" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-107"><a title="Contact us" href="https://zara4.com/contact-us">Contact us</a></li> <li id="menu-item-363" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-363"><a title="FAQs" href="https://faqs.zara4.com">FAQs</a></li> <li id="menu-item-207" class="menu-item menu-item-type-custom menu-item-object-custom current-menu-item menu-item-207 active"><a title="Blog" href="https://blog.zara4.com">Blog</a></li> <li id="menu-item-361" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-361"><a title="News" href="https://news.zara4.com">News</a></li> <li id="menu-item-108" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-108"><a title="Pricing" href="https://zara4.com/pricing">Pricing</a></li> <li id="menu-item-109" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-109"><a title="Terms of use" href="https://zara4.com/terms-of-use">Terms of use</a></li> <li id="menu-item-110" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-110"><a title="Privacy Policy" href="https://zara4.com/privacy-policy">Privacy Policy</a></li> <li id="menu-item-111" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-111"><a title="Attributions" href="https://zara4.com/attributions">Attributions</a></li> </ul></div> </div> </div> <div class="container pt-5"> <div class="text-center copyright-notice"> &copy; 2015 - 2025 <a href="https://zara4.com">Zara 4</a>, All Rights Reserved </div> </div> </div> <!-- DO NOT REMOVE - Overrides WordPress, required for sticky footer in customizer --> <style type="text/css" media="screen"> html { margin-top: 0 !important; } body.customize-support { padding-top: 32px; } </style> <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous"> <script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script> <script> $(function() { $('pre>code').addClass('prettyprint'); }); </script> <script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js"></script> <script type='text/javascript' src='http://blog.zara4.com/wp-includes/js/wp-embed.min.js?ver=4.8.2'></script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10