SShortSingh.
Back to feed

Shared Build vs Per-Tenant Deployment: Choosing the Right Angular Multi-Tenant Strategy

0
·10 views

Multi-tenant Angular applications can be architected in two primary ways: a single shared build served across multiple hostnames via edge routing, or a fully independent deployment per tenant with its own artifact and domain. The shared build approach reduces operational complexity by maintaining fewer pipelines and artifacts, while independent deployments offer higher release flexibility, allowing individual tenants to be updated or rolled back without affecting others. Neither model provides automatic security isolation — authorization, data filtering, and identity validation must be enforced at the backend regardless of the deployment pattern. Key operational considerations include cache key management for tenant-specific content, handling Angular Router deep links at the CDN level, and ensuring the backend validates tenant identity rather than trusting browser-supplied hostnames. Platforms such as AWS CloudFront and Cloudflare Pages can support both models, and the right choice depends on the operational boundaries a team needs to enforce.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

LangBot Lets You Deploy Kimi K3 Across Discord, Slack, Telegram and LINE

Moonshot launched Kimi K3 on July 22, 2026, describing it as its most capable AI model, featuring native vision support and a one-million-token context window. The open-source LangBot framework allows developers to connect Kimi K3 to multiple messaging platforms — including Discord, Slack, Telegram, and LINE — through a single unified pipeline. LangBot separates the model configuration, conversation pipeline, and platform-specific bot connections into three independent layers, eliminating the need to rebuild webhooks or integrations when switching channels. Developers can self-host LangBot via Docker, configure Kimi K3 using Moonshot's API, and gradually add features such as memory, retrieval-augmented generation, and agent tools before going live. The same pipeline can be assigned to multiple bots simultaneously, letting one Kimi K3 setup serve several communities while keeping platform credentials isolated.

0
ProgrammingDEV Community ·

Queryable Executables Embed AI and Data Capabilities Directly Into Applications

Queryable executables are a software design approach that embeds database querying, analytics, and decision-making capabilities directly into applications, removing reliance on external systems. Tools like SQLite and platforms such as Redbean and Querio enable real-time data access, natural language queries, and automated decisions within a single executable. This model reduces development complexity, lowers costs, and improves performance in low-resource or privacy-sensitive environments by keeping data local. North America currently leads adoption, representing 35 percent of global usage, though smaller organizations face barriers including skill gaps and implementation costs. As the approach grows more widespread, security risks from malicious embedded scripts are also rising, prompting platforms like Stairwell to offer pre-deployment executable analysis and integrity verification.

0
ProgrammingDEV Community ·

AI Tool Proposed to Help APAC Workers Understand Legal Documents in Local Languages

A developer participating in Google's Gen AI Academy APAC Edition has proposed a multilingual AI assistant aimed at helping daily-wage workers, migrant laborers, and small business owners in the Asia-Pacific region navigate complex legal paperwork. The tool would allow users to upload a photo of a document or submit a voice query, receiving plain-language explanations in their local dialect. It leverages Google's Gemini API for document analysis, Cloud Translation API for regional language conversion, and Text-to-Speech to deliver audio summaries for users with limited literacy. The initiative targets a widespread problem where language and literacy barriers leave vulnerable workers exposed to unfair contracts, missed government benefits, and unresolved workplace grievances. The project is currently at the concept stage, with the developer aiming to build a functional version through the Gen AI Academy program.

0
ProgrammingDEV Community ·

How to Handle ACH Return Codes Programmatically in Payout Systems

ACH return codes, defined by Nacha, are standardized signals (R01–R85) that explain why a bank payment has failed, covering issues from insufficient funds to unauthorized transactions. Payment processors receive these returns in batches, typically one to two business days after the original transaction, making timely reconciliation logic essential. Developers can categorize return codes into permanent failures, temporary failures, and disputes, and automate responses such as retrying, escalating to a risk team, or prompting customers to update their bank details. A daily reconciliation job that queries the processor's API, matches returns to pending payouts by trace number, and triggers downstream workflows is recommended best practice. For recipients with high return rates, alternative payment rails like RTP or Visa Direct offer faster failure detection, albeit at a higher cost than ACH's typical $0.25 per transaction.