Похожие чаты

I have a tcp server which is always open and

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

10 ответов

22 просмотра

How you want to display it?

Fan / Ac- Автор вопроса

The DB approach sounds good

Fan / Ac- Автор вопроса
Link 🪈
The DB approach sounds good

yes but thinking of other ways to avoid unwanted db retrieval

Fan / Ac
i dont get you 🤔

I meant if you wanted in real time or needed the user to press a button or go to a specific url

Fan / Ac- Автор вопроса
Link 🪈
I meant if you wanted in real time or needed the u...

whatever that works, in both case i need to display data dynamically display data send from tcp server directly without storing it

Fan / Ac
whatever that works, in both case i need to displ...

How do you request the TCP data from the Django app?

Fan / Ac- Автор вопроса
Link 🪈
How do you request the TCP data from the Django ap...

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

Fan / Ac
maybe using api call i can post data from tcp ser...

Maybe redis will help you with what you want

Fan / Ac- Автор вопроса
Link 🪈
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

Похожие вопросы

Обсуждают сегодня

Господа, а что сейчас вообще с рынком труда на делфи происходит? Какова ситуация?
Rꙮman Yankꙮvsky
29
А вообще, что может смущать в самой Julia - бы сказал, что нет единого стандартного подхода по многим моментам, поэтому многое выглядит как "хаки" и произвол. Короче говоря, с...
Viktor G.
2
@Benzenoid can you tell me the easiest, and safest way to bu.y HEX now?
Živa Žena
20
This is a question from my wife who make a fortune with memes 😂😂 About the Migration and Tokens: 1. How will the old tokens be migrated to the new $LGCYX network? What is th...
🍿 °anton°
2
30500 за редактор? )
Владимир
47
а через ESC-код ?
Alexey Kulakov
29
What is the Dex situation? Agora team started with the Pnetwork for their dex which helped them both with integration. It’s completed but as you can see from the Pnetwork ann...
Ben
1
Гайс, вопрос для разносторонее развитых: читаю стрим с юарта, нада выделять с него фреймы с определенной структурой, если ли чо готовое, или долбаться с ринг буффером? нада у...
Vitaly
9
Anyone knows where there are some instructions or discort about failed bridge transactions ?
Jochem
21
@lozuk how do I get my phex copies of my ehex from a atomic wallet, to move to my rabby?
Justfrontin 👀
11
Карта сайта