i need to display the data received on the server on django app, whats a good way to do this, i can do db insert on tcp server and db retrieve on django app
what are the other ways ??
confused about how should i send data, should i post data to django app and store it in session and display
or make a get api on tcp server and send data on get request
How you want to display it?
i dont get you 🤔
The DB approach sounds good
yes but thinking of other ways to avoid unwanted db retrieval
I meant if you wanted in real time or needed the user to press a button or go to a specific url
whatever that works, in both case i need to display data dynamically display data send from tcp server directly without storing it
How do you request the TCP data from the Django app?
maybe using api call i can post data from tcp server to django app or i can make a get request for the data from django app
Maybe redis will help you with what you want
just to make it clear, you meant any message broker like redis or rabbimq can help
Обсуждают сегодня