<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Stefano Di Cecco</title>
    <description>The latest articles on DEV Community by Stefano Di Cecco (@stefano_dicecco).</description>
    <link>https://dev.to/stefano_dicecco</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3902066%2F73b03936-5603-4117-8a08-40b06e04a1ef.jpg</url>
      <title>DEV Community: Stefano Di Cecco</title>
      <link>https://dev.to/stefano_dicecco</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/stefano_dicecco"/>
    <language>en</language>
    <item>
      <title>I built a local secret scanner</title>
      <dc:creator>Stefano Di Cecco</dc:creator>
      <pubDate>Mon, 09 Nov 2026 10:29:26 +0000</pubDate>
      <link>https://dev.to/stefano_dicecco/i-built-a-local-secret-scanner-dog</link>
      <guid>https://dev.to/stefano_dicecco/i-built-a-local-secret-scanner-dog</guid>
      <description>&lt;p&gt;I keep finding API keys in repositories that were supposed to be private. Sometimes the key is in the current code. More often it is in a commit from months ago, deleted later, and still reachable through git log. So I built SecretSentinel: a small Python CLI that scans your working tree, your staged changes and your git history for hard-coded credentials.&lt;/p&gt;

&lt;p&gt;Repository: &lt;a href="https://github.com/macorifice/secretsentinel" rel="noopener noreferrer"&gt;github&lt;/a&gt;&lt;br&gt;
Package: &lt;a href="https://pypi.org/project/secretsentinel/" rel="noopener noreferrer"&gt;pypi&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Install and run&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip &lt;span class="nb"&gt;install &lt;/span&gt;secretsentinel

secretsentinel scan              &lt;span class="c"&gt;# working tree (tracked and untracked, respecting .gitignore)&lt;/span&gt;
secretsentinel scan &lt;span class="nt"&gt;--staged&lt;/span&gt;     &lt;span class="c"&gt;# only lines you are about to commit&lt;/span&gt;
secretsentinel scan &lt;span class="nt"&gt;--history&lt;/span&gt;    &lt;span class="c"&gt;# every added line in the commit history&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The exit code is 1 when something is found and 0 otherwise, so a CI job fails on a leak. Reports can be a console table, JSON, or SARIF 2.1.0 for GitHub code scanning:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;secretsentinel scan &lt;span class="nt"&gt;--format&lt;/span&gt; sarif &lt;span class="nt"&gt;--output&lt;/span&gt; results.sarif
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Why history matters&lt;/strong&gt;&lt;br&gt;
A secret deleted in the latest commit is not gone.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;--history
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;checks every added line across all refs, and reports the commit where the secret appeared:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;secrets.py:1:8 (commit 3f9a1c2b4d5e): [critical] aws-access-key-id: AKIA...VB (20 chars)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Rotating the key is still the real fix. The scan tells you where to look.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Design choices&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Local only. The scanner makes no network calls. It never checks whether a secret is still valid.&lt;/li&gt;
&lt;li&gt;No full secrets in output. Reports show a short preview and the length. JSON and SARIF hold a SHA-256 digest instead of the value.&lt;/li&gt;
&lt;li&gt;Rules are YAML. Each rule has an ID, a regex, a severity, a CWE, and an optional entropy threshold. The regex’s first capture group is the candidate secret, so entropy is measured on the secret and not on the text around it.&lt;/li&gt;
&lt;li&gt;Allowlist by digest. An accepted finding can be excluded by its SHA-256 digest, so the allowlist file never contains the secret.&lt;/li&gt;
&lt;li&gt;Ignore file. .secretsentinelignore skips paths, such as test fixtures.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A pre-commit hook is included, so the scan can block a commit before the secret reaches the repository:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;repos&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;repo&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;local&lt;/span&gt;
    &lt;span class="na"&gt;hooks&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
      &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;id&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;secretsentinel&lt;/span&gt;
        &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;SecretSentinel&lt;/span&gt;
        &lt;span class="na"&gt;entry&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;secretsentinel scan --staged&lt;/span&gt;
        &lt;span class="na"&gt;language&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;system&lt;/span&gt;
        &lt;span class="na"&gt;pass_filenames&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;
        &lt;span class="na"&gt;types&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="pi"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;text&lt;/span&gt;&lt;span class="pi"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;What it does not do yet&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This is v0.1, and it is pre-alpha. Be aware of these limits:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Detection is regex and entropy based. Expect false positives, and tune the rules and the allowlist for your project.&lt;/li&gt;
&lt;li&gt;Git history is loaded in memory. On very large repositories, use --max-commits.&lt;/li&gt;
&lt;li&gt;It does not validate keys against the provider. That is intentional, to keep the tool offline, but it means you still have to judge which findings are live.&lt;/li&gt;
&lt;li&gt;The built-in rules cover common providers: AWS, GitHub, Google, Slack, Stripe, private keys, and generic password and API key assignments. Your own patterns go in a rules file with --rules-file.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Other tools&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Gitleaks (MIT, Go) and TruffleHog (AGPL-3.0, with verification of live secrets) are mature and widely used. SecretSentinel is a smaller Python tool. Its goal is to be easy to read and extend, with a simple YAML rule format and a small codebase. If you already use Gitleaks, keep using it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Contributing&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The project is Apache-2.0 licensed. Issues and pull requests are welcome. The &lt;a href="https://github.com/macorifice/secretsentinel/blob/main/CONTRIBUTING.md" rel="noopener noreferrer"&gt;CONTRIBUTING.md&lt;/a&gt; explains the layout and how to add a rule. To report a vulnerability in SecretSentinel, use the private reporting option described in &lt;a href="https://github.com/macorifice/secretsentinel/blob/main/SECURITY.md" rel="noopener noreferrer"&gt;SECURITY.md&lt;/a&gt;, not a public issue.&lt;/p&gt;

&lt;p&gt;If you try it on a real repository and it finds something, or misses something, open an issue. That feedback is what the next version needs.&lt;/p&gt;

</description>
      <category>security</category>
      <category>python</category>
      <category>opensource</category>
      <category>devops</category>
    </item>
    <item>
      <title>From a requirement to a Jira issue, with an MCP server</title>
      <dc:creator>Stefano Di Cecco</dc:creator>
      <pubDate>Sat, 24 Oct 2026 12:19:44 +0000</pubDate>
      <link>https://dev.to/stefano_dicecco/from-a-requirement-to-a-jira-issue-with-an-mcp-server-2627</link>
      <guid>https://dev.to/stefano_dicecco/from-a-requirement-to-a-jira-issue-with-an-mcp-server-2627</guid>
      <description>&lt;p&gt;Product notes usually live in a chat, requirements in a document, and the backlog in Jira. Nothing connects them, so the same decisions get made three times and the reasons get lost on the way.&lt;/p&gt;

&lt;p&gt;I built &lt;a href="https://github.com/macorifice/yeti" rel="noopener noreferrer"&gt;Yeti&lt;/a&gt;, an open-source MCP server that lets Claude run a product design from the problem to a verified scope, and then hand the result to Jira. This post walks through one example project, Mastro, which covers quotes for independent craftsmen.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fnz0r87rpfgbo72xk8ode.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fnz0r87rpfgbo72xk8ode.gif" alt="Yeti case study: from requirements to Jira" width="800" height="498"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What Yeti does&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A project moves through five phases, in order:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Discovery&lt;/strong&gt;: the problem, the users and the goal.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Definition&lt;/strong&gt;: requirements with a MoSCoW priority, and user stories linked to them.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Prioritisation&lt;/strong&gt;: RICE scores for the ideas.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Flows&lt;/strong&gt;: Mermaid diagrams, with Yes and No branches.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Verification&lt;/strong&gt;: every must requirement is done and covered by a user story.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;In &lt;em&gt;strict&lt;/em&gt; mode, a phase advances only when it is complete. When it is not, Yeti says exactly what is missing. That is the part I care about most: the project does not look finished while it is not.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Mastro example&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Create the project.&lt;/strong&gt; The problem, the users and the goal go into one sentence each. Yeti puts the project in the discovery phase.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Requirements and stories.&lt;/strong&gt; Four musts: dictating quote lines on site, sending the quote, a customer register, and numbering with a PDF. Each must gets a user story with two or three acceptance criteria, linked to the requirement it covers.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Prioritisation.&lt;/strong&gt; RICE orders the ideas: reach, impact, confidence and effort. Yeti sorts the scores; it does not estimate them. The numbers in the example are illustrative.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Flow.&lt;/strong&gt; A diagram of how a quote is accepted, with a decision point for the customer and a branch for a quote that needs editing.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Verification.&lt;/strong&gt; While a must has no story, or is not done, the project cannot close. This is the step that catches gaps before they reach a developer.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Preview and send to Jira.&lt;/strong&gt; A dry run lists the issues without writing anything. Then the send creates a Task for each requirement and a Story for each user story. MoSCoW maps to Jira priority: Highest, High, Medium and Low. Sending again skips the items already created, so there are no duplicates.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Keep the status in sync.&lt;/strong&gt; When an issue is marked done in Jira, the matching item is marked done in Yeti. Jira stays the place where the team tracks the work.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;A dashboard you can keep open&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Yeti includes a local, read-only dashboard. It shows the phase of each project, what is missing to move on, which musts have a story, the criteria progress, the RICE scores and the flows. It refreshes by itself, so you can see the effect of a change while you are talking to Claude.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What it does not do&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Yeti does not estimate effort, and it is not a task board. Execution stays in Jira, and the estimates are your responsibility. I think that split is the right one: design decisions are easier to review in a structured form, and the team keeps the tool it already uses to build.&lt;br&gt;
I should be clear about the example. The RICE values, the flow and the acceptance criteria come from a simulated run, not from a real project that was built. The point of the example is the workflow, not the numbers.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Try it&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;You need Node.js 22.13 or later:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;npx -y yeti-mcp&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Add it to Claude Desktop, and the tools appear in any chat. Jira is optional; it needs three environment variables, documented in the README.&lt;/p&gt;

&lt;p&gt;The phase rules and the Jira mapping are the parts I most want feedback on. If you try it, an issue on the repository is the best place to say what worked and what did not.&lt;/p&gt;

</description>
      <category>mcp</category>
      <category>productivity</category>
      <category>ai</category>
      <category>webdev</category>
    </item>
    <item>
      <title>How to Build a Scalable AI Pipeline</title>
      <dc:creator>Stefano Di Cecco</dc:creator>
      <pubDate>Tue, 28 Apr 2026 09:54:38 +0000</pubDate>
      <link>https://dev.to/stefano_dicecco/how-to-build-a-scalable-ai-pipeline-4fd4</link>
      <guid>https://dev.to/stefano_dicecco/how-to-build-a-scalable-ai-pipeline-4fd4</guid>
      <description>&lt;p&gt;🚀 &lt;strong&gt;Introduction&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Building AI systems is easy.&lt;br&gt;
Building scalable AI pipelines in production is where things break.&lt;/p&gt;

&lt;p&gt;In this post, I’ll walk through a real-world architecture for processing AI jobs asynchronously — the kind you need when:&lt;/p&gt;

&lt;p&gt;workloads are heavy (GPU / CPU intensive)&lt;br&gt;
requests spike unpredictably&lt;br&gt;
processing can take minutes (or more)&lt;/p&gt;

&lt;p&gt;No toy examples. This is based on real production constraints.&lt;/p&gt;

&lt;p&gt;🧩 &lt;strong&gt;The Problem&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Let’s say you need to:&lt;/p&gt;

&lt;p&gt;upload an audio file&lt;br&gt;
run transcription (e.g. Whisper-like models)&lt;br&gt;
store results&lt;br&gt;
handle multiple requests in parallel&lt;/p&gt;

&lt;p&gt;Naive approach:&lt;/p&gt;

&lt;p&gt;Client → API → AI processing → Response&lt;/p&gt;

&lt;p&gt;👉 This breaks immediately:&lt;/p&gt;

&lt;p&gt;timeouts&lt;br&gt;
no scalability&lt;br&gt;
no retry logic&lt;br&gt;
expensive blocking&lt;/p&gt;

&lt;p&gt;🏗️ &lt;strong&gt;The Scalable Architecture&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Here’s the pattern that actually works:&lt;/p&gt;

&lt;p&gt;Client → API → Queue → Worker → Storage → Result API&lt;br&gt;
Core components:&lt;br&gt;
API (job creation)&lt;br&gt;
Queue (decoupling)&lt;br&gt;
Worker (AI processing)&lt;br&gt;
Storage (input/output)&lt;br&gt;
Job status tracking&lt;/p&gt;

&lt;p&gt;🔧 Example Stack&lt;/p&gt;

&lt;p&gt;You can implement this with:&lt;/p&gt;

&lt;p&gt;Amazon Web Services (S3, SQS, EC2 / Batch)&lt;br&gt;
or Google Cloud equivalents (GCS, Pub/Sub, Cloud Run)&lt;/p&gt;

&lt;p&gt;📥 &lt;strong&gt;&lt;em&gt;Step 1 — Job Creation API&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Client uploads file → API creates a job:&lt;/p&gt;

&lt;p&gt;POST /jobs&lt;/p&gt;

&lt;p&gt;&lt;code&gt;{&lt;br&gt;
  "file": "audio.wav"&lt;br&gt;
}&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;What happens:&lt;/p&gt;

&lt;p&gt;file uploaded to storage&lt;br&gt;
job created (status: PENDING)&lt;br&gt;
message sent to queue&lt;/p&gt;

&lt;p&gt;📬 &lt;strong&gt;&lt;em&gt;Step 2 — Queue (Decoupling Layer)&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Queue is critical.&lt;/p&gt;

&lt;p&gt;It:&lt;/p&gt;

&lt;p&gt;absorbs traffic spikes&lt;br&gt;
prevents overload&lt;br&gt;
enables retries&lt;/p&gt;

&lt;p&gt;Without it → system collapses under load.&lt;/p&gt;

&lt;p&gt;⚙️ &lt;strong&gt;&lt;em&gt;Step 3 — Worker (The Real Engine)&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Worker pulls jobs from queue:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;while(true):&lt;br&gt;
  job = queue.receive()&lt;br&gt;
  process(job)&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Processing includes:&lt;/p&gt;

&lt;p&gt;download file&lt;br&gt;
run AI model&lt;br&gt;
store result&lt;br&gt;
update job status&lt;/p&gt;

&lt;p&gt;🧠 AI Processing (Example)&lt;/p&gt;

&lt;p&gt;Here you plug your model:&lt;/p&gt;

&lt;p&gt;transcription&lt;br&gt;
classification&lt;br&gt;
embeddings&lt;/p&gt;

&lt;p&gt;Important:&lt;br&gt;
👉 workers must be stateless&lt;/p&gt;

&lt;p&gt;So you can scale horizontally:&lt;/p&gt;

&lt;p&gt;1 → 10 → 100 workers&lt;/p&gt;

&lt;p&gt;📊 &lt;strong&gt;&lt;em&gt;Step 4 — Job Status Tracking&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;You need a DB table:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;jobId&lt;/th&gt;
&lt;th&gt;status&lt;/th&gt;
&lt;th&gt;result&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;123&lt;/td&gt;
&lt;td&gt;PROCESSING&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;123&lt;/td&gt;
&lt;td&gt;DONE&lt;/td&gt;
&lt;td&gt;{...}&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Statuses:&lt;/p&gt;

&lt;p&gt;PENDING&lt;br&gt;
PROCESSING&lt;br&gt;
DONE&lt;br&gt;
FAILED&lt;/p&gt;

&lt;p&gt;📤 &lt;strong&gt;&lt;em&gt;Step 5 — Result Retrieval&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Client polls:&lt;/p&gt;

&lt;p&gt;GET /jobs/{id}&lt;/p&gt;

&lt;p&gt;Returns:&lt;/p&gt;

&lt;p&gt;status&lt;br&gt;
result (if ready)&lt;/p&gt;

&lt;p&gt;🔥 Scaling Strategy&lt;/p&gt;

&lt;p&gt;Scaling is simple:&lt;/p&gt;

&lt;p&gt;more jobs → queue grows&lt;br&gt;
more workers → faster processing&lt;/p&gt;

&lt;p&gt;👉 No need to scale API aggressively&lt;/p&gt;

&lt;p&gt;⚠️ Real-World Problems (You Will Hit)&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Jobs stuck in queue → misconfigured workers&lt;/li&gt;
&lt;li&gt;GPU not available → wrong instance / environment&lt;/li&gt;
&lt;li&gt;Memory crashes → large models&lt;/li&gt;
&lt;li&gt;Cost explosion → GPU always on&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;💸 Cost Optimization Tips&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;use CPU for small jobs&lt;/li&gt;
&lt;li&gt;spin GPU only when needed&lt;/li&gt;
&lt;li&gt;batch jobs if possible&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;🧠 Key Takeaways&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Never process AI jobs synchronously&lt;/li&gt;
&lt;li&gt;Queue is not optional&lt;/li&gt;
&lt;li&gt;Workers must be stateless&lt;/li&gt;
&lt;li&gt;Scaling happens in workers, not API&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;🚀 Final Thought&lt;/p&gt;

&lt;p&gt;Most AI tutorials stop at “run the model”.&lt;/p&gt;

&lt;p&gt;Real systems require:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;architecture&lt;/li&gt;
&lt;li&gt;resilience&lt;/li&gt;
&lt;li&gt;cost awareness&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;That’s the difference between a demo and production.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>programming</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
