#Outbox

2025-06-08

New post: PostgreSQL + Outbox Pattern Revamped — Part 1

dev.to/msdousti/postgresql-out

Mitigate 6 categories of incidents, revamp the outbox pattern, and boost its performance hugely!

spla :fed: :vim:spla@mastodont.cat
2025-02-04

Em sembla que ja funciona com cal, ja fa el paginat de tots els tuts del compte consultat.

codeberg.org/spla/appy/commit/

#appy #outbox

Outbox paginat d'un compte ActivityPub:

& C  https://appy.cat/users/appy/outbox i

"@context": "https://www.w3.o0rg/ns/activitystreams",

"id": "https://appy.cat/users/appy/outbox",

"type": "OrderedCollection",

"totalItems": 116,

"first": "https://appy.cat/users/appy/outbox?page=true",

"last": "https://appy.cat/users/appy/outbox?min_id=@&page=true" 1
2025-02-02

Паттерн Transactional Outbox

Какую потенциальную проблему видите в коде? Каким способом ее решить? Нужно ли вообще ее решать? Все зависит от требований к системе, конечно, поэтому принимать решения предстоит именно вам. Transactional Outbox — паттерн, который могут не знать даже Senior разработчики.

habr.com/ru/articles/878790/

#transactional_outbox #атомарность #согласованность #идемпотентность #транзакции #программирование #outbox

#Mastodon には、自分の投稿を #アーカイブ として #エキスポート する機能があります。ダウンロードで手に入れられますので、サーバーからの転送等の操作が必要なく、便利です。

#zip ( #tarファイルのこともあった)を解凍すると、
#outbox.json に投稿のテキストファイルがあり、添付のメディアファイルは、
#media_attachments
に収められています。

#outbox.json の投稿記録と #media_attachments の添付ファイル(イメージ系、動画、オーディオは含まず)を合体した投稿履歴が見れる、#Java アプリが、おおよそ完成しました。(自分用には十分な程度。人様が使うにはもう少し使い勝手を考えないと)

結構、ロジックの組み立てで、間違ったところがあり時間が掛かりました。

ご興味があれば、お知らせください。

#prattohome

#Mastodon には、自分の投稿を #アーカイブ として #エキスポート する機能があります。ダウンロードで手に入れられますので、サーバーからの転送等の操作が必要なく、便利です。

#zip ( #tarファイルのこともあった)を解凍すると、
#outbox.json に投稿のテキストファイルがあり、添付のメディアファイルは、
#media_attachments
に収められています。

outbox.json ファイルで、なぜか、「”」引用符を「¥」でエスケープしている箇所があります。結構邪魔なので #Java で取ろうとして、String.replaceAll("¥¥","") をしたらコンパイルエラーに。色々探して、String.replaceAll("¥¥¥¥","") としたら目標達成。4つも「¥」も必要。

なんのまじない???結構調べないと出て来ませんでした。

#prattohome

rmoff 🏃🏻 🍺 🥓rmoff@data-folks.masto.host
2024-10-23

🎈[Adopt] #dbt continues as an "Adopt", with lots of love for its support for integration into good engineering practices like unit testing

🧪 [Trial] CAP (github.com/dotnetcore/CAP) is a .NET library for implementing the #Outbox pattern

🧪 [Trial] Unity Catalog (specifically, Databricks' managed version) moves from "Assess" to "Trial"

🔍 [Assess] #FoundationDB

🔍 [Assess] PGLite (github.com/electric-sql/pglite) provides #Postgres in the browser using WASM

2024-06-07

Transactional Outbox: от идеи до open-source

Привет! На связи Миша Меркушин. Я тимлид команды Ruby Platform, ответственной за разработку внутренних библиотек и улучшение архитектуры микросервисов на Ruby в СберМаркете. Эта статья про архитектурный паттерн Outbox и инструмент, который мы создали и итерационно развивали внутри команды и лишь недавно «выпустили» его в мир. Он решает проблему обеспечения надежной и согласованной отправки сообщений из приложения, гарантируя, что сообщение будет отправлено после успешного завершения транзакции базы данных.

habr.com/ru/companies/sbermark

#ruby #outbox #inbox #kafka #sidekiq

Knowledge Zonekzoneind@mstdn.social
2024-05-11

#ITByte: The #Outbox #Pattern is a #Design pattern that ensures that a database or external system update is delivered and published to a messaging system as a single atomic unit.

The idea of this approach is to have an "Outbox" table in the microservice's database.

knowledgezone.co.in/trends/exp

Elisabeth Anderson :bt:velobetty@toot.bike
2024-02-18

Wow, this #Outbox underground storage for bicycles looks amazing! It's just a work in progress and of course will be more than a shed but it'd also be much more secure!

outbox.co.uk/

A paved front garden with a large grey hatch flush with the ground.A paved front garden with a large metal storage area sunk into the ground, the lid open, and two bicycles inside.A metal storage container fitted into the ground with the lid open and two bikes lifted up to ground level from inside.
Fedi:Tagestipp/tröttagestipp@mastodonium.de
2024-02-14

#Fediverse-#Protokoll #ActivityPub

Actor, Inbox, Outbox

Viele Instanzen im #Fediverse unterhalten sich untereinander mit Hilfe des standardisierten Protokolls #ActivityPub. Hierbei werden die einzelnen teilnehmenden Konten (etwa Personen) bei ActivityPub als #Actor bezeichnet. Eine passende Übersetzung wäre vielleicht "Akteur".

Jeder Actor besitzt eine #Inbox und eine #Outbox, also gewissermaßen einen Posteingang und einen Postausgang.

Wichtig für die Kommunikation (zwischen Instanzen) ist hierbei insbesondere eine funktionierende Inbox: An diese werden eingehenden Beiträge und Nachrichten zugestellt.

Fediversale Serversoftware optimiert dies übrigens gern und stellt eine geteilte Inbox (für die Instanz) zur Verfügung, so daß etwas ein Beitrag von Akteur A auf Instanz A nur einmal an Instanz B zugestellt wird, auch wenn mehrere verschiedene Akteure auf Instanz B Akteur A folgen. Die weitere Verteilung kann dann intern auf Instanz B erfolgen.

Infografik, wie ein Akteur (Actor) Nachrichten und Daten an andere Instanzen verschickt (mit dargestellter Inbox und Outbox). (Beschriftung in der Grafik auf Englisch.)

Quelle: https://de.wikipedia.org/wiki/Datei:ActivityPub-tutorial-image.svg
https://upload.wikimedia.org/wikipedia/commons/thumb/4/4a/ActivityPub-tutorial-image.svg/320px-ActivityPub-tutorial-image.svg.png
Franck PachotFranckPachot
2024-01-18

How does your DB scale with and ? shows no bloat and provides predictable performance and size

dev.to/yugabyte/how-yugabytedb

2023-12-25

Calypso: Схема данных MongoDB на Scala

Чтобы применять Domain-Driven Design, DDD Aggregate и Transactional outbox на MongoDB, наша команда создала open source библиотеку calypso для работы с BSON. Публикация для тех, кто стремится к современным практикам разработки и разделяет наше влечение к Scala 3. Готовы к открытиям? Добро пожаловать в мир функционального программирования и надёжной работы с schema-on-read.

habr.com/ru/companies/m2tech/a

#scala #ddd #scala3 #outbox #adt #algebraic_data_types #mongodb #nosql #domain_driven_design #functional_programming

Knowledge Zonekzoneind@mstdn.social
2023-05-08

#ITByte: The #Outbox #Pattern (or Transactional Outbox) helps to publish events reliably.

The idea of this approach is to have an “Outbox” table in the microservice’s database.

knowledgezone.co.in/trends/exp

João Antunesjoaofbantunes
2022-07-27

👋📢📽️ New one sent right into the tubes!
"Outbox meets change data capture - hooking into the Write-Ahead Log (feat. .NET, PostgreSQL & Kafka)"

After messing with Debezium, felt like seeing how we could implement something like that ourselves with .NET 🙂.

youtube.com/watch?v=4rnSzEd9jPI

2018-12-27
i've heard people complaining about Mastodon's Twitter-like client-server API.

had a look at the ActivityPub client-server API spec trying to find any equivalent to fetching statuses https://www.w3.org/TR/activitypub/#outbox and there's just so little there that i don't see how you'd ever build an interoperable client on "actors have an outbox and you can read it… somehow".

am i missing something, or is the W3C that blissfully unconcerned with implementation when it comes to the AP client API?
Morgan Bazalgettehowl@social.zxq.co
2018-03-27
@lain @phenethylamine it actually does support pagination, I just appended the max_id parameter to the URL and it worked. In order to have pagination, it would have to be an OrderedCollectionPage, so that it can provide links for pagination, but it looks like AP strictly wants an OrderedCollection, and it's unclear whether or not a subtype is fine: https://www.w3.org/TR/activitypub/#outbox
https://www.w3.org/TR/activitystreams-vocabulary/#dfn-orderedcollection

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst