pokt-network / pocket

Official implementation of the Pocket Network Protocol v1
https://pokt.network
MIT License
64 stars 33 forks source link

[E2E] Byzantine network simulator environment #583

Open dylanlott opened 1 year ago

dylanlott commented 1 year ago

Objective

Make LocalNet be able to access arbitrary configurations to spin up any complex network. Nodes should be able to be fed arbitrary commands to act as different kinds of actors in the system. This should be plumbed with metrics for performance monitoring. The amount of overlap with this and the E2E test harness is left up to a spike.

Stress & Chaos testing are likely under the umbrella of Byzantine environments. This ticket should also explore adding chaos support for our Kubernetes environment.

Origin Document

466 specifically cut network simulation out of scope. This ticket addresses that scope to keep it tightly defined and well-documented.

Goals

Deliverables

Non-goals / Non-deliverables

General issue deliverables

Testing Methodology


Creator: @dylanlott Co-owner: @okdas

Olshansk commented 1 year ago

@dylanlott I made some NITs to the issue description but was also hoping you clarify the goals & deliverables, perhaps with an example?

It's unclear to me exactly what the deliverable here is? New tooling? Documentation? Infrastructure? Should @okdas be a co-owner?

We can remove the triage label once we answer to above.

dylanlott commented 1 year ago

@Olshansk I'm spending time today shaping the actual deliverables for this issue based on my current experiments with LocalNet & Tilt. I think it's a good idea to make @okdas a co-owner on this, since it will be important to keep this in sync with DevNet as well as LocalNet.

jessicadaugherty commented 1 year ago

Hey @dylanlott! Trying to finesse this parent ticket and identify any child tickets that are required. Reading the proposed implementation here, these are potential tickets I noted that could live under the "deliverables" section of this ticket. Wdyt?

ETA: lmk if the in flight tickets being here doesn't make sense

dylanlott commented 1 year ago

That looks good for deliverables, yes! The ticket might also want to mention #718 as possibly supporting some of these deliverables. If I come across any others I will link them back to this ticket as well.

jessicadaugherty commented 1 year ago

That would be great! Tysm @dylanlott I'll get started on those smaller tickets and add the links here.