remote admin

Add your suggestions for improving Poker Mavens

remote admin

Postby Alex » Sun Jun 21, 2009 6:04 pm

can the account tab just have like search player?

it freezes up my computer whenever I try to go to it because there's so many accounts.
Alex
 
Posts: 53
Joined: Sun Mar 08, 2009 10:08 pm

Re: remote admin

Postby Kent Briggs » Sun Jun 21, 2009 11:37 pm

Alex wrote:can the account tab just have like search player?
it freezes up my computer whenever I try to go to it because there's so many accounts.


How many accounts do you have? If you let it go long enough does it finish loading?
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3927
Joined: Wed Mar 19, 2008 8:47 pm

Re: remote admin

Postby Alex » Mon Jun 22, 2009 1:05 am

well my browser just keeps crashing so I'm not sure if it makes it all the way...

about 45k plus I think.
Alex
 
Posts: 53
Joined: Sun Mar 08, 2009 10:08 pm

Re: remote admin

Postby Kent Briggs » Mon Jun 22, 2009 2:09 am

Alex wrote:well my browser just keeps crashing so I'm not sure if it makes it all the way...
about 45k plus I think.


Which browser do you have? I just tried an experiment after creating 50,000 accounts. Just running it locally, IE 8 sat there for 2 minutes and then put a "stopped working" message without even showing any of the list. In Mozilla SeaMonkey (same engine as FireFox I believe), it took over 5 minutes to load but it completed. Scrolling was sluggish, though. I got much better results using Google's Chrome browser. It loaded the whole list in about 70 seconds. The rendering of all that HTML (including all the checkboxes) must be causing the problem because when I call the AccountsList API from my browser, it returns the list in just few seconds. As I mentioned to someone else in another thread, moving the accounts to a database system will help. But that's a ways off. In the mean time, I might have to redesign that page to break it up into smaller pieces.
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3927
Joined: Wed Mar 19, 2008 8:47 pm

Re: remote admin

Postby Alex » Mon Jun 22, 2009 4:07 pm

Thanks for the info.

What do you mean by database system?
Alex
 
Posts: 53
Joined: Sun Mar 08, 2009 10:08 pm

Re: remote admin

Postby Kent Briggs » Mon Jun 22, 2009 5:11 pm

Alex wrote:What do you mean by database system?


Currently each player account is saved as an individual text file and they're all loaded into memory when the server program starts. It's not very efficient when the number grows large. When I get around to converting that to a database, they will all be in one file and only accessed as needed.

By the way, I already have a better Accounts tab working for the remote admin interface. You'll be able to set the number of accounts shown per page and can navigate through them while maintaining the desired sort order. The only thing left to add is a player search box.
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3927
Joined: Wed Mar 19, 2008 8:47 pm


Return to Wish List

Who is online

Users browsing this forum: No registered users and 4 guests

cron