Comment by 🚀 mbays

Re: "cgisesh - a tiny cgi session manager for games TLDR: I am..."
In: u/stack

Another solution to the same kind of problem, with sessions as processes rather than stored data:

— gemini.thegonz.net/gemrepl/

(It's an unfinished work-out-of-progress, but it basically works and I use it for some things)

🚀 mbays

2024-05-16 · 2 years ago

1 Later Comment

🚀 stack [OP] · 2024-06-05 at 21:16:

Caching implemented. Most-recent 16 users are now in the cache, with an instant response.

Not only the cache accelerates access (repeated hits expected), but within the cache itself, every hit gets a promotion towards the start of the search, guaranteeing top position after a few hits. Active users will get super-fast results.

Original Post

🚀 stack

cgisesh - a tiny cgi session manager for games TLDR: I am making a minimal in-memory "session database server" for keeping track of user data, ideal for games. Any thoughts? Every time I try to make a quick-and dirty CGI game or sketch out a simple application, I get really frustrated. Gemini conviniently provides user certificates which can be used to track sessions, but things get complicated very fast. I am making a minimal subsystem for keeping track of user-associated data, ideal for...

💬 4 comments · 2 likes · 2024-05-15 · 2 years ago