Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Divaserve.php script needs a rewrite #9

Closed
ahankinson opened this issue May 2, 2011 · 5 comments
Closed

Divaserve.php script needs a rewrite #9

ahankinson opened this issue May 2, 2011 · 5 comments
Assignees
Milestone

Comments

@ahankinson
Copy link
Member

The Divaserve php script is nowhere near ready for release. It needs a rewrite.

@dellsystem
Copy link
Member

I've updated example.html to use it, check out port 9002 for an example. While caching seems to help (it brought down the AJAX request response time to less than 20 milliseconds for the most part, with 7-9-ms being most common), the initial load is fairly slow, at nearly 1 second. Should I try to rewrite to optimise this initial load time?

ahankinson added a commit that referenced this issue May 28, 2011
@ahankinson
Copy link
Member Author

No, I think we can tackle this problem a couple of different ways. I've enabled apc on the demo server and it seems to be working a bit better now. I've also added preliminary support for caching the JSON response in memcache so that it doesn't have to read it from the file if it already has cached it. We should test this functionality some more.

ahankinson added a commit to ahankinson/diva.js that referenced this issue May 28, 2011
@dellsystem
Copy link
Member

Although the initial load is still slow (800-900 ms), subsequent loads are fairly fast, and the use of memcache has probably helped. Is this good enough, or should we try to find a way to speed up the initial load as well?

@ahankinson
Copy link
Member Author

I think we can call this "done."

@lpugin
Copy link
Member

lpugin commented May 30, 2011

Great!

On Sat, May 28, 2011 at 11:17 PM, ahankinson
reply@reply.github.com
wrote:

I think we can call this "done."

On 2011-05-28, at 5:12 PM, dellsystem wrote:

Although the initial load is still slow (800-900 ms), subsequent loads are fairly fast, and the use of memcache has probably helped. Is this good enough, or should we try to find a way to speed up the initial load as well?

Reply to this email directly or view it on GitHub:
#9 (comment)

Reply to this email directly or view it on GitHub:
#9 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants