in reply to How would you implement a FIFO non-blocking queue?

Call me crazy, but I think you are going about this the wrong way. Two things immediately came to mind while I was reading your post. They were: Okay, neither of those solutions involves code, but if performance is your problem this is the route I would go first.

Celebrate Intellectual Diversity

  • Comment on Re: How would you implement a FIFO non-blocking queue?

Replies are listed 'Best First'.
Re^2: How would you implement a FIFO non-blocking queue?
by BMaximus (Chaplain) on Feb 27, 2006 at 09:05 UTC
    Both are great questions.

    Why don't you just buy a faster/bigger server?


    I have no control over the hardware what so ever. So it's not up to me to get a new server.

    Why don't you try some in-memory caching with your webserver?


    Good idea but not practical as the PDF is created on the fly depending upon the search done by the user. Also we don't want the information cached anywhere for security purposes.

    Good ideas though.

    BMaximus