> For the complete documentation index, see [llms.txt](https://shoppinpal.gitbook.io/docs-shoppinpal-com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://shoppinpal.gitbook.io/docs-shoppinpal-com/9.-queues-and-workers/gearman.md).

# Gearman

## What is Gearman?

<http://gearman.org/>

## Can I find or create a dockerized environment to play with gearman?

You can use github code search to find something suitable or collect clues on how to create your own.

For example, here are some **curated** results from a search on - [gearman filename:docker-compose.yml](https://github.com/search?utf8=✓\&q=gearman+filename%3Adocker-compose.yml\&type=Code).

* A [repo](https://github.com/EvaEngine/Dockerfiles) with lots of votes
* A [repo](https://github.com/thinkspill/weather-api) that might use gearman with a real world usecase: `Weather API proxy deployed as a set of docker containers.` Therefore it may be good for learning about how to use gearman.
* A [repo](https://github.com/cbrews/qstate) that might use gearman with a real world usecase: `A multi-container state queue as a service web API.` Therefore it may be good for learning about how to use gearman.
* A [repo](https://github.com/z7zmey/docker) that has gearman and the words `cli-consumer-php` which seems somewhat interesting to explore because our team has previously built CLI based PHP workers for AWS EBS.
* A [repo](https://github.com/dsaouda/docker-gearman) which has scripting instructions in [`docker-entrypoint.sh`](https://github.com/dsaouda/docker-gearman/blob/master/docker-entrypoint.sh) which seem quite important for setting up gearman in a much more robust fashion than anyone else has before.

**Disclaimer**: The search yielded 5 pages of results, as of this writing, we only looked at the first 2 pages and not the remaining ones!


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://shoppinpal.gitbook.io/docs-shoppinpal-com/9.-queues-and-workers/gearman.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
