OOM relation to vm.swappiness=0 in new kernel

MySQL Performance Blog

I have recently been involved in diagnosing the reasons behind OOM invocation that would kill the MySQL server process. Of course these servers were primarily running MySQL. As such the MySQL server process was the one with the largest amount of memory…

28 April 2014

Removing unused CSS

Hacker News

It seems as if all web developers are lately aiming at reducing the size of the content delivered to the browser. It is in fact a big challenge and optimizing a web site content delivery might imply a great deal of tweaks and tricks to be successfully…

27 April 2014

How I used Heartbleed to steal a site’s private crypto key

Hacker News

By now everyone knows about the OpenSSL Heartbleed vulnerability: a missing bounds check in one of the most popular TLS implementations has made millions of Web servers (and more) leak all sorts of sensitive information from memory. This can leak login…

27 April 2014

Extending JavaScript Maps (or other built-in objects)

Planet Mozilla

Finally another technical post, this one is about my adventures in attempting to extend the built-in Map object in JavaScript to extend the functionality. As background, there are two reasons we'd want this: 1. In the chat backend we currently use…

27 April 2014

Better JavaScript Promises

Hacker News

If you ever had to port localStorage based code to IndexedDB you have been confronted to Javascript's biggest flaw; its asynchronous system is leaky. Once you have an asynchronous method, every other method that calls it must be asynchronous as well. You…

25 April 2014

Using Facebook Notes to DDoS any website

Hacker News

Facebook Notes allows users to include tags. Whenever a tag is used, Facebook crawls the image from the external server and caches it. Facebook will only cache the image once however using random get parameters the cache can be by-passed and the feature…

25 April 2014

Managing farms of MySQL servers with MySQL Fabric

MySQL Performance Blog

While built-in replication has been a major cause for MySQL’s wide adoption, official tools to help DBAs manage replication topologies have typically been missing from the picture. The community has produced many good products to fill in this gap, but…

25 April 2014

Encrypted and incremental MySQL backups with Percona XtraBackup

MySQL Performance Blog

We’ve recently received a number of questions on how to implement incremental MySQL backups alongside encryption with Percona XtraBackup. Some users thought it was not initially possible because with the default [crayon-5358bbab35256083738255-i/] options…

24 April 2014

TDD is dead. Long live testing.

Hacker News

Test-first fundamentalism is like abstinence-only sex ed: An unrealistic, ineffective morality campaign for self-loathing and shaming. It didn't start out like that. When I first discovered TDD, it was like a courteous invitation to a better world of…

23 April 2014