Always use user-defined functions (UDFs). Compile only Login keys into clients. Compute on your data, don’t load data to compute. Hold onto your read access patterns loosely. Model your data as relational documents. Beware the single document hot write. Locks are an anti-pattern.
business logic • Write once, run across every client, including GraphQL! • Solving all the other problems in this workshop becomes simpler with UDFs • Composition • Wrap even the simplest call to Create or Delete in a UDF Always use UDFs
privilege • Clients can call a Login UDF • Sometimes they can also register a user • Every other permission is denied • Clients receive temporary tokens after logging in Compile only Login keys into clients