SShortSingh.
Back to feed

DataFusion on the Apple Silicon GPU: One Optimizer Rule, the Same SQL, Sorts 6.9x to 28.8x Faster

0
·1 views

Apache DataFusion will run a physical optimizer rule you hand it, after its own. The rule sees the finished physical plan and may replace any node with an operator of its own; DataFusion runs what comes back and never looks at the SQL again. ArrowMetal 0.4.0, released on 2 October, is one such rule for the Apple silicon GPU, the Rust crate datafusion-arrowmetal. Register it on a SessionContext and EXPLAIN shows a MetalExec where SortExec was. The SQL is unchanged, the answer is DataFusion's, and a report says which nodes it took, which it left, and why.

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 ·

My Server Files Its Own Tickets, Then Waits for My Signature to Heal Itself

This is a submission for the Sanity Challenge, Path Two: Vibe-Code Something Strange Servers crash at 3 AM. A human wakes up, SSHs in, types systemctl restart, and goes back to sleep. I wondered if the ticket could do that work instead. Ops Brain is a server that files its own incident reports in Sanity and heals itself, but only after a human approves. The loop: A small Python agent watches my Ubuntu machine.

0
ProgrammingDEV Community ·

Telegram-бот с ИИ для заявок: архитектура без лишнего

Типичный запрос малого бизнеса: «Хочу бота, который отвечает клиентам и собирает заявки». Если строить с нуля, легко переусложнить. Разберём минимальную рабочую схему и где в ней место языковой модели. Меню, кнопки, сбор контактов, пересылка заявки менеджеру. Здесь ИИ не нужен вообще: сценарий до 10 веток описывается заранее, работает предсказуемо и дёшево.

0
ProgrammingDEV Community ·

Notification Cost Attribution: Structured JSON API Logs for Small SaaS

For a small SaaS app, keep one compact, structured delivery outcome per attempt in the searchable logging service, and move verbose diagnostic context out of that tier before shortening retention. The dominant cost is usually determined by multiplication: attempts per day, bytes per event, indexed-field overhead, and retained days. A simple service is one whose bill can be assigned to a tenant, channel, and outcome without putting message bodies or exception dumps into every record. TL;DR: start with a byte budget and an event budget, not a dashboard tour. Preserve the fields needed to count a

0
ProgrammingDEV Community ·

SaaS App Health Monitoring: Forensic Evidence for Silent Node Cron Jobs

Make every Node.js SaaS app import emit durable completion evidence, then make uptime monitoring alert on its absence only after the expected delivery window. The deciding constraint is incident reconstruction: a green web health endpoint can prove that the app answers requests, but it cannot prove that yesterday's customer-support import fetched records, committed them, and made them searchable. Short answer: for a Node.js SaaS app with US and EU users, combine external uptime health checks with a separate cron missed-run detector; record one terminal event for every scheduled import and page