Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
key-value-store
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Samarth Joshi
key-value-store
Commits
2c7f282d
Commit
2c7f282d
authored
Nov 10, 2020
by
Samarth Joshi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding graph and readme and some info messages in client and server
parent
c43a4bba
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
0 deletions
+22
-0
Graph_Throughput_vs_Load.jpg
Graph_Throughput_vs_Load.jpg
+0
-0
KVClient.c
KVClient.c
+3
-0
KVServer.c
KVServer.c
+2
-0
README
README
+17
-0
No files found.
Graph_Throughput_vs_Load.jpg
0 → 100644
View file @
2c7f282d
42.4 KB
KVClient.c
View file @
2c7f282d
...
...
@@ -213,6 +213,9 @@ int main(int argc, char const *argv[])
if
(
seige_mode
==
0
)
{
sock
=
client_init
();
printf
(
"To send GET message type: get key
\n
"
);
printf
(
"To send PUT message type: put key value
\n
"
);
printf
(
"To send DEL message type: del key
\n
"
);
interactive
(
sock
);
return
0
;
}
else
{
...
...
KVServer.c
View file @
2c7f282d
...
...
@@ -206,6 +206,8 @@ int main (int argc, int argv) {
listen
(
sockfd
,
5
);
clilen
=
sizeof
(
cli_addr
);
printf
(
"Listening on port %d
\n
"
,
settings
->
listening_port
);
init_cache
(
settings
->
cache_size
);
storage_init
();
...
...
README
0 → 100644
View file @
2c7f282d
Roshan Sahu 203050048 sroshan@cse.iitb.ac.in
Shivaji Chirumamilla 203050056 shivaji@cse.iitb.ac.in
Samarth Joshi 203059008 samarthjoshi@cse.iitb.ac.in
To BUILD code run command
make
To RUN server run command
./Server
To RUN client run command
./Client
To edit configuration edit settings.conf file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment