Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

topic proposal: Redis-like key value store with write-ahead log #32

Open
stuarth opened this issue Mar 13, 2024 · 7 comments
Open

topic proposal: Redis-like key value store with write-ahead log #32

stuarth opened this issue Mar 13, 2024 · 7 comments
Assignees
Labels
assigned Topic has been assigned in-content Is the issue in lesson content?
Milestone

Comments

@stuarth
Copy link
Contributor

stuarth commented Mar 13, 2024

@gvwilson had suggested this, and I'd be very interested in writing it. That said, I don't believe it'd fit in an existing platform and would likely require something like a basic-tcp. Thoughts @rtfeldman or others?

@gvwilson gvwilson added help-wanted A request for assistance discuss An issue or PR currently being discussed in-content Is the issue in lesson content? propose-addition A suggestion for an addition to content or infrastructure labels Mar 13, 2024
@gvwilson gvwilson added this to the topic-outline milestone Mar 13, 2024
@isaacvando
Copy link
Contributor

This sounds very cool! Could the additional TCP primitives be added to basic-cli to accomplish it?

@Anton-4
Copy link
Collaborator

Anton-4 commented Mar 30, 2024

What would need to be added? Current TCP features for reference.

@stuarth
Copy link
Contributor Author

stuarth commented Mar 30, 2024

@Anton-4 we'd need to be be able to receive connections, a la basic-webserver but a TcpStream instead of an http request

@Anton-4
Copy link
Collaborator

Anton-4 commented Mar 30, 2024

Yeah, that seems like it would be out of scope for basic-cli. I would go with a dedicated tcp platform, I'll make a post about it on zulip to get some input.

@Anton-4
Copy link
Collaborator

Anton-4 commented Mar 30, 2024

https://roc.zulipchat.com/#narrow/stream/304641-ideas/topic/dedicated.20TCP.20platform/near/430409848

@gvwilson
Copy link
Collaborator

Can it be done as a pure library, i.e., skip the socket stuff and show how to build the data store? (that might help keep the size down)

@gvwilson gvwilson added assigned Topic has been assigned and removed help-wanted A request for assistance discuss An issue or PR currently being discussed propose-addition A suggestion for an addition to content or infrastructure labels Apr 18, 2024
@stuarth
Copy link
Contributor Author

stuarth commented Apr 23, 2024

Maaaaybe. Let me sketch out a potential lesson plan with it @gvwilson and we'll see how it feels. my initial impression is that it's quite a bit less compelling without the network aspect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assigned Topic has been assigned in-content Is the issue in lesson content?
Projects
None yet
Development

No branches or pull requests

4 participants