|
One of my friend recently had an argument in his team about the pros and cons of event driven programming vs sequential programming.
What are your views about it?
Started by sachin on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
A program's startup, shutdown, and maybe a main processing loop (say, a filter processor in an image app) will be largely sequential software is like this as far as....
Note that typically, these two things are combined.
sequential" style.
|
|
Has someone ever measured performance of Sequential Guid vs. Standard Guid when used as Primary Keys inside a database?
Started by massimogentilini on
, 7 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Elapsed
Sequential Guid , 0....
Time: 0.12.
Request for second: 87.1
Avg.
Process duration: 4.6 sec
Avg.
Clustered index Problem happens both on Oracle and SQL Server
A possible solution is using Sequential
Sequential Guid
Avg.
|
|
I have an image generator which would benefit from running in threads. I am intending to use POSIX threads, and have written some mock up code based on https://computing.llnl.gov/tutorials/pthreads/#ConVarSignal to test things out.
In the intended program...
Started by James Morris on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Just accept that the rows will be done in a non-deterministic order; it sounds like that is happening because they take different lengths of time to render, in which case forcing a completion order it's pretty much inevitable that the results....
|
Ask your Facebook Friends
|
Hi, I am working on a winform (.NET) application which includes Orders, Invoices, Service Orders, Ticketing etc.
It it necessary for these enities to be sequential when numbering their IDs? IMO no. Take an order for instance, it can only be valid once...
Started by Saif Khan on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
You only need....
It is required by law that your invoices have invoice numbers in an unbroken sequential orderSequential numbers are not necessary, and in some scenarios are a bad idea (in security-conscious the "OR-" at the layers above the db.
|
|
I use jQuery. And I don't want concurrent AJAX calls on my application, each call must wait the previous before starting. How to implement it? There is any helper?
UPDATE If there is any synchronous version of the XMLHttpRequest or jQuery.post I would...
Started by Jader Dias on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Is there a reason you want them sequential multiple Ajax requests are made in rapid succession, the results can be returned out of order..
Is to make the calls synchronous rather than async.
|
|
Hi All,
I need to create a non sequential list of numbers that fit within a range. For instance i need to a generate a list of numbers from 1 to 1million and make sure that non of the numbers are in a sequential order, that they are completly shuffled...
Started by Modika on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
A sequenceHow "non-sequential" do you want it?
You could easily generate a list of random numbers @intFrom = @intFrom + 1 END SELECT * FROM....
Are in sequential order then every number in the sequence must be less than its predecessor.
|
|
I am writing an application in Erlang/OTP and want to use sequential counters on a version recording system.
I first implemented them with mnesia:dirty_update_counter
but the experience of using it drove out these hard requirements: The counters must ...
Started by Gordon Guthrie on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
The RabbitMQ suggestion above is one.
Persisting them would be necessary somewhow.
Of getting them in order.
|
|
Simultaneous Or Sequential write operation-- Does it matter in terms of speed?
With multicore processor, does it make sense to parallelize all the file write operation using multi thread, just to get a boost of speed? Of course, all those write operations...
Started by Ngu Soon Hui on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Sequential reads and writes ....
Parallelizing writes you have good chances to worsen performance by incurring seeks .
Note, you can help things if you order the writes so they are sequential in a file sequential.
Life complex.
|
|
We are building order processing system. We have a cluster of processing servers. We need to assign readable numbers to the orders (e.g. ORD- 1, ORD- 2).
Main problem that this is hard for us to implement system wide lock. I am thinking about schemas ...
Started by Mike Chaliy on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Have each server hand out sequential (Dummy) SELECT '' SELECT 'ORDER_N' + CONVERT(VARCHAR(50), @@IDENTITY) AS NewOrderNumber
UPDATE: Even if you have different users (multi ....
To have, at most, ten servers in any realistic period of time .
|
|
I have a dataset that contains:
Table { date itemName }
The date for the most part is sequential. There are no duplicates of the date [as it is the primary key].
The question is split up into multiple parts (all with respect to using SQL):
Is it possible...
Started by steven on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
T1.date - INTERVAL '1 day') ) ORDER BY date OFFSET 1 -- this will skip the first element
This will get you - INTERVAL '2 day')) AND (t2.date < t1.date) ) ORDER BY date OFFSET 1
you can use the INTERVAL length - lag(date) OVER w AS....
|