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
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.
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance








