How to use beanstalkd as worker component for my app ?

Posted May 23, 2021 309 views
PHPAPIDigitalOcean App Platform

Hello there,

We have developed a Lumen REST API. We use beanstalkd for queues on the local workstation. So we decided to use the App Platform for the production stage. We have a service for the Lumen code from Github, a dev PostgreSQL for the database but we don’t how to use beanstalkd for the queues. Should we use a worker, a service ?
Any help please?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hello @castorruffy

The beanstalkd can be added as a worker component for queues in general. If there is HTTP routing then only consider it to deploy as a service component.

Here’s the documentation which might help you in understanding it better: