# spicedb


11/02/2021, 2:27 PM
So the reason we're wanting to do sync at the db level is we have two applications that hit the DB directly, a legacy PHP app and an Elixir microservice ecosystem with React front ends that get embedded in the legacy PHP to write new functionality/port over legacy functionality. So we don't duplicate/fragment the work across PHP and Elixir, I proposed doing sync at the db level using triggers or views (I was noncommittal to the exact nature of db level sync at the time).