3 ms·
This... does not seem like separation of concerns. Not to mention that the data layer seems like the one where you want to keep things most deterministic.
by wwweston 8mo ago
This... does not seem like separation of concerns.
Not to mention that the data layer seems like the one where you want to keep things most deterministic.
- noupdates 8mo agoTo decouple this the person would have to broadcast nearly every event and rebuild the observer layers elsewhere.
- thatwasunusual 8mo agoAnd IMO that's what should be done. Don't get me wrong, I like the idea and all that, but this is another pgsql "solution" that is tied to the database layer, when it should be in the application layer. I like to be database agnostic, and while I prefer PostgreSQL on production, I prefer SQLite on the dev layer. You should never have to HAVE TO use a specific database to make your APPLICATION work.
- nkmnz 8mo agoYou could replicate and separate your llm-postgres from the system-of-record-postgres.
- nkmnz 8mo agoIf you really want to run an agent on each created row, you could run this in a replica and stream the replies back to your system of record.