Live data from Hacker News

Show HN: Pogocache – Fast caching software

github.com

1–10 of 30 posts

Re: Show HN: Pogocache – Fast caching software

#5

Very interesting. Like the idea of using http, redis, or even PostgreSQL clients. Is there a way to provide the auth password via an envar instead of a command line arg? pogocache --auth mypass

That's the only way right now. The other ways I'm considering is with an environment variable and/or acl.

Re: Show HN: Pogocache – Fast caching software

#6
Really looks fascinating.. Might need a deeper dive.

Also.. like, it says that you plan on supporting sql? is this true? What does that actually mean really since I guess it might then compete with things like sqlite/duckdb?

Genuinely curious, great project! Starred!

Re: Show HN: Pogocache – Fast caching software

#8

Really looks fascinating.. Might need a deeper dive. Also.. like, it says that you plan on supporting sql? is this true? What does that actually mean really since I guess it might then compete with things like sqlite/duckdb? Genuinely curious, great project! Starred!

Not intending to make pogocache into a sql database. I prefer keeping it a cache. More so exploring ways to work with existing databases such as sqlite, duckdb, postgres. Kinda like providing proxy-ish operations that transparently cache sql reads.

Re: Show HN: Pogocache – Fast caching software

#9

The README doesn’t seem to explain _why_ it is faster. Is it just highly hand-optimized? Is there some main technique used?

Yes, it is highly hand optimized. There's a description of some of the methods I used near the bottom of there README. I mainly focused on minimizing contention, with the sharded hashmap and such. But the networking layer is carefully crafted.
Post reply on HN