Skip to content

Commit 4b4ade5

Browse files
committed
Huly Network
Signed-off-by: Andrey Sobolev <[email protected]>
1 parent 24e5147 commit 4b4ade5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+3760
-5
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ on:
2323
env:
2424
CacheFolders: |
2525
communication
26+
network
2627
common
2728
desktop
2829
desktop-package

README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,25 @@ If you want to interact with Huly programmatically, check out our [API Client](.
2828

2929
You can find API usage examples in the [Huly examples](https://github.com/hcengineering/huly-examples) repository.
3030

31+
## Huly Virtual Network
32+
33+
The platform features a distributed network architecture that enables scalable, fault-tolerant communication between accounts, workspaces, and nodes. The [Huly Virtual Network](./network/README.md) provides:
34+
35+
- **Distributed Load Balancing**: Intelligent routing across multiple nodes using consistent hashing
36+
- **Multi-Tenant Architecture**: Secure workspace isolation with role-based access control
37+
- **Fault Tolerance**: Automatic failover and recovery mechanisms
38+
- **Real-time Communication**: Event-driven architecture with broadcast capabilities
39+
40+
For detailed information about the network architecture, deployment, and API reference, see the [Network Documentation](./network/README.md).
41+
3142
## Table of Contents
3243

3344
- [Huly Platform](#huly-platform)
3445
- [About](#about)
3546
- [Self-Hosting](#self-hosting)
3647
- [Activity](#activity)
3748
- [API Client](#api-client)
49+
- [Huly Virtual Network](#huly-virtual-network)
3850
- [Table of Contents](#table-of-contents)
3951
- [Pre-requisites](#pre-requisites)
4052
- [Verification](#verification)
@@ -106,20 +118,21 @@ This project uses GitHub Packages for dependency management. To successfully dow
106118
Follow these steps:
107119

108120
1. Generate a GitHub Token:
121+
109122
- Log in to your GitHub account
110123
- Go to **Settings** > **Developer settings** > **Personal access tokens** (https://github.com/settings/personal-access-tokens)
111124
- Click **Generate new token**
112125
- Select the required scopes (at least `read:packages`)
113126
- Generate the token and copy it
114127

115128
2. Authenticate with npm:
129+
116130
```bash
117131
npm login --registry=https://npm.pkg.github.com
118132
```
119133

120134
When prompted, enter your GitHub username, use the generated token as your password
121135

122-
123136
## Fast start
124137

125138
```bash
@@ -280,6 +293,7 @@ This guide describes the nuances of building and running the application from so
280293
#### Disk Space Requirements
281294

282295
Ensure you have sufficient disk space available:
296+
283297
- A fully deployed local application in clean Docker will consume slightly more than **35 GB** of WSL virtual disk space
284298
- The application folder after build (sources + artifacts) will occupy **4.5 GB**
285299

@@ -303,6 +317,7 @@ Make sure Docker is accessible from WSL:
303317
Windows Git often automatically replaces line endings. Since most build scripts are `.sh` files, ensure your Windows checkout doesn't break them.
304318

305319
**Solution options:**
320+
306321
- Checkout from WSL instead of Windows
307322
- Configure Git on Windows to disable auto-replacement:
308323
```bash
@@ -343,6 +358,7 @@ After these preparations, the build instructions should work without issues.
343358
When starting the application (`rush docker:up`), some network ports in Windows might be occupied. You can fix port mapping in the `\dev\docker-compose.yaml` file.
344359

345360
**Important:** Depending on which port you change, you'll need to:
361+
346362
1. Find what's using that port
347363
2. Update the new address in the corresponding service configuration
348364

common/config/rush/pnpm-lock.yaml

Lines changed: 97 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)