libsql / sqld

LibSQL with extended capabilities like HTTP protocol, replication, and more.
https://libsql.org
903 stars 38 forks source link

Abstract sqld networking #650

Closed MarinPostma closed 1 year ago

MarinPostma commented 1 year ago

This PR aims to abstract networking for sqld so that we can simulate it and start writing tests using turmoil for network simulation.

I took the opportunity to clean up the configuration process and remove useless stuff that accumulated with time.

The --backend flag was removed because it is unused.

The net module contains network abstractions used throughout the crate.

MarinPostma commented 1 year ago

@LucioFranco, merging this to move forward, I can address your points in followups if you want.