Skip to content

Commit

Permalink
Merge branch 'DiceDB:master' into wal-implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushsatyam146 authored Dec 13, 2024
2 parents 42a459c + f2ab394 commit feec987
Show file tree
Hide file tree
Showing 126 changed files with 3,615 additions and 1,987 deletions.
File renamed without changes.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,7 @@ release: ## build and push the Docker image to Docker Hub with the latest tag an
docker build --tag dicedb/dicedb:latest --tag dicedb/dicedb:$(VERSION) .
docker push dicedb/dicedb:$(VERSION)
docker push dicedb/dicedb:latest

push-binary-remote:
$(MAKE) build
scp -i ${SSH_PEM_PATH} ./dicedb ubuntu@${REMOTE_HOST}:.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Although DiceDB is a drop-in replacement of Redis, which means almost no learnin
The easiest way to get started with DiceDB is using [Docker](https://www.docker.com/) by running the following command.

```bash
docker run -p 7379:7379 dicedb/dicedb --enable-multithreading --enable-watch
docker run -p 7379:7379 dicedb/dicedb --enable-watch
```

The above command will start the DiceDB server running locally on the port `7379` and you can connect
Expand All @@ -60,10 +60,10 @@ To run DiceDB for local development or running from source, you will need
```bash
git clone https://github.com/dicedb/dice
cd dice
go run main.go --enable-multithreading --enable-watch
go run main.go --enable-watch
```

You can skip passing the two flags if you are not working with multi-threading or `.WATCH` features.
You can skip passing the flag if you are not working with `.WATCH` feature.

1. Install GoLangCI

Expand Down
16 changes: 8 additions & 8 deletions docs/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,28 +15,24 @@ export default defineConfig({
// useStarlightDarkModeSwitch: false,
favicon: "/favicon.png",
editLink: {
baseUrl: 'https://github.com/DiceDB/dice/edit/master/docs/',
baseUrl: "https://github.com/DiceDB/dice/edit/master/docs/",
},
lastUpdated: true,
expressiveCode: {
textMarkers: true,
themes: ['ayu-dark','light-plus'],
themes: ["ayu-dark", "light-plus"],
defaultProps: {
wrap: true,
},
styleOverrides: {
borderRadius: '0.2rem'
styleOverrides: {
borderRadius: "0.2rem",
},
},
sidebar: [
{
label: "Get started",
autogenerate: { directory: "get-started" },
},
// {
// label: 'Tutorials',
// autogenerate: { directory: 'tutorials' }
// },
{
label: "SDK",
autogenerate: { directory: "sdk" },
Expand All @@ -45,6 +41,10 @@ export default defineConfig({
label: "Connection Protocols",
autogenerate: { directory: "protocols" },
},
{
label: "Tutorials",
autogenerate: { directory: "tutorials" },
},
{
label: "Commands",
autogenerate: { directory: "commands" },
Expand Down
198 changes: 91 additions & 107 deletions docs/public/funding.json
Original file line number Diff line number Diff line change
@@ -1,117 +1,101 @@
{
"version": "v1.0.0",
"entity": {
"type": "organisation",
"role": "owner",
"type": "organisation",
"role": "owner",
"name": "DiceDB",
"email": "[email protected]",
"phone": "",
"description": "DiceDB is a redis-compliant, reactive, scalable, highly available, unified cache optimized for modern hardware.",
"webpageUrl": {
"url": "https://dicedb.io"
}
},
"projects": [
{
"guid": "dicedb",
"name": "DiceDB",
"email": "[email protected]",
"phone": "",
"description": "DiceDB is a redis-compliant, reactive, scalable, highly available, unified cache optimized for modern hardware.",
"webpageUrl": {
"url": "https://dicedb.io"
"url": "https://dicedb.io"
},
"repositoryUrl": {
"url": "https://github.com/dicedb/dice"
},
"licenses": ["BSL"],
"tags": ["database", "high-performance", "key-value-store"]
}
],
"funding": {
"channels": [
{
"guid": "other",
"type": "other",
"address": "",
"description": "Yet to setup"
}
},
"projects": [
],
"plans": [
{
"guid": "perf-test",
"status": "active",
"name": "Load and performance testing",
"description": "This will cover the monthly server hosting costs to run load tests, performance tests, and CI for core database engine.",
"amount": 5000,
"currency": "USD",
"frequency": "monthly",
"channels": ["other"]
},
{
"guid": "dicedb",
"name": "DiceDB",
"description": "DiceDB is a redis-compliant, reactive, scalable, highly available, unified cache optimized for modern hardware.",
"webpageUrl": {
"url": "https://dicedb.io"
},
"repositoryUrl": {
"url": "https://github.com/dicedb/dice"
},
"licenses": [
"BSL"
],
"tags": [
"database",
"high-performance",
"key-value-store"
]
"guid": "developer-time",
"status": "active",
"name": "Developer compensation",
"description": "This will cover the cost of seven senior engineers working part-time on building DiceDB.",
"amount": 70000,
"currency": "USD",
"frequency": "monthly",
"channels": ["other"]
},
{
"guid": "commuunity-contributors-and-events",
"status": "active",
"name": "Community swags, events and hackathons",
"description": "This will cover the cost of 160+ OSS contributors by giving them DiceDB swags and keeping their morale high. Some fraction of the funds will also be used to run hackathons and some community events like Database Paper Reading Sessions. We aim to build a thriving community around DiceDB and databases in India.",
"amount": 20000,
"currency": "USD",
"frequency": "monthly",
"channels": ["other"]
},
{
"guid": "hosting-playground",
"status": "active",
"name": "Hosting Playground",
"description": "This will cover the monthly server hosting costs to run DiceDB and host Playground making it easier for people to try out DiceDB.",
"amount": 4000,
"currency": "USD",
"frequency": "monthly",
"channels": ["other"]
},
{
"guid": "angel-plan",
"status": "active",
"name": "Goodwill plan",
"description": "Pay anything you wish to show your goodwill for the project.",
"amount": 1000,
"currency": "USD",
"frequency": "one-time",
"channels": ["other"]
}
],
"funding": {
"channels": [
{
"guid": "other",
"type": "other",
"address": "",
"description": "Yet to setup"
}
],
"plans": [
{
"guid": "perf-test",
"status": "active",
"name": "Load and performance testing",
"description": "This will cover the monthly server hosting costs to run load tests, performance tests, and CI for core database engine.",
"amount": 5000,
"currency": "USD",
"frequency": "monthly",
"channels": [
"other"
]
},
{
"guid": "developer-time",
"status": "active",
"name": "Developer compensation",
"description": "This will cover the cost of seven senior engineers working part-time on building DiceDB.",
"amount": 70000,
"currency": "USD",
"frequency": "monthly",
"channels": [
"other"
]
},
{
"guid": "commuunity-contributors-and-events",
"status": "active",
"name": "Community swags, events and hackathons",
"description": "This will cover the cost of 160+ OSS contributors by giving them DiceDB swags and keeping their morale high. Some fraction of the funds will also be used to run hackathons and some community events like Database Paper Reading Sessions. We aim to build a thriving community around DiceDB and databases in India.",
"amount": 20000,
"currency": "USD",
"frequency": "monthly",
"channels": [
"other"
]
},
{
"guid": "hosting-playground",
"status": "active",
"name": "Hosting Playground",
"description": "This will cover the monthly server hosting costs to run DiceDB and host Playground making it easier for people to try out DiceDB.",
"amount": 4000,
"currency": "USD",
"frequency": "monthly",
"channels": [
"other"
]
},
{
"guid": "angel-plan",
"status": "active",
"name": "Goodwill plan",
"description": "Pay anything you wish to show your goodwill for the project.",
"amount": 1000,
"currency": "USD",
"frequency": "one-time",
"channels": [
"other"
]
}
],
"history": [
{
"year": 2024,
"income": 0,
"expenses": 100,
"taxes": 0,
"currency": "USD",
"description": "Infrastrucuture cost"
}
]
],
"history": [
{
"year": 2024,
"income": 0,
"expenses": 100,
"taxes": 0,
"currency": "USD",
"description": "Infrastrucuture cost"
}
]
}
}
}
4 changes: 1 addition & 3 deletions docs/src/components/Hero.astro
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
---
import { Github, MoveRight } from "lucide-astro";
import Dice from "./Dice.astro";
import site from "../data/site.json";
import { Github } from "lucide-astro";
---

<div>
Expand Down
13 changes: 13 additions & 0 deletions docs/src/components/Nav.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
const pathname = new URL(Astro.request.url).pathname;
const currentPage = pathname.split("/")[1];
const currentSubPage = pathname.split("/")[2]; // To identify subpages under "community"
import SocialHandlesIcons from "./SocialHandlesIcons.astro";
---

Expand Down Expand Up @@ -50,6 +51,18 @@ import SocialHandlesIcons from "./SocialHandlesIcons.astro";
>
<span class="has-text-weight-bold"> Blog</span>
</a>
<a
class={`navbar-item ${currentPage === "community" && "is-active"}`}
href="/community"
>
<span class="has-text-weight-bold"> Community</span>
</a>
<a
class={`navbar-item ${currentPage === "team" && "is-active"}`}
href="/team"
>
<span class="has-text-weight-bold"> Team</span>
</a>
<div class="navbar-item">
<SocialHandlesIcons />
</div>
Expand Down
63 changes: 63 additions & 0 deletions docs/src/components/UserSocialHandles.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
---
import { Twitter, Github, Linkedin, Globe } from "lucide-astro";
const { x, github, linkedin, website } = Astro.props;
---

<ul class="buttons" style="margin-left: 0 !important;">
{
x && (
<a
class="button is-small"
target="_blank"
href={x}
title="Follow on Twitter (X)"
>
<span class="icon">
<Twitter />
</span>
</a>
)
}
{
github && (
<a
class="button is-small"
target="_blank"
href={github}
title="Follow on GitHub"
>
<span class="icon">
<Github />
</span>
</a>
)
}
{
linkedin && (
<a
class="button is-small"
target="_blank"
href={linkedin}
title="Follow on LinkedIn"
>
<span class="icon">
<Linkedin />
</span>
</a>
)
}
{
website && (
<a
class="button is-small"
target="_blank"
href={website}
title="Visit website"
>
<span class="icon">
<Globe />
</span>
</a>
)
}
</ul>
Loading

0 comments on commit feec987

Please sign in to comment.