PehromGroup
How this product is built
These notes explain the rules the software follows and the cost of breaking them. They are written for a reader who has to run a business on this system, not only for another programmer.
- One module, one databaseOne database per module is slower to set up and safer to run. What separation buys, what it costs, and how to tell whether it is real.
- The record of what happenedWho did what, when, to which record and why: the shape of an audit row, why it is append-only, and why logs are files rather than rows.
- One rule, one ownerTwo implementations of one rule always drift. What the server owns, what the client is allowed to do, and how a refusal reaches the screen.
- A release you can find againEvery release here writes down the build it came from and the commit it carries. What that record holds, why a deploy is four steps and not one, and what it costs to keep it true.
- The key stays on the serverA browser bundle is a public file. Why no key, password or signing secret is in it, what the server decides instead, and the checks that keep the page honest.
- A file you can read in one sittingThe line count is a signal, not the rule. What a large file hides, the three questions that decide a split, and the effort a small file saves a year later.
If a decision here affects your own system, bring the question to the first conversation.
Start a conversation