News for hackers. Stuff that matters.
Re:Show HN: Open-source Perplexity clone one file back end, ... by kimhjo on Friday April 17, 2026 @02:47AM (#47803140)
The single-file backend is a nice constraint to work within.

Curious how you're handling conversation history at scale though — storing it per-user in-memory works fine for a demo, but what happens when the cell restarts? Does the built-in database persist across restarts or does history reset?

Re:Show HN: Open-source Perplexity clone one file back end, ... by anupsing_ai on Saturday April 18, 2026 @01:57PM (#47817975)
Data gets written to WAL first before memory and then persisted to disk. on restarts, it restores to memory and continues. the benefit comes from the architecture. each cell is supposed to be a dedicated compute for a single user.