DZone.com Feed
Recent posts on DZone.com
27 Nov 2026, 20:00 by Sandeep Pal
Almost every distributed system ends up with an asynchronous messaging layer. One service publishes an event, several others consume it at their own pace, and the publisher doesn't wait for them. On Google Cloud, that layer is Pub/Sub. On AWS, it's usually two services wired together: SNS for fan-out and SQS for durable queues.
The building blocks are cut differently, and it shows in your code: how you publish, acknowledge, retry, and order messages. This article walks through Pub/Sub in Java, maps it onto SNS and SQS, and shows how MultiCloudJ, an open-source Java SDK from Salesforce, puts both behind one portable API.
27 Nov 2026, 19:00 by Faisal Ashfaq
Disclosure: I build Grokified, an independent OpenAI-compatible gateway for Grok models. I use it below as one example of a provider that sets cache routing for you. It is not affiliated with xAI. Everything else here applies to the xAI API directly, and the same ideas apply to any provider that caches prompt prefixes.
Coding agents are expensive for a structural reason: they resend everything. Every step of a Claude Code, Cline, Aider, or opencode loop sends the system prompt, tool definitions, files read, every tool call and output, and every earlier reply, then adds one more message.
By turn 30 of a debugging session, almost all of each request is text the model has already seen. Prompt caching is how providers stop charging full price for that repetition. It is also easy to defeat by accident. Below: how prefix caching works on the xAI API, what breaks it, how to verify hits, and how to estimate savings from published prices.
27 Nov 2026, 18:00 by Mikhail Marchenko
Every new cluster brings the same chore: copy the registry password into every namespace that pulls private images, and repeat it when the password rotates. Clusters are created dynamically, so the chore never ends, and each copy is one more place where the password can expire or leak.
Kubernetes 1.34+ offers a way out: the kubelet can hand a credential provider plugin the ServiceAccount token of the pod whose image it is pulling, and the plugin swaps it at the registry for short-lived, read-only credentials.
27 Nov 2026, 17:00 by Artur Yolchyan
The thought of granting AI agent permissions to work on your AWS setup might seem scary and dangerous to some and very alluring to others. Traditionally, scripts or predefined sets of actions were used in specific scenarios. Now AI has “reasoning”; whether good or bad, its scope of action might go way beyond scripted limits. It is called AI blast: the number of decisions the agent can make before someone stops it.
What Can Go Wrong?
There are several things that can go wrong. Let's take a look at some of the critical things that can go wrong.
27 Nov 2026, 16:00 by Akhil Sabu
Writing tests and reviewing pull requests both take time. A developer has to cover the normal path, the boundaries, and the exceptions. A reviewer has to understand the context of a change before judging it.
An LLM can take some of that work. Given source code and clear instructions, it can draft unit tests and flag suspicious code in a diff. But the output is only a draft. A generated test may not compile. A finding may be a false positive. A suggested fix may break a business rule.
27 Nov 2026, 15:00 by Prudhvi Kashyap Jamalapuram
Exactly-once semantics is one of the most cited — and most misunderstood — promises in stream processing. This article explains how Apache Flink actually delivers exactly-once guarantees: distributed checkpointing, state backend selection, two-phase-commit sinks, and the operational tuning that separates a working demo from a reliable production pipeline. It also covers the failure modes that show up most often in real deployments and how to configure around them.
What "Exactly-Once" Really Means
Ask five engineers what exactly-once means, and you will get five answers. In Flink, the useful distinction is between processing semantics and end-to-end semantics.
You are receiving this email because you subscribed to this feed at blogtrottr.com. By using Blogtrottr, you agree to our terms.
If you no longer wish to receive these emails, you can unsubscribe from this feed, edit this subscription, or manage all your subscriptions.
|
Comments
Post a Comment