I made a metric ton of changes to the trade reference system. To the standard user, they should seem transparent. Let me know if your score went up or down and it shouldn't have.
The changes were to how the score is calculated and where it's stored making the page much faster.
The next changes are going to be soooo cool.
TrademasterAdam
Changes to Trade Reference System
Moderator: Moderators
- TrademasterAdam ( 99 )
- Site Admin
- Posts: 709
- Joined: Fri Jul 04, 2003 2:05 pm
tell US!!!
oh oh oh oh
I wanna know
I wanna know
I wanna know!!!
thanks for all your hard work!!!
Ekister
I wanna know
I wanna know
I wanna know!!!
thanks for all your hard work!!!
Ekister
- TrademasterAdam ( 99 )
- Site Admin
- Posts: 709
- Joined: Fri Jul 04, 2003 2:05 pm
Before, every time you loaded up a page, the system would search through the 50,000+ references for yours, calculate what your rating should be and display it on the page. This is for every time you view every ad, one trip for each person ( 3 replies, 3 trips to the database and calculations ).
Now, the score is calculated only when your references change and is stored in the same place as your username, email, etc. and so no additional trips to the database are required.
Much faster...
TrademasterAdam
Now, the score is calculated only when your references change and is stored in the same place as your username, email, etc. and so no additional trips to the database are required.
Much faster...
TrademasterAdam
- TrademasterAdam ( 99 )
- Site Admin
- Posts: 709
- Joined: Fri Jul 04, 2003 2:05 pm
It will really really really help that problem a whoooole lot. I've noticed a bit of a difference, some people say it's the same, others say it's much faster.Warmonger wrote:Sweet idea. Sounds like it should help eliminate those "too many connections" errors that we get (used to get?).
TrademasterAdam