Debugging MySQL replication lag by diving into the internals | Dark Hacker News