TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

LimDB, superfast networkless in-process caching for Nim

6 pointsby rainmaking7 months ago

1 comment

rainmaking7 months ago
Effortless superfast caching with Nim! Network calls like you need for redis really add up.<p>Instead of using something like redis with its network round trips, you can write to a memory mapped file. You can do that safely and easily with LimDB in Nim.<p>LimDB is a hashtable-like interface to LMDB, a mature fast thread-safe ACID3 memory-mapped-file database for the Nim programming language.<p>It&#x27;s just like using a hash table (the Nim equivalent to Python&#x27;s dictionary or PHP&#x27;s associative array) but the data stays put between restarts.