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

Demo database server with REST API #2182

Draft
wants to merge 19 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
62e92f7
Added the first cut of the db_demo. REST api to insert, update, delet…
Apr 8, 2024
3fc909d
Added Lock to protect Cache::key_vals against shard contention.
Apr 9, 2024
d02fba8
Added a Disk back-end to Cache. It currently simply creates/opens two…
Apr 9, 2024
83f811f
Better Lock. Cache renamed to Table. Added /?op=list, /?op=invalidate…
Apr 10, 2024
4b5f815
Added handler_base class-based route handlers in preparation for long…
Apr 10, 2024
4df6de3
A much more serious db server. REST api reworked to handle the master…
Apr 13, 2024
a241280
Added REST API to read the keys and values files. Rethinking locking.…
Apr 13, 2024
3315c01
Removed files that shouldn't be in the sources of SeaStar.
Apr 13, 2024
c034324
Removed files that shouldn't be in the sources of SeaStar.
Apr 13, 2024
fab1bd3
Removed files that shouldn't be in the sources of SeaStar.
Apr 13, 2024
86d4823
Repaired the key deletion code path. Closes bug #13. Added loops to s…
Apr 14, 2024
54dbf69
Table::Index::access is the new, low-level, file IO method. All file …
Apr 14, 2024
277dfe2
Reworked Table::set to use Index::access for low-level file IO. Close…
Apr 15, 2024
91b9834
Reworked Table::set to use Index::access for low-level file IO. Close…
Apr 15, 2024
e7df9dc
Using a future to quit the process but have the browser navigate back…
Apr 16, 2024
16dcc78
Using a timer future to quit the process but have the browser navigat…
Apr 16, 2024
3b80cd1
Avoid re-logging the console log.
Apr 17, 2024
cb2eb71
Resolves #15. Got rid of my own non-concrete Generator template for t…
Apr 18, 2024
763d01c
Turned the most important logic of class Table to async. Dropped the …
Apr 18, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,7 @@ tags
.vscode/
compile_commands.json
.clangd
.cache
.cache
/.vs/
/CMakeLists.txt.user
/CMakeSettings.json
3 changes: 3 additions & 0 deletions demos/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ endif ()
seastar_add_demo (hello-world
SOURCES hello-world.cc)

seastar_add_demo (db
SOURCES db_demo.cc)

seastar_add_demo (websocket
SOURCES websocket_demo.cc)

Expand Down