feld

feld

Oban.Notifiers.Postgres 8kb limit -- clarification?

The Oban docs state the following regarding Oban.Notifiers.Postgres:

However, it is not as scalable as other notifiers because because each notification requires a separate query and notifications can’t exceed 8kb.

What would it take to exceed this 8kb limit? What exactly is inside the notification payload? Is it the whole Oban job?

Marked As Solved

sorentwo

sorentwo

Oban Core Team

In addition to Oban’s internal use, the notifier is available for use by other application code. All it would take is serializing a large enough map.

The most common Oban driven examples are for oban_met when it hands off the current metrics between nodes or in oban_pro when using the Relay module.

There are many notification payloads, and they’re all kept as small as possible. No notification includes the entire job data. Insert triggers, which are a very frequent notification if you don’t disable them, only include the queue name.

Last Post!

feld

feld

Thanks for clarifying. I was adding some debugging to investigate further and the normal payloads did look very small.

Where Next?

Popular in Questions Top

baxterw3b
Hi guys, i’m new in the Elixir world, and i have to say, that i love it! i’m having some problem to understand anonymous functions with ...
New
stefanchrobot
What’s the safe way to decode a JSON string into a struct? I want to avoid calling String.to_atom. Jason.decode can give me a map with st...
New
Lily
In templates/appointment/index.html.eex: <%= for appointment <- @appointments do %> <tr> <td><%= appoi...
New
Darmani72
If I have a post route which an argument: post /my_post_route/:my_param1, MyController.my_post_handler How would get the post params ...
New
greenz1
I have a phoenix application from which a user can download multiple(5-6) files of size 1MB. I couldn’t find anything related to sending ...
New
WestKeys
Currently suffering from paralysis by [HTTP client] analysis. This is rather unusual in Elixirland as there tends to be consensus on the ...
New
Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New

Other popular topics Top

KronicDeth
Elixir plugin for JetBrain’s IntelliJ Platform (including Rubymine) This is a plugin that adds support for Elixir to JetBrains IntelliJ...
289 36820 110
New
nobody
Hi! In PHP: $_SERVER[‘SERVER_ADDR’] - in Elixir? Searched the docs for ip address and the web, no good results. Thanks!
New
Qqwy
Original source of discussion: This topic on the Pragmatic Programmers’ Functional Web Development with Elixir, OTP, and Phoenix forum. ...
New
ashish173
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
gausby
I asked this very same question on twitter and got some interesting feedback, but I thought it would be a good question to ask here as we...
1207 40165 209
New
TunkShif
This post is an instruction guide to help you setup your Neovim for Elixir development from scratch. It includes general information on h...
274 42715 114
New

We're in Beta

About us Mission Statement