---
title: "Guy Warner (@GuyWarner) | Hashnode"
description: "20+ years building PHP/MySQL/AWS SaaS and Laravel in production. Former CTO at Monitorbase. Founder of Eco Moving Utah and Bin X."
url: "https://hashnode.com/@GuyWarner"
---

@GuyWarner

# Guy Warner

@GuyWarner · Salt Lake City, Utah · Joined December 2020

20+ years building PHP/MySQL/AWS SaaS and Laravel in production. Former CTO at Monitorbase. Founder of Eco Moving Utah and Bin X.

[Website](https://guywarner.dev/)

## Comments

[Those who wish had our paychecks with php](https://hashnode.com/posts/php-is-dead-it-shipped-a-new-version-on-thursday-anyway/6b04fe8974b9d97f48aa3748/comment/6b0530c5ed3cc04c9e238378#reply-6b0553333e8b9c18e1e71be3)

Reply · Article · 13h ago · [PHP Is Dead. It Shipped a New Version on Thursday Anyway.](https://hashnode.com/posts/php-is-dead-it-shipped-a-new-version-on-thursday-anyway/6b04fe8974b9d97f48aa3748)

[Good question. Short version: atomic locks. Before: we ran the stock database queue driver with the jobs table in a SingleStore rowstore table. Workers hit table locks, and nodes would lock different rows while only one got returned, so two workers could end up reserving the same job. We first tried loading jobs in random order inside a five minute window. It worked okay, not great. After: we pulled the queue driver into our own class. When a worker finds the next available job, it takes a Laravel atomic cache lock keyed to that job, queue:worker-{job id} for ten minutes, and only gets the job if the lock succeeds. If another worker already holds it, the job is skipped. The lock releases when the job is deleted or released back. Full code is in an older post of mine: https://www.guywarner.dev/laravel-queues-simplifying-queue-management-with-singlestore](https://hashnode.com/posts/when-our-database-got-too-fast/6aeaf0b0e6fe2f6082ca27d6/comment/6aeb369296b01eba2b0103f0#reply-6aecf572b8b7cb134974590d)

Reply · Article · Nov 5 · [When Our Database Got Too Fast](https://hashnode.com/posts/when-our-database-got-too-fast/6aeaf0b0e6fe2f6082ca27d6)

[Sorry for the delay! I have a draft, is there anything in particular that you want to know or see?](https://hashnode.com/posts/using-openai-to-create-a-qa-in-laravelphp-with-embedding/63f2b352b54aaf4577df29c6/comment/6455446657546b122cde6e47#reply-64715d54d8bec2899c4bef35)

Reply · Article · May 27, 2023 · [Using OpenAI to create a Q&A in Laravel/PHP with embedding](https://hashnode.com/posts/using-openai-to-create-a-qa-in-laravelphp-with-embedding/63f2b352b54aaf4577df29c6)

[It does show the per file on requests: It also runs for each commit but has no UI outside of a request which is why we added the manual run](https://hashnode.com/posts/phpstan-in-gitlab/61e5fdee8a425719c17372ff/comment/61e6571cf6d40b3391ad6bbb#reply-61e7107abe5d7633af87e23f)

Reply · Article · Jan 18, 2022 · [PHPStan in GitLab](https://hashnode.com/posts/phpstan-in-gitlab/61e5fdee8a425719c17372ff)
