Skip to content

Commit

Permalink
chore (tailwind) : standardize code formatting and class naming conve…
Browse files Browse the repository at this point in the history
…ntions

- Reorder class declarations for better readability
- Apply consistent code formatting rules
  • Loading branch information
fal3n-4ngel committed Jan 9, 2025
1 parent c2a7047 commit 58415a9
Show file tree
Hide file tree
Showing 15 changed files with 653 additions and 467 deletions.
3 changes: 3 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"plugins": ["prettier-plugin-tailwindcss"]
}
22 changes: 13 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@

# DASH - Distributed Adaptive Serverless Hosting

## What is DASH?

DASH is a **peer-to-peer distributed system** for executing serverless functions and deploying tasks efficiently. It leverages **Tauri + Nextjs** to create a robust platform where clients can submit code, schedule tasks, and execute them seamlessly across a network of connected nodes.
DASH redefines task scheduling and execution by introducing an AI-powered [**DASH Scheduler**](https://github.com/Chackoz/Dash-Scheduler) , which dynamically assigns tasks based on node availability and resource utilization.

## Key Features

- **Peer-to-Peer Execution**: Facilitates distributed execution of serverless functions across multiple nodes.
- **AI-Based Task Scheduling**: DASH Scheduler intelligently allocates tasks for optimal performance and efficiency.
- **Real-Time Task Management**: Uses Firebase for instant updates and communication.
Expand All @@ -14,8 +15,6 @@ DASH redefines task scheduling and execution by introducing an AI-powered [**DAS

---



## Screenshots

![image](https://github.com/user-attachments/assets/1c0f25e2-1441-4011-8639-96c70539330f)
Expand All @@ -24,46 +23,50 @@ DASH redefines task scheduling and execution by introducing an AI-powered [**DAS

![image](https://github.com/user-attachments/assets/030337eb-99b5-4c32-aa98-2c009affebd6)


## How It Works

```markdown
1. # Clients Submit Code/Docker Image:
1. # Clients Submit Code/Docker Image:
- Updated in database with metadata and marked as 'pending.'
2. # DASH Scheduler:
2. # DASH Scheduler:

- The Scheduler listens for pending tasks, evaluates resource availability, and assigns tasks to the most suitable nodes.

3. # Task Execution:

- Idle clients receive task assignments, execute the code, and report the results.

4. # Result Reporting:

- Execution results are fetched and instantly updated for the original client.

5. # Client Notifications:
- The system notifies clients with detailed results and execution logs.
```
---

---

## Technical Details

### Frontend

- **Framework**: Tauri + Next.js
- **Styling**: Tailwind CSS
- **Tauri API**: Used for secure desktop interactions.

### Backend

- **Database**: Firebase Realtime Database and Firestore. (for the prototype)
- **Deployment**: Scheduler is deployed in DASH itself

### Task Scheduler

- **Language**: Python
- **Libraries**: Firebase Admin SDK
- **Task Distribution**: Custom algorithm for dynamic task allocation.


## Contributors

<table>
<tr>
<td align="center">
Expand Down Expand Up @@ -98,4 +101,5 @@ DASH redefines task scheduling and execution by introducing an AI-powered [**DAS
</table>

## License

This project is licensed under the [MIT License](LICENSE).
Loading

0 comments on commit 58415a9

Please sign in to comment.