Old code manually copies table rows across TCP/IP between two devices. Custom pr...

@charette@mstdn.ca

Old code manually copies table rows across TCP/IP between two devices. Custom protocol, socket code written in C. A bit of a mess. If one of the devices is inaccessible, data is forever out of sync. No way exists to restart the sync for missing data.

They should have used simple database replication. Configure it once, and let the DB automatically do what it needs.

I've been tasked with fixing this up. Thinking I should rip it out and use DB replication.

(Things aren't as "simple" as described, there are other moving parts to consider.)