H
H
hrvasiliy2014-09-28 22:06:32
PHP
hrvasiliy, 2014-09-28 22:06:32

How fast is data written?

How fast in time (possible in seconds) will the data be written according to the following scheme: Parsing -> Writing to the database -> Handler -> Writing to the database? And how can this process be accelerated? Writing to the database (About 2000 variables) There are no complicated actions in the handler.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Anton Kalashnikov, 2014-09-28
@hrvasiliy

Depends on the processing power of the machine on which the code is being executed.

X
xmoonlight, 2014-09-29
@xmoonlight

Parsing -> Write to DB -> Processor -> Write to DB? And how can this process be accelerated?
At least like this: Parsing -> Processor -> Writing to the database
Prepare data in blocks (not one by one, but several at once) and put them into the database in one transaction.

V
Viktor Vsk, 2014-09-29
@viktorvsk

Data is written very quickly. So fast that you usually don’t have time to read them, but they have already signed up. This process can be made faster if: 1) the amount of data is reduced, 2) the computing power is increased

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question