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

Cleanups and finalizations #41

Merged
merged 82 commits into from
Dec 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
ae00ee6
fix: comment changes
thewoodfish Dec 12, 2024
e79e8c0
Update rust.yml
thewoodfish Dec 12, 2024
c2d6468
fix: hash-based sharding example debugging
thewoodfish Dec 12, 2024
fe293f0
fix: update ReadMe.md
thewoodfish Dec 12, 2024
f770e25
fix: update ReadMe.md
thewoodfish Dec 12, 2024
9dd300e
fix: update ReadMe.md
thewoodfish Dec 12, 2024
24e6ec4
fix: update ReadMe.md
thewoodfish Dec 12, 2024
952223d
fix: update ReadME.md
thewoodfish Dec 12, 2024
7dfe7a6
fix: update ReadMe.md
thewoodfish Dec 12, 2024
ef56d2a
fix: update ReadMe.md
thewoodfish Dec 12, 2024
0f14270
fix: update ReadMe.md
thewoodfish Dec 12, 2024
fea9dde
fix: update ReadMe.md
thewoodfish Dec 12, 2024
91fe704
fix: update ReadME.md
thewoodfish Dec 12, 2024
d7e292e
fix: update ReadMe.md
thewoodfish Dec 12, 2024
35d4a10
fix: update ReadMe.md
thewoodfish Dec 12, 2024
24d1b6c
fix: update ReadMe.md
thewoodfish Dec 12, 2024
7dd73eb
fix: update ReadMe.md
thewoodfish Dec 12, 2024
0be9855
fix: ReadMe.md
thewoodfish Dec 12, 2024
ac83f94
fix: update readMe.md
thewoodfish Dec 12, 2024
419f6d8
fix: update ReadMe.md
thewoodfish Dec 12, 2024
ef0b8b6
fix: update ReadMe.md
thewoodfish Dec 12, 2024
569c377
fix: update ReadMe.md
thewoodfish Dec 12, 2024
de64ac3
fix: update ReadMe.md
thewoodfish Dec 12, 2024
3ca9114
fix: update ReadMe.md
thewoodfish Dec 12, 2024
e0a656a
fix: update ReadMe.md
thewoodfish Dec 12, 2024
6b2ab8f
fix: update ReadMe.md
thewoodfish Dec 12, 2024
5e0fc51
fix: update ReadMe.md
thewoodfish Dec 12, 2024
0922efd
fix: update ReadMe.md
thewoodfish Dec 12, 2024
ea3e0a1
fix: update ReadMe.md
thewoodfish Dec 12, 2024
9bc9105
fix: update ReadMe.md
thewoodfish Dec 12, 2024
aa08cfc
fix: update ReadMe.md
thewoodfish Dec 12, 2024
45925ac
fix: update ReadMe.md
thewoodfish Dec 12, 2024
2840a92
fix: update ReadMe.md
thewoodfish Dec 12, 2024
788f816
fix: update readMe.md
thewoodfish Dec 13, 2024
bd94202
fix: update ReadMe.md
thewoodfish Dec 13, 2024
ff1476b
fix: update ReadMe.md
thewoodfish Dec 13, 2024
ab6875f
fix: update ReadMe.md
thewoodfish Dec 13, 2024
3acea2a
fix: update Research.md
thewoodfish Dec 13, 2024
0a4040f
fix: update readme.md
thewoodfish Dec 13, 2024
e6bd7b8
fix: update research.me
thewoodfish Dec 13, 2024
70fdfe9
fix: update research.md
thewoodfish Dec 13, 2024
742bd6f
fix: update research.md
thewoodfish Dec 13, 2024
72c1860
fix: update research.md
thewoodfish Dec 13, 2024
09d15dd
fix: update research.md
thewoodfish Dec 13, 2024
b41f493
fix: update research.md
thewoodfish Dec 13, 2024
fe326b2
fix: update research.md
thewoodfish Dec 13, 2024
a355208
fix: update research.md
thewoodfish Dec 13, 2024
4fc7fa3
fix: update research.md
thewoodfish Dec 13, 2024
13808b9
fix: update research.md
thewoodfish Dec 13, 2024
26ddf7d
fix: update research.md
thewoodfish Dec 13, 2024
949db11
fix: update research.md
thewoodfish Dec 13, 2024
e8517f9
fix: update research.md
thewoodfish Dec 13, 2024
5242297
fix: update rsearch.md
thewoodfish Dec 13, 2024
3d09f39
fix: update research.md
thewoodfish Dec 13, 2024
7e3705d
fix: update research.md
thewoodfish Dec 13, 2024
fff382e
fix: update research.md
thewoodfish Dec 13, 2024
7cfbe83
fix: update research.md
thewoodfish Dec 13, 2024
6abc6ee
fix: update research.md
thewoodfish Dec 13, 2024
666aff1
fix: update research.md
thewoodfish Dec 13, 2024
7a36ad5
fix: update research.md
thewoodfish Dec 13, 2024
42041ec
fix: update research.md
thewoodfish Dec 13, 2024
e309adb
fix: update research.md
thewoodfish Dec 13, 2024
2ac5e8a
fix: update ReadMe.md
thewoodfish Dec 13, 2024
6a01252
fix: general cleanups
thewoodfish Dec 13, 2024
fe77b17
fix: made changes to min port
thewoodfish Dec 14, 2024
2a169a6
fix: remove the client folder
thewoodfish Dec 14, 2024
be9b1b3
Update examples/replication/strong_consistency/src/main.rs
sacha-l Dec 15, 2024
c4e591b
feat: add emojis in simple game logging
sacha-l Jun 27, 2024
d3b4318
fix: doc headers
sacha-l Dec 12, 2024
fe40d44
feat: add docker and cmds for sharding examples
sacha-l Dec 12, 2024
3a5476a
feat: fix doc tests to make compilation work
sacha-l Dec 13, 2024
2d76070
feat: udpate testing guide
sacha-l Dec 13, 2024
9c5aafb
feat: doc fixes
sacha-l Dec 13, 2024
ed1efcf
fix: update ReadMe.md
thewoodfish Dec 12, 2024
668ab15
fix: make README compile
sacha-l Dec 13, 2024
f068d82
fix: move sharding examples into one README
sacha-l Dec 13, 2024
532e4b2
feat: update tutorials README
sacha-l Dec 13, 2024
9b7a8b9
fix: dockerizing hash based example
sacha-l Dec 14, 2024
17967b4
fix: dockerization for sharding
sacha-l Dec 14, 2024
6a0168d
feat: add dockerization for http client eg
sacha-l Dec 14, 2024
17c25f4
feat: add dockerization
sacha-l Dec 14, 2024
419a6e3
Merge branch 'main' into dev
sacha-l Dec 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 17 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,14 @@ SwarmNL is a library designed for P2P networking in distributed systems. It's li
- [Features and examples](#features-and-examples)
- [Node configuration](#node-configuration)
- [Node communication](#node-communication)

- [Replication](#replication)
- [Key features](#key-features)
- [Example](#example-configuring-and-using-replication)
- [Why use SwarmNl for Replication](#why-use-swarmnl-for-replication)
- [Sharding](#sharding)
- [Key features](#key-features-1)
- [Example](#example-configuring-and-operating-a-sharded-network)
- [Why use SwarmNl for Sharding](#why-use-swarmnl-for-sharding)
<!-- TOC end -->

## Why SwarmNL?
Expand All @@ -39,6 +46,10 @@ Visit the examples folder [here](https://github.com/algorealmInc/SwarmNL/tree/de

Visit the deployed Rust docs [here](https://algorealminc.github.io/SwarmNL/swarm_nl/index.html).

## Research and Technicalities

Please check [here](https://github.com/algorealmInc/SwarmNL/blob/main/research.md) for more technical details and understanding of SwarmNL and it's design choices.

## Features and examples

### Node configuration
Expand Down Expand Up @@ -254,6 +265,7 @@ For communication, SwarmNL leverages the powerful capabilities of libp2p. These
- **Consistency Models**: Choose from a variety of consistency models, including strong consistency with customizable parameters.
- **Dynamic Node Management**: Nodes can seamlessly join and leave replica networks without disrupting operations. Events are quickly propagated to all nodes.
- **Ease of Use**: Minimal setup is required to add replication to your system, ensuring quick integration and deployment.
- **Node Cloning**: Complete instant cloning of data in the buffer of a replica peer.

### Example: Configuring and Using Replication

Expand Down Expand Up @@ -292,8 +304,8 @@ Here’s how you can set up and use SwarmNL's replication capabilities:
SwarmNL exposes network events to your application, allowing you to process incoming replica data effectively.

```rust
#![cfg_attr(not(doctest))]
// Listen for replication events
//! Listen for replication events

loop {
// Check for incoming data events
if let Some(event) = node.next_event().await {
Expand Down Expand Up @@ -411,7 +423,6 @@ Here’s how you can set up and use SwarmNL's sharding capabilities:
let local_storage = Arc::new(Mutex::new(LocalStorage));

// Configure node for replication, we will be using an eventual consistency model here.
// If we will be sharding data, our consistency model MUST be set to EVENTUAL.
let repl_config = ReplNetworkConfig::Custom {
queue_length: 150,
expiry_time: Some(10),
Expand Down Expand Up @@ -492,7 +503,7 @@ Here’s how you can set up and use SwarmNL's sharding capabilities:
A node can receive data either through forwarding from a node in another shard or via replication from a peer node in the same shard. Below is an example demonstrating how to listen for and handle both types of events.

```rust
#![cfg_attr(not(doctest))]
//! Listen for and consume data from a sharded network.
loop {
// Check for incoming data events
if let Some(event) = node.next_event().await {
Expand Down Expand Up @@ -550,7 +561,7 @@ SwarmNL integrates the networking and storage layers to deliver a seamless shard
### _Moving forward 👷🏼_
_In future iterations, we will be working on:_
- _Extending support for more transport layers._
- _Optimization of network algorithms._
- _Providing further optimizating of network algorithms for various network scenerios._

<br>
In essence, SwarmNL is designed to simplify networking so you can focus on building that world-changing application of yours! Cheers! 🥂
Expand Down
19 changes: 0 additions & 19 deletions client/Cargo.toml

This file was deleted.

14 changes: 0 additions & 14 deletions client/bootstrap_config.ini

This file was deleted.

Loading
Loading