Jump to content

sql


hisoka

Recommended Posts

A queue is a standard buffering technique. It is also called a FIFO buffer. It is usually used to store and pass data between two asynchronous systems. See...

 

http://en.wikipedia.org/wiki/Queue_%28abstract_data_type%29

 

--- edit ---

 

Yes, this is analogous to people waiting in line at a checkout counter. People enter the post office asynchronously and are later processed at a different rate which depends on the services they require from the clerk.

Link to comment
Share on other sites

thank you for the link

After reading the link , am I right or wrong when I say that a queue is a collection of organized data that are processed and executed in a first-in-first-out policy ? and if I am right , are the data ,sent by a php application and received by the server database , awaiting for execution organized in a queue and executed in first-in-first-out??? like a group people, in a rank , waiting in the post office . the first who comes is served then it goes then comes the second then and so on .....is it the same with server database ?

Link to comment
Share on other sites

After reading the link , am I right or wrong when I say that a queue is a collection of organized data that are processed and executed in a first-in-first-out policy ?

Correct.

are the data ,sent by a php application and received by the server database

It doesn't matter. The definition of a queue does not depend on any language or database.PHP implements a queue using a doubly-linked list:http://php.net/manual/en/class.splqueue.php
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...