teqneers / Greyface

Greyface is an open source AJAX based web interface to SQLGrey, a greylisting policy daemon for the Postfix MTA. View and manipulate live greylisting data through an easy-to-use interface or submit new greylisting data.
MIT License
5 stars 1 forks source link

Login proccess speed #73

Closed piwats closed 10 years ago

piwats commented 10 years ago

Hello,

I don't really know whether this is a bug, but I have noticed that it takes quite a time to log in to greyface. Apache is properly configured and mod_php has good limits set, which for instance allow typo3 to run.

It is only the login speed, which seems to bit kind of slow.

Kind Regards, -Paul

svencc commented 10 years ago

Hi,

it is not directly a bug, but due to some historical misconception greyface sends many request to all tables/views and gather all data when you login. I think this can easily be optimized with little effort in near future.

sven

svencc commented 10 years ago

Thats all I can do. I supressed that all data gets load on startup of greyface. The different data tables will be loaded first when needed.

The fact, that greyface is implemented with ExtJS makes it necessary that the whole application is loaded on start - but than we only do some requests to sync and update data - no further application data is loaded -> that makes it quite fast once ist load!

please provide feedback