S
S
Spawelin2017-04-27 20:29:55
Netcat CMS
Spawelin, 2017-04-27 20:29:55

What is the best way to tie the sparsed database to the site?

I have little experience, so I'm asking how best to do it.
There is a site on cms Netcat. Everything is on a dedicated server with other sites.
It is necessary to fasten the sparsed database for 30k+ positions to the site, the database must be updated at least once a day.
It is necessary to make a certain selection on a specific page.
How, in a good way, to organize all this and not break anything?
Those. it will be normal if you run the parsing script using the crown and upload it to the general database of the site. It's just that if something goes wrong (the script doesn't work correctly, the timeout hangs itself..etc.) you'll have to take action.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
Zakharov Alexander, 2017-04-27
@Spawelin

It is necessary to break the process of loading third-party data into two stages. First, take the data to the database2 and if everything went well, then transfer it to the working database1. Or, after successful data loading, change the connection string, pointing to base2, etc. Then if something goes wrong, you will not switch base names at most.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question