Похожие чаты

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 ответов

9 просмотров

How you want to display it?

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

The DB approach sounds good

Fan / Ac- Автор вопроса
harꭑony5 (⊙ ◡ ⦿︎) ↺
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- Автор вопроса
harꭑony5 (⊙ ◡ ⦿︎) ↺
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- Автор вопроса
harꭑony5 (⊙ ◡ ⦿︎) ↺
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- Автор вопроса
harꭑony5 (⊙ ◡ ⦿︎) ↺
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

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

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

я не магистр хаскеля, но разве не может лейзи тип конвертнуться в не-лейзи запросив вычисление содержимого прям при инициализации?
deadgnom32 λ madao
100
Ребят такой вопрос я хочу пранк сделать в колледже и убрать все права установить 000 рекурсивно у домашней директории юзера, установить переменную окружения PATH в "" и сделат...
Super Sigma
21
Всем привет! Массив вводится с клавиатуры, кол-во элементов неизвестно, поэтому я указал arr db 100 dup(?) С нахождением максимума проблем нет, а вот минимум почему-то всегд...
En Vind Av Sorg
11
в сях есть множество как в питоне? для удаление дубликатов
Linus
25
Hi everyone, long time no see! 🐼 recently i want to update our Ergo Eco-System map, can everyone help to find out, which to delete and other new to add in? list it, that i can...
HEROKOO
14
I will wait, no problem, I invested in other project also, but with my 8 years experience I can see when something is not good enough. Last bull market everyone was so excited...
jeronim jurakovic
1
hi, just reinstalled komodo wallet, and can't find ARRR on there? tried to search ARRR and pirate and nothing came up... is arrr still supported on komodo wallet. it's been ...
Pilner
10
читать файл максимально быстро? странный вопрос))
zamtmn
53
If arrr gets implemented on cake wallet. Would that mean arrr/xmr swaps possible in cake wallet like atomic swaps on komodowallet ?
Keks Meister 🏴‍☠️
22
This topic is discussed al lot. Please use the search function for the answers. The same question pops up every two weeks. First check this video https://www.youtube.com/watch...
Enrico
2
Карта сайта