U
U
Us592019-11-05 22:31:23
memcached
Us59, 2019-11-05 22:31:23

Can MEMCACHED be used in this case?

Task: Combine information from 2 or 3 different queries.
There are 2 sites that I have to make requests to, different sites give different information, sites respond through the callback option, i.e. - sent a request and you need to accept the answer on my side, all I do is.
As I was advised, you can use MEMCACHED, you can write anything into it and then get it if necessary.
I have never used MEMCACHED, so the questions are:
1) How much information can I write through MEMCACHED? Those. Does it matter how much information I put in there, if so, how to check how much space is left for recording at the moment?
2) Whether use in similar situations MEMCACHED?? Can someone from practice tell me or throw alternative options?)
3) Do I need to install something on ubuntu to use MEMCACHED?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dimonchik, 2019-11-05
@dimonchik2013

you can
check the place with scripts
, there is also Redis for advanced and Aerospike for cool ones (well, MongoDb for hipsters)

R
Roman Mirilaczvili, 2019-11-08
@2ord

Memcached is not suitable for this task, because it doesn't look like caching.
It is necessary to think over a mechanism for delayed data retrieval using queues, when the receipt of data from each source is marked and when everything is received, you can start the HTML generation task.
Preliminary results are stored in the RDBMS.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question