I am working on a chatbot, where before I reply to the user I make a DB call to save the chat in a table. This will be done each time user types something, and it increases the response time.

So to decrease the response time, we need to call this `asynchronously`.

How to do this in Python 3?

I have read tutorials of `asyncio` library, but did not understand it completely and could not understand how to make it work.

Another workaround is to use queuing system, but that sounds like an overkill.

**Example:**

```
request = get_request_from_chat
res = call_some_function_to_prepare_response()
save_data() # this will be call asynchronously
reply() # this should not wait save_data() to finish

```

Any suggestions are welcome.