Garry Hill

Results 23 comments of Garry Hill

> > the connection resolver treats it as a hostname and tries to connect over ipv6. > > Does this only happen when `ELECTRIC_DATABASE_USE_IPV6` is set to `true`? Yes

> hey, this looks nice! Would love to see the performance of this with our benchmarks. Particularly interested in knowing how it handles lots of shapes and lots of writes...

@icehaunter I encountered something similar. I think the following code fixed it: ```elixir def repeatable_read_transaction(fun) do transaction( fn -> query!("SET TRANSACTION ISOLATION LEVEL REPEATABLE READ READ ONLY", []) query!("SET LOCAL...

This is implemented as`Phoenix.Sync.Writer` here: https://github.com/electric-sql/phoenix_sync/pull/14

Implemented here: https://github.com/electric-sql/phoenix_sync/pull/14

@alco you went for it huh. Great stuff - thanks

@msfstef looks like we've been accidentally working on similar problems and arrived at similar solutions https://github.com/electric-sql/electric/pull/2672. I'm happy to combine them once this is ready

Can I suggest an alternative approach? In my experiments, I allowed for a form of compaction by replacing a single snapshot followed by a single operations log with the ability...

@kevin-dp > That means we will need to keep a range-addressable index of LSNs to snapshots such that when somebody comes in with a given LSN we know which snapshot...

@msfstef > I suppose if you throw out the old log and start collecting the new one based on the xmin of the new snapshot that would work but I'm...