Database Sync Design (Day 136)

Total hours: 253.767

Top three:

1) Client side encryption design

Still using Quokka to prototype. Need to encrypt key locally and then submit to the backend.

It’s complicated but makes more sense than directly generating in the backend. This is because going forward there will be several layers of security options ranging from lax, to strict.

Also because I wasn’t able to find a library suitable for Elixir or Phoenix. I don’t have enough understanding to implement or use a library implemented in Erlang.

2) Brower sync

Discovered a UUID concept. This allows secrecy of alot of things from (how many operators exist).

There are some things that still will need to be migrated and managed. One of the biggest things that I’m not looking forward to is having to run some resets and clears as I eventually migrate everything I can to the UUID format.

3) Seeding concept

Migrating and using a different seeding concept from https://community.fly.io/t/how-to-run-seeds-exs-for-elixir-phoenix-app/3591/2 to ensure seeds are always run (requires idempotency which I always set anyway for seeds)


You'll only receive email when they publish something new.

More from KitzuneFiles
All posts