AI & Machine Learning
information system: how data moves without a spreadsheet passed around
Customers, the team and the work sit in one place, with permission by role. The article ties that to the work of a dental clinic, without numbers or clients we do not have.
This guide is general information, not legal, medical, tax or professional advice, and it is not a substitute for reviewing the actual case.
information system is what this article is about, even when the technical tool has another name. For a dental clinic the day looks like this: appointments in a diary, cancellations on WhatsApp, and files that are still partly on paper. Customers, the team and the work sit in one place, with permission by role. You open a customer card, see what was said and what is still open, and update it instead of passing a file around. The AI agent and the WhatsApp bot read and write the same system. Otherwise there are three places and none of them is right. A manager sees the team. A worker sees their own files. A customer does not get inside. We do not build a screen for every whim. First we put in the work that repeats every day. The rest of the article is how a software house builds that without leaving the team with a demo.
Pipelines are contracts between producers and consumers dressed as cron jobs. Reliability means those contracts hold when APIs throttle, schemas creep, and someone redeploys on Friday. Design for partial failure because it is the default at scale.
Land raw data before you trust transforms. Immutable raw zones (object storage with partitioning, append-only logs) let you replay history when business rules change or bugs ship. Processed layers can be rebuilt; raw loss often cannot.
Stage boundaries should be testable units: extract with minimal logic, validate with explicit rules, transform with documented assumptions, load with clear keys. When everything happens in one giant SQL file, failures become archeology.
Idempotency is how you sleep. Natural keys, merge/upsert semantics, and deduplication windows turn “at-least-once” delivery into correct results. Document what “duplicate” means-same event ID, same business key, same file hash-and enforce it consistently.
Backpressure and retries are protocol, not patches. Exponential backoff with jitter prevents thundering herds; DLQs and quarantine tables protect the main flow without hiding pain. Every DLQ item needs tooling: replay, inspect, and dead-letter-to-ticket automation.
Observe pipelines like services. SLAs on freshness (“warehouse current within 30 minutes”), completeness (“row counts within tolerance”), and validity (“null rate thresholds”) beat green checkmarks that ignore silent omission. Anomaly detection on counts often catches broken extracts first.
Schema evolution is social as much as technical. Publish compatibility rules: additive changes first, safe defaults, deprecation windows, and consumer notifications. For events, use schemas (Avro/Protobuf/JSON Schema) with compatibility modes enforced in CI.
Streaming versus batch is a latency and complexity trade. Streaming fits reactive products and fraud; batch fits finance closes and heavy joins. Hybrid Lambda architectures mix both-just ensure you do not double-count at the handoff.
Data quality gates belong in-line, not only in dashboards. Use Great Expectations-style checks or simple SQL assertions at critical joins. Fail fast when invariants break; quarantine when fixes need humans.
Security and privacy travel with data. Minimize PII in lower environments; tokenize where possible; lock down service accounts with least privilege; audit who can replay production feeds. Data exfiltration via analytics exports is a common insider path.
Cost control is real: scanning petabytes for small answers wastes money. Partition pruning, incremental models, clustering, and materialization strategies (dbt snapshots, Iceberg/Delta time travel) keep warehouses responsive without heroic clusters.
In summary: treat pipelines as products-clear stages, immutable inputs, idempotent outputs, observable health, governed schemas, and guarded exits when quality slips. Boring pipelines rarely make headlines; broken ones do.
You can come back from here to a plain conversation: Bring the spreadsheet or the notebook where the truth lives today, even if that is awkward. Whoever signs in in the morning sees what is open without asking in the group. AI agents, an information system and a WhatsApp bot stay the same offer, with human approval, from an official Meta provider.
