Skip to content

LambdaQueue

Documentation

Schedules and queues without infrastructure

Introduction

WARNING

‼️ Watch out! LambdaQueue is not released to general public yet. While we think most of the stuff you'll find here will be exactly the same in first official version, there are still missing documents and some small changes might show up. Click to get in touch if you see something is missing or incorrect.

LambdaQueue is a serverless platform to handle all your asynchronous jobs and schedules. With our SDKs you should be up and running in minutes, without any databases and backend services. On serverless, or on your self hosted backend.

Here is a quick sample of how your code might look like when using our SDKs.

ts
import lq from '@dayone-labs/lambda-queue-connect'
import express from 'express'

const app = express()
const queue = lq.queue('/some-queue', async (event: { name: string }) => {
  return { message: `Hello, ${event.name}!` }
})

app.use(queue)
app.use(express.json())
app.post('/hello', async (req, res) => {
  await queue.push({ name: req.body.name })
  res.send('OK')
})
app.listen(4444, () => console.log('Listening on port 4444'))

Make sure to check out examples section for more real life examples and use-cases.

How to navigate the docs

Our documentation is split in few sections to help you navigate around. If you're just starting up you should probably visit it all in following order:

  • Quick Start - quickly get up to speed with a basic example
  • Examples - check out common use-cases and how you might implement them.
  • API & Docs - details about available options and APIs.

You might also want to check out overview section to get a grasp on how LambdaQueue ensures that only you can access your endpoints and data. How to encrypt your messages, so anyone else can't access them (not even our tech support). And how to decrypt them in our Admin UI on demand, when you're debugging your application.

You might also be interested in our Sandbox server, that you can use for development or to play with our SDKs.

All examples are licensed under MIT. You can use them for free in your projects.