HackerTrans
TopNewTrendsCommentsPastAskShowJobs

ciminelli

no profile record

Submissions

Latest Isn't Always the Greatest: The Dangers of Docker Container Versioning

tableflow.com
3 points·by ciminelli·3 năm trước·1 comments

Show HN: TableFlow – open-source CSV importer written in Go

tableflow.com
3 points·by ciminelli·3 năm trước·1 comments

Show HN: Safe Data Changes in PostgreSQL

github.com
47 points·by ciminelli·3 năm trước·17 comments

Show HN: Trigger Webhooks from Postgres

github.com
8 points·by ciminelli·3 năm trước·0 comments

comments

ciminelli
·3 năm trước·discuss
[dead]
ciminelli
·3 năm trước·discuss
How would you want to actually look at the database diff? Just a summary view of rows that were changed given a certain time period?
ciminelli
·3 năm trước·discuss
We were looking at tooling for snapshotting production data for testing purposes, that use case is interesting to have the diff view based on changes happening from application actions. Would you use it for testing changes or more for debugging production issues?
ciminelli
·3 năm trước·discuss
The trigger will break the message out into chunks of <8k bytes and send them as separate messages with a unique ID and then an EOF once the message is complete. Planning on releasing this change in the next few days.
ciminelli
·3 năm trước·discuss
We're working on and looking into a few different solutions right now:

1. Split the payload into chunks of 8k bytes and send them as separate messages to the server (in progress, will be released in the next few days).

2. Use a new table as an event queue where the trigger will write data and our server will consume it. We do want to incorporate an event queue soon so this approach would solve for that as long as users are ok with the system writing to a new table.

3. Use one of the Postgres logs to stream events instead of LISTEN/NOTIFY.

Let me know if you have thoughts on any of these approaches!
ciminelli
·3 năm trước·discuss
No extensions are required since we're using LISTEN/NOTIFY in the triggers! We haven't tested full backwards compatibility with older versions but are planning on doing that soon.
ciminelli
·3 năm trước·discuss
Yes and great question, right now we are limited to 8000 bytes but are working on an update to handle large payloads via chunking—stay tuned!