惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Google DeepMind News
Google DeepMind News
Apple Machine Learning Research
Apple Machine Learning Research
博客园_首页
爱范儿
爱范儿
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
罗磊的独立博客
M
MIT News - Artificial intelligence
D
Docker
量子位
T
Tailwind CSS Blog
人人都是产品经理
人人都是产品经理
月光博客
月光博客
有赞技术团队
有赞技术团队
J
Java Code Geeks
A
About on SuperTechFans
P
Proofpoint News Feed
Jina AI
Jina AI
Y
Y Combinator Blog
T
The Blog of Author Tim Ferriss
The GitHub Blog
The GitHub Blog
Microsoft Security Blog
Microsoft Security Blog
V
V2EX
GbyAI
GbyAI
F
Fortinet All Blogs

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
I Accidentally Wrote a Filesystem Driver. For a Browser. 🤔
Ekong Ikpe · 2026-05-03 · via DEV Community

Staring at a bug report that makes no sense.

Data gone. No error. No warning. No stack trace. Just… gone.

Your app writing files using the File System Access API — which, by the way, is genuinely one of the most exciting things that's happened to the browser in years. A user picks a folder. You write to it. Clean, native, no server involved. The dream, right?

Except on mobile, the dream has a bad habit of dying quietly.


Here's what was actually happening

The browser process got killed in the background. Completely normal — Android does this all the time when memory gets tight. Writable stream was mid-write when it happened.

No error was thrown. The write just… didn't complete.

And then you start digging. And you realize — this isn't a bug you can patch. It was a category of problem.

  • The OS kills your process → your in-flight write disappears
  • You reopen the app → your file handle is stale
  • You fire ten writes at once → the File System Access API doesn't serialize them, so they race, collide, and most of them silently fail

Three completely different failure modes. All silent. All data loss.

I fixed them. I wrote a write-ahead buffer, a per-filename queue, an IndexedDB fallback shelf, and a recovery mechanism that replays shelved writes on next wake.

And then I looked at what I'd built and thought…

wait.


This isn't a web feature. This is a kernel problem.

Write ordering. Process lifecycle. I/O durability. Recovery after crash.

These aren't things you solve in web apps. These are things you solve in operating systems.

Which made me ask a question I couldn't stop thinking about: why did I hit OS-level problems inside a browser?

The uncomfortable answer: because the browser is already an OS.

Not metaphorically. Not "kind of." Actually.

It has a process manager (tab lifecycle, background kill policies).
It has a filesystem (File System Access API, Origin Private File System).
It has persistent storage (IndexedDB, Cache API).
It has a network stack (fetch, WebSockets, WebRTC).
It has a GPU interface (WebGPU).
It has a concurrency model (Web Workers, SharedArrayBuffer).
It can even run compiled binaries (WebAssembly).

That's not a list of "web features." That's a kernel feature set. 😳


And yet… we're still building like it's 2010

Most frameworks still treat the browser like a dumb UI layer sitting on top of a real backend. State lives on a server. Files live on a server. Compute lives on a server. The browser is just the face.

But the platform has quietly moved on.

The browser isn't asking your server for permission anymore. It's got its own filesystem. Its own persistent storage. Its own compute pipeline. Its own process isolation.

We just haven't caught up to what it actually is.


What developers are building instead

Here's the thing that gets me. 🤔

Look at Electron. Look at Tauri. Look at Capacitor. Look at every "make a web app feel native" framework that's shipped in the last decade.

What are they all doing? They're wrapping the browser. Giving it a launcher. Giving it a system tray icon. Giving it access to APIs it wasn't "supposed" to have.

They're building a skin. A controlled launcher for a runtime that already had the OS capabilities — it just hadn't admitted it yet.

The browser doesn't need a wrapper to be an OS. It is one. The wrappers exist because we haven't fully accepted that yet.


The moment it clicked for me

When I finished gnoke-savenative — my little durability layer for mobile browser writes — I described the architecture to a friend.

Write-ahead buffer. Fallback shelf. Replay on wake. That's WAL. Write-Ahead Logging. The same durability primitive PostgreSQL uses to survive crashes. Implemented inside a browser tab.

That's not a web developer problem. That's a systems programming problem.

And I solved it inside a browser tab.


So what does this mean practically?

I think we're in a weird transitional moment. The browser runtime is already powerful enough to be treated as a first-class OS — but most developers are still building on top of it like it's a view layer.

The ones who figure this out first get to build the system services. The filesystem drivers. The process managers. The things that sit below the app layer and make everything else reliable.

That's where I'm going with the Gnoke Suite. Not apps that run in a browser. A system layer that runs as the browser.

It's a subtle difference. But I think it changes everything about how you architect what you build. 🧠


If you want to see what a browser filesystem driver actually looks like in practice:

👉 gnoke-savenative on GitHub

And if you've hit similar problems — silent write failures, stale handles, mobile process kills — I'd genuinely love to hear about it in the comments. I have a feeling more people have run into this than have written about it.

— Edmund Sparrow, Gnoke Suite