How we provide reliability
Last updated
Was this helpful?
Last updated
Was this helpful?
The biggest issue with trade plugins is dupe bugs
We understood this difficulty and I started working on the plugin keeping in mind that it should've been designed to have as little as possible ways to produce instabilities
Trade is divided into 3 statuses/phases: REFUSED, CONFIRMED and RETRIEVE Those 3 phases lock the player and the trade items to prevent duping by clicking, double-clicking, drag-clicking, and all the things
I'm using a plugin to test RedisTrade under stress conditions and on particular cases. The code of TradeIntegrity will be open source and released soon, so you can download it and test RedisTrade by yourself
I start with a testing modpack to thoroughly test each GUI feature, identifying any bugs related to item desynchronization
The second tool is a plugin to make the server lag randomly
When I test, I choose MySQL and Redis servers with latency greater than 200ms to amplify desynchronization issues
Additionally i attach a debugger to the server instance to check if there is any leftover inside hashmaps and to check if there is any possible memory leak