What term is used to describe sending the same message to the system and receiving the same response

I am looking for a term here.

in messaging systems you send a request and it processes and sends a response.

if the same request is sent, it should return the same response (but it is not necessary to process the details)

It will be like providing financial data twice.

+4
source share
4 answers

Is the term " idempotent " what you mean?

+1
source

I think idempotent is the word you are looking for.

Wikipedia says : “Idempotent operations are operations that can be applied several times without changing the result.”

+2
source

I think memoization may be what you are looking for.

The memory function “remembers” the results corresponding to a certain set of specific inputs. Subsequent calls from memorized inputs return the memorized result, rather than recounting it ...

+1
source

Echo?

Not sure if this is what you are looking for.

0
source

Source: https://habr.com/ru/post/1306176/


All Articles