-1
$\begingroup$

Can you guys recommend me a fastest algorithm which can process more than ten thousand orders per second.The purpose of the algorithm is to process these orders and thus to update or save those data persistently keeping them protected over time.But the problem is saving this in linear order causes funnel ie when trying to save 1000th order you have to wait for 999 order to get saved .Can you guys tell me an efficient data structure to implement this algorithm .Can i enhance that data structure to a higher level by applying threading concept.

I need an algorithm that implement the efficient of order processing

Please help me ..i am new to this sort of problem ..searched a lot to find rel-vent articles or post ..but failed miserably.Can you give me some reference link or point to some whitepapers or books to solve this issue .. Thanks and regards..

$\endgroup$
4
  • 3
    $\begingroup$ I don't think we have enough information to answer this question because it is not clear what "processing an order" means specifically or exactly what needs to be updated. $\endgroup$
    – D.W.
    Jul 27 at 22:30
  • $\begingroup$ Use an SQL database $\endgroup$ Jul 27 at 23:52
  • $\begingroup$ Modern databases have all the bells and whistles to implement such problems efficiently and safely. They would not be the bottleneck in your application. $\endgroup$ Jul 28 at 10:08
  • $\begingroup$ "when trying to save 1000th order you have to wait for 999 order to get saved": weird statement. You probably mean that 1) an order must be processed before it can be saved and 2) orders must be saved... in order. But both are false. $\endgroup$ Jul 28 at 10:11

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.