Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [networking]

Use this tag in reference to any topic related to networking hardware and software. Do not use this tag in reference to personal networking like on social media.

Filter by
Sorted by
Tagged with
1 vote
2 answers
212 views

Should non-browser applications connect to a URL?

I have written a game that users will download. When the game is started, I want it to automatically connect to the matchmaking server. Does that mean that, somewhere in the source code for the game, ...
Bobby's user avatar
  • 39
0 votes
3 answers
219 views

How is network virtualization useful?

I am trying to understand various virtualization techniques, and I am struggling to wrap my head around the concept of Network Virtualization. In case of the server virtualization, the objective is ...
Eric's user avatar
  • 135
0 votes
1 answer
176 views

Implementation of DHCP protocol?

I am taking a networking course, and am trying to understand protocols such as tcp/ip, DHCP etc. I did a google search for the source-code for TCP/IP protocol, and learnt that it resides in the kernel ...
Eric's user avatar
  • 135
1 vote
3 answers
460 views

Websockets, network delays and messages order

Let's say we have a group chat in a chat app build with websockets. And 3 users (A, B and C) chatting in that group. All 3 users send their message one after another with an interval of 1 second (it ...
forty5's user avatar
  • 39
0 votes
1 answer
100 views

Can a VPN tunnel be multiplexed for redundancy?

I’m trying to use a VPN on an unreliable network that blocks UDP and randomly kills TCP connections (by spoofing RST packets). With OpenVPN this is tough because all the tunnel traffic gets sent ...
moriarty's user avatar
0 votes
1 answer
31 views

Multiple objects using the same connection for communication, filter messages "above" or inside the objects?

I have a single connection being used by multiple devices, and I'd like to filter the messages so that each device only reacts to messages intended for it. This can be done with an unique ID field in ...
Markus Meskanen's user avatar
0 votes
1 answer
76 views

NIC handling multiple packets at once

Can NIC handle(send/receive) multiple packets at once? For example, 2 asynchronous tasks request 2 different things from a database. Are those 2 requests sent simultaneously by NIC? Also, are the ...
DimitrijeCiric's user avatar
-2 votes
1 answer
297 views

Is it possible to connect two devices on the internet if both are behind NAT using this method?

If i understand NAT correctly, by default a device outside of the NAT cannot reach a device inside it. If the two devices use a central server to connect however they can obviously communicate. My ...
DrWCTapir's user avatar
1 vote
1 answer
850 views

GRPC over internet

I want to build a grpc server which will be run by a company (service provider) and multiple client each run by a different company (a client). I thought of this instead using a Rest API to get ...
karim alpha's user avatar
0 votes
0 answers
167 views

How to maintain state for a turn-based game in django

I am using django to develop a turn based chess variant. I just finished using django-channels to create a lobby and match 2 players together. Now, I need to make them play each other and I'm thinking ...
Alex Li's user avatar
  • 109
0 votes
2 answers
204 views

What IP protocol number should I use for my custom IP protocol? [closed]

I want do develop an IP based protocol oriented to smallest possible data overhead. For example UDP adds overhead of 8 bytes header. I want zero header. I will use this protocol via 2G mobile network ...
user1576055's user avatar
0 votes
4 answers
414 views

GUID possible misuse as short term message id

I have an distributed application that sends P2P messages parallel (for fault tolerance) across different channels. This mandates an filter to avoid multiple receivement of the same message. Therfor I ...
Martin's user avatar
  • 231
-3 votes
1 answer
93 views

Looking for arguments: who decides about network connection technology: customer or supplier

I work for a supplier of software solutions, and when we want to deliver our solutions to the network of a customer, we are forced to use a myriad of tools: VPN connection over GlobalProtect, VPN ...
Dominique's user avatar
  • 1,788
0 votes
1 answer
406 views

Should SSDP be considered as a go-to option for local network discovery in software development?

I am currently working on a Raspberry Pi based robotics project that I would like to connect to a realtime customized control panel/dashboard, mostly for debugging purposes. I created a test setup ...
Stathis91's user avatar
3 votes
2 answers
252 views

Effective way to discover nodes in peer-to-peer network

I have nearly 300 devices interconnected in the local ipv4 network and would like to discover each other somehow. At the moment, I'm using mdns announce to achieve this (using avahi lib). This ...
Vencat's user avatar
  • 139
0 votes
0 answers
60 views

Restricting access to resources by source and destination IP

Forgive me if this is the wrong place to ask such questions - I am still extremely new to this field and am not even sure where the most appropriate place to look for answers is. Question: Assume I ...
jake_berenson's user avatar
0 votes
1 answer
109 views

How to establish communication between devices on separate local networks?

There is a number of devices with Internet access but they are on LANs and have no public IPs. As time goes by more devices will be added. I need to be able to communicate with each device on demand (...
user avatar
1 vote
1 answer
112 views

Contextual Implementation Overhead vs Redundancy

I have an application that has use cases relative to where it is used. A local client and server, where all the server data is in a single location and the client queries that server knowing it is ...
FinalFortune's user avatar
1 vote
1 answer
1k views

How does resuming downloads work?

I have seen download managers manage to resume HTTP downloads from where they stopped. How are they able to resume downloads? Is it related to the Accept-Range Header? Or are there other mechanisms ...
Vipin Menon's user avatar
0 votes
1 answer
86 views

What is the current practice in handling connection errors when the service "offers" multiple IP addresses?

With the current implementation of getaddrinfo(), I'm not given any information about a timeout of the IP address(es) returned. The library implementing that function has the information, but I haven'...
Alexis Wilke's user avatar
0 votes
1 answer
40 views

Do I have to duplicate implementations on a client server udp application

I think the question is pretty straight forward but just to clarify, if the client and server are separate machines and need to be able to communicate with each other, does that mean that certain ...
user avatar
2 votes
3 answers
904 views

How do RPC systems deal with slow or flaky networks?

In an RPC (Remote Procedure Call) design, an interaction across the network is hidden behind a synchronous API that makes the network interaction look (to the rest of the local program) like "...
Jeremy Friesner's user avatar
11 votes
5 answers
3k views

How can I discover a local network appliance and connect to its built-in webserver?

This question is vaguely Internet of Things (IoT) related - but it's about the intra-net (no external internet connection in this scenario - we are air-gapped). Let's say I have a new smart household ...
Wyck's user avatar
  • 222
0 votes
1 answer
782 views

Is Epoll/Multiplexing suitable to make network requests instead of "listen to" incoming requests?

I'm studying asynchronous IO, concurrent models for IO and how things works on windows, linux and most used web frameworks. I'm struggling on understanding why single-threaded event loops like the one ...
Mattias Santoro's user avatar
0 votes
2 answers
711 views

Concurrent network I/O

Correct me if I am wrong, but regarding file I/O and concurrency, I understand that it makes no sense to read 2 files concurrently, since the data bus cannot be used simultaneously. This means that ...
Nadir's user avatar
  • 103
-1 votes
1 answer
307 views

How should a client handle receiving data from a separate thread?

There are plenty of tutorials on the internet on how to build a server that handles its clients through the creation of separate threads, but there is no tutorials (at least I couldn't find any) on ...
emredesu's user avatar
  • 103
0 votes
4 answers
466 views

Where is network data stored while awaiting to be written to disk?

I think download rates may depend on these 3 factors: the Network Infrastructure (router, VPN, network card, towers), the RAM or cache, the Final Storage (HDD or SDD or whatnot). So we take this as an ...
vixalien's user avatar
  • 133
2 votes
2 answers
263 views

Is there a reliable way to get get the fingerprint of a file hosted online, without fully downloading it?

Background Tertiary to this question, I have been building my own imageboard that prevents [for example] duplicate images from being downloaded again and again on behalf of the client. How I do this, ...
Anon's user avatar
  • 3,613
-2 votes
1 answer
67 views

Automated Encryption Keys

A question that I have been wondering for quite some time now, is how do two devices send encrypted data over the internet know the encryption keys to encrypt and decrypt the data, or more importantly ...
TheAdmin's user avatar
1 vote
1 answer
203 views

How can an anycast IP address handle millions of RPS (requests per second)

So, in terms of systems design: given a highly scalable system being served through a single load-balanced anycast IP address, when that system receives a load in the order of (hundreds of) millions ...
CBlew's user avatar
  • 119
2 votes
1 answer
129 views

Transfer a changing file over unreliable network

Summary: I want to transfer a file which changes over time, probably faster than the available connection allows a successful transfer. Setup: A remote device with bad network reliability and speed ...
pwoolvett's user avatar
  • 129
2 votes
4 answers
388 views

Reverse Load Balancer: Out Balancer?

Load balancing in is a common topic, but there isn't as much said about load balancing out. I may have an application that can prepare 1mm requests/s but is unable to send them all out at that speed ...
micah's user avatar
  • 195
-3 votes
1 answer
290 views

Would structs be better than classes in this scenario?

I've recently been developing a networking application layer (or at least attempting to) for my game I've been working on. I think I've got a decent basic idea for the system now, but there is ...
Buretto's user avatar
  • 117
1 vote
3 answers
2k views

How to handle database connection drops?

I'm currently writing some microservices, some of them communicating using RabbitMQ, RedisDB, Kafka and other communication streams. When any of those connections drop, I can't know for sure if a ...
Bharel's user avatar
  • 137
0 votes
1 answer
40 views

Remotely monitoring bash terminal progress

I'm thinking of creating a system which would help me transfer the output of my bash terminal to an app in a remote device(like my Android smartphone). I was thinking of tackling this problem as just ...
Daman Arora's user avatar
-2 votes
1 answer
61 views

A Recipe for Handling an AWS Network Request from Start to Finish at Global Scale

I have been reading the AWS documentation for a solid 2 weeks, and configuring a terraform system to deploy a multi-region network. I have it mostly wired up, but I am not sure I have accounted for ...
Lance's user avatar
  • 2,615
2 votes
0 answers
34 views

In a multi-region network, how do you organize requests through VPNs for atomic database transaction requirements?

I am trying to setup a multi-region (global) AWS system, where each region (which has multiple availability zones) has its own VPC. In theory these VPCs all use different portions of the private IP ...
Lance's user avatar
  • 2,615
-2 votes
1 answer
81 views

How the basic structure of a simple messaging app works?

How the messaging apps works? What is the Basic algorithm of it? I tried the following method to make a messaging app. I enters message Message converts to a text file Text text file uploads to the ...
Rajodiya Jeel's user avatar
-1 votes
1 answer
840 views

Suitable networking protocols for low latency, one-packet messaging

What would be some suitable transport and application layer protocols for a secure payments network where low latency is a key goal? Here "low latency" means completing an encrypted ...
LearningFast's user avatar
3 votes
1 answer
208 views

The publish-subscribe pattern: garbage-collecting old subscriptions

I've been studying distributed systems design, in particular the Udi Dahan's class. He talks about the publish-subscribe pattern as a common pattern in messaging-oriented designs. There's obviously a ...
liori's user avatar
  • 725
-1 votes
1 answer
55 views

How can we extend a packet in the case of an overflow?

I have asked this question in stackOverflow, but I guess that maybe softwareEngineering is more appropriate. (here is the question in stackOverflow) I have frames sized with a fixed size of 7 values (...
Nour's user avatar
  • 13
0 votes
1 answer
221 views

Finding the IP of a specific IoT device on a local network reliably without DNS?

I'm currently designing an IoT device that connects to a home network and an app to communicate over said network. I'm trying to find a way to reliably connect to the IoT device/ make the IoT device ...
ChrisOverboard's user avatar
0 votes
1 answer
779 views

Modbus over TCP concurrency pattern

I'm trying to learn about MODBUS as a free-time project. It is a long standing desire to write my own driver in Golang. That being said, I'm now trying to design the concurrency model for device ...
Tim's user avatar
  • 111
1 vote
1 answer
107 views

Multiple webservices on a single port

I am developing a webservice, which offers different services, but currently under different ports. Existing services like GitHub or GitLab also several services, but I am wondering how they can ...
Daniel Stephens's user avatar
-5 votes
1 answer
27 views

Implementing an intranet software in which client machines get push updates from a server?

I have an existing .net server infrastructure that resides in a company's intranet. Now for a new feature I'd like normal users (employees) to receive notifications on their machines when specific ...
Thypari's user avatar
  • 91
3 votes
1 answer
281 views

Publisher-Subscriber architecture with central registry

Problem description Publisher-Subscriber architecture with a central registry where agents can either promote their capabilities or search for a given capability. The project must be developed with ...
Dayrona's user avatar
  • 139
-4 votes
2 answers
81 views

How do browsers isolate traffic within a single tab?

I know that browsers use a separate port for each tab. However, in each tab, there might be multiple scripts doing data transfer over the network. How does a browser makes sure that the data is ...
marked-off-topic's user avatar
2 votes
2 answers
836 views

TCP delayed acks vs Nagle's algorithm

When you have an application that suffers from the unfortunate interaction between TCP delayed ack and Nagle's algorithm, common solution offered is to turn off Nagle's algorithm. However, in general ...
aoak's user avatar
  • 671
-2 votes
1 answer
131 views

How do you implement an app autoupdate feature from scratch?

I am trying to imagine how Google Chrome automatically updates but have some questions: Is this against Apple's terms of service? I feel like I've seen somewhere that Chrome for MacOS isn't in the ...
Lance's user avatar
  • 2,615
-3 votes
1 answer
100 views

What exactly is HTTP/2 protocol

Saw below definition on https://http2.github.io/: What is HTTP/2? HTTP/2 is a replacement for how HTTP is expressed “on the wire.” It is not a ground-up rewrite of the protocol; HTTP methods, status ...
kulsin's user avatar
  • 275

1
2 3 4 5