pokt-network / poktroll

The official Shannon upgrade implementation of the Pocket Network Protocol implemented using the Cosmos SDK
MIT License
16 stars 10 forks source link

[Load Testing] No extra upokt is minted, burnt or missing #897

Open red-0ne opened 3 weeks ago

red-0ne commented 3 weeks ago

Objective

Ensure that the tokenomics rules of the protocol correctly alter the actors balances.

Build confidence about how the TLMs are moving funds around actor and module account balances.

Goals

Deliverables

Non-goals / Non-deliverables

General deliverables


Creator: @red-0ne

Olshansk commented 3 weeks ago

cc @okdas - Why we need to enable load testing on LocalNet. Question: is it still blocked by our ability to use PATH instead of AppGateServer?

Olshansk commented 3 weeks ago

@red-0ne One additional element/idea to this ticket.

What if we just do a load test (thousands of suppliers, apps, services, etc...) where:

We should see:

Wdyt?

okdas commented 3 weeks ago

cc @okdas - Why we need to enable load testing on LocalNet. Question: is it still blocked by our ability to use PATH instead of AppGateServer?

Not blocked. We won't be able to proxy too many requests, but I think good enough volume. I've run a few tests already.

red-0ne commented 3 weeks ago

@Olshansk

What if we just do a load test (thousands of suppliers, apps, services, etc...) where:

The only problem lays in suppliers which are tied to relay miners that are resource provisioning intensive and are limited to 3 (cc @okdas)

We may be able to achieve it using lean clients :thinking:

Other than that, I see no blocker for a plan that scales those.

red-0ne commented 3 weeks ago

We won't be able to proxy too many requests, but I think good enough volume. I've run a few tests already.

@okdas is this related to what you're describing there ?https://discord.com/channels/824324475256438814/1300629445677416458/1300630681801457724

image

Olshansk commented 3 weeks ago

The only problem lays in suppliers which are tied to relay miners that are resource provisioning intensive and are limited to 3 (cc @okdas)

Where does this limitation come from?

That's the default configuration on main right now, but I don't think it should be hard to update it (with a bit of effort) unless I'm mistaken?

Olshansk commented 3 weeks ago

We may be able to achieve it using lean clients 🤔

Can you please provide more details on:

Olshansk commented 3 weeks ago

@red-0ne Dropping a note/idea here so I don't forget.

cc @RawthiL for visibility. We'll be using pocketdex alongside this and will likely need to build some necessary/cool/interesting charts. They'll all translate to Shannon.

Note: We'll need to turn this whole ticket/thread into a proper plan + design doc + blog post w/ clear requirements, visuals, etc

red-0ne commented 2 weeks ago

Just for context,

This will involve: