1. LLM Application Architecture advanced

    A workspace product adds AI features over user content. Which architectural decisions dominate, and which are commonly deferred at cost?

    2 min answer llm-applicationpermissionslatencycaching
  2. LLM Application Architecture advanced

    An LLM chat product serves millions of multi-turn conversations. How do KV-cache reuse, prefix caching, continuous batching and session affinity change the architecture, and what breaks when a session lands on a different GPU?

    3 min answer character-aikv-cacheprefix-cachinginference
  3. LLM Application Architecture advanced

    The vLLM paper on PagedAttention (SOSP 2023) reports 2 to 4 times the throughput of the then state-of-the-art serving systems at the same latency, with larger gains for longer sequences and more complex decoding, from managing the key-value cache in fixed-size blocks like operating-system pages rather than as one contiguous per-request reservation. Its profiling of existing systems found only roughly 20 to 38% of key-value cache memory holding actual token state. What was the real constraint, what did the change buy, and where would copying the lesson be a mistake?

    3 min answer kv cachepaged attentionmemory fragmentationbatching
  4. LLM Application Architecture advanced

    Zoom publicly describes the architecture behind its AI Companion as a federated approach - its own models used alongside third-party frontier models, with work routed by task rather than every request going to a single provider. What problem does that structure solve that a single-provider design does not, and where would copying it be a mistake?

    3 min answer model-routingmulti-providercostevaluation