Skip to content

Instantly share code, notes, and snippets.

@rponte
Last active September 17, 2025 21:01
Show Gist options
  • Select an option

  • Save rponte/a69b9cf237a81857bfceff6a5b18c09b to your computer and use it in GitHub Desktop.

Select an option

Save rponte/a69b9cf237a81857bfceff6a5b18c09b to your computer and use it in GitHub Desktop.
Content about implementing a database-based queue with SQL, SKIP LOCKED and LISTEN/NOTIFY
@rponte
Copy link
Author

rponte commented Nov 22, 2024

@rponte
Copy link
Author

rponte commented Nov 22, 2024

Mastering SKIP LOCKED in MySQL

Over the past few months, I've been deeply involved in designing a system that pushes MySQL's SKIP LOCKED feature to its limits. This journey revealed several nuances and optimization opportunities that can significantly impact performance. In this post, we'll explore these insights, demonstrating how to reduce lock overhead, optimize schema design, and fine-tune transaction isolation levels to achieve remarkable performance gains.

@rponte
Copy link
Author

rponte commented Mar 3, 2025

@rponte
Copy link
Author

rponte commented Sep 17, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment