Questions tagged [multiplexing]

In telecommunications and computer networks, multiplexing (also known as muxing) is a method by which multiple analogue message signals or digital data streams are combined into one signal over a shared medium.

0
votes
0answers
2 views

Multiplexing in golang

I'm looking to develop a permanent connection to a server, for that I need to implement a multiplexing network point in golang, I'm just starting in golang and I need to a help to understand the ...
0
votes
0answers
9 views

Where is the SPI multiplexer of my dreams?

Consider you have an SPI bus with only a single chip select. Is there a chip such that I can connect 8 or more devices to that SPI bus? To simplify things, you may assume that all devices agree on ...
0
votes
0answers
12 views

How does multiplexing in Django sockets work?

I am new at this part of web developing and was trying to figure out a way of creating a web app with the basic specifications as the example bellow: A user1 opens a page with a textbox (something ...
0
votes
0answers
24 views

Sending http2 requests from multiple IP

I am able to send http2 requests from one IP to server using go, but I want to send multiple http2 requests from different IP's from same physical machine using go.
0
votes
0answers
41 views

how to do http/2 multiplexing using golang or curl command?

I am trying to send multiple http2 requests parallely form different IP's, but it seems curl doesn't support that, is there anyway i can do it using go-lang? or any other way?
4
votes
0answers
69 views

React Native Image requests over a single HTTP/2 connection

We have many React Native <Image> components rendering per screen and are witnessing performance issues due to many simultaneous http requests. Opening and closing a connection is expensive, and ...
-1
votes
0answers
24 views

Concat video files on linux by creating chapters

I do have a bigger range of video files I would like to concat and mux into MKV via CLI. Additionally I do need to keep the structure of the files by generating chapters in the output file which ...
2
votes
1answer
65 views

Java 11 HttpClient Http2 Too many streams Error

I am using HttpClient of Java 11 to post the request to an HTTP2 server. The HttpClient Object is created as a Singleton Spring bean as shown below. @Bean public HttpClient getClient() { ...
1
vote
4answers
113 views

C: select() - Signal interrupt

I'm writing a multithreaded server program in C that works with AF_UNIX sockets. The basic structure of the server is: Main thread initialize data structures and spears a pool of "worker" threads. ...
2
votes
0answers
44 views

Multithreading and socket multiplexing (pool) [closed]

I'm writing a server program in C for academic purpose. The server lunch a fixed number of worker thread during initialization then the threads start waiting on a "request list". After that the ...
2
votes
3answers
173 views

C# Socket BeginAccept vs Select?

I am learning Socket Programming to make a chat room. I know that I could use async socket such as listenFd.BeginAccept(AcceptCallback, listenFd); Also I could use Socket.Select(checkRead,null,...
0
votes
2answers
34 views

Java NIO multiplexed Server: should I use worker threads to process requests?

Should I accept connections and monitoring clients on a listener thread and then let workers handle the request and answer to the client, or should I do everything on one thread?
0
votes
0answers
60 views

Multiplexing an Ultrasonic Sensor using Arduino Mega and 74LS153N MUX Chip

basically what I'm trying to do is Multiplex ultrasonic Sensors, but I'm only able to obtain only data from one sensor for the other sensor in not able to obtain data. In the code below I'm only ...
0
votes
1answer
20 views

Does passing data through multiple UDP ports increase performance

I'm currently implementing reliable UDP transport inspired by KCP, Dragonite, and QUIC just in self-education purpose. I want to apply several optimizations, one of which is multiplexing. My idea is: ...
0
votes
0answers
15 views

How to address pin multiplexer on Jetson Xavier?

I was just handed an NVIDIA Jetson Xavier to "make it work" - Linux isn't my strong suit, and I need a few pointers on accessing the pin multiplexer. I have some software support via other software ...
-2
votes
1answer
57 views

Flume: (OR) RegEx and multiplexing

I am trying to set up a flume agent that is able to recognize two specific codes for currency: EUR or USD. I also need to keep (but not identify) any other string. I am following a very good example. ...
0
votes
0answers
85 views

Unsubscribe Multiplexed WebSocketSubject Only When No More Consumers Exist

Using Angular 6. I'm following the guidelines here, related to creating a multiplexed WebSocketSubject. My service: public getStuff(topic: string): Observable<any> { return this.subject....
1
vote
0answers
28 views

How can I write data to kafka topic and hdfs at same time with flume

I read text files and want to write data with flume to kafka topic and hdfs. You can see my configuration below. I implement source in flume application and I read from text file and create an event ...
2
votes
1answer
116 views

How to work around open files limit when demuxing files?

I frequently have large text files (10-100GB decompressed) to demultiplex based on barcodes in each line, where in practice the number of resulting individual files (unique barcodes) is between 1K and ...
1
vote
1answer
130 views

Bash Script: Split screen + launch programs remotely

I've been using a bash script for monitoring and auditing purposes on local machines. It relies on multiple external programs that are launched automatically to gather, display and save information. ...
0
votes
0answers
24 views

what will be the answer for this FHSS process?

Suppose, you are provided with eight different hopping frequencies that ranges between 1300 kHz to 1500 kHz. If that frequency range is equally divided for mapping eight different 3-bit patterns, ...
0
votes
0answers
18 views

Python - Can hyper module support multiplex?

I want to know that when i call request function in hyper module serially, the streams on single connection really would be multiplexed. Thank u
1
vote
1answer
211 views

Multiplexing vs Multithreading on a TCP Distributed System

When designing a distributed system with 30 plus applications that each have 4 threads a piece for communication, so 120 threads total of 30 applications. We use ZeroMQ which uses Linux Sockets. Is ...
0
votes
1answer
141 views

Arduino: Multiplexing 4 Digit 7 Segment Display

I am relatively new to Arduino, so do not mind minor mistakes! I have written the following code to multiplex a 4 digit 7 segment display with my Arduino Uno. Now I have made the mistake, so that when ...
0
votes
1answer
65 views

How do I setup Spring Integration Collaborating Channel adapters with Java annotations?

I have seen other posts related to my question but none of the answers have helped me solve my problem. I was trying to follow the example here: https://github.com/garyrussell/spring-integration-...
2
votes
0answers
231 views

VHDL multiplexing seven segment display

I am trying to implement a half adder. I am using a multiplexer to drive two digits on a seven segment display on a board with a 32 MHz clock. I want each digit (connected to active-low anodes 0 and 1)...
0
votes
1answer
268 views

Is this an efficient way to parse function parameters?

So I am new to C#, but one thing I already like coming from other higher level languages is the ability to do bitwise operations in (close to) C. I have a bunch of functions where some or all ...
0
votes
1answer
133 views

How to multiplex named pipe / fifo

Say we have a named pipe: mkfifo my_named_pipe say there are multiple writers writing to this named pipe: node x.js > ${my_named_pipe} & node y.js > ${my_named_pipe} & node z.js > $...
0
votes
1answer
78 views

How do I do multiplexing on OkHttp?

I see some older questions about using SPDY (though the code has changed significantly since then), but no insights into how to properly leverage multiplexing and/or pipelining in OkHttp. I've gone ...
1
vote
0answers
266 views

Drawing a multi layer network

I want to draw a Multi layer network by using Python. The expected graph likes this: I want to use Python's Multinetx to draw this network. This is my command: import Multinetx as mx import ...
-1
votes
1answer
26 views

can the 74ls151 mux be used as a demultiplexer?

I am connecting a 74ls151 to rpi 3 and what to use it as a demultiplexer for switching mpu6050 on/off. Can the 74ls151 be used as demultiplexer?
0
votes
1answer
35 views

descriptor bit setting in select()

I am currently studying select() for I/O multiplexing in network programming. select takes following arguments: int select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct ...
3
votes
3answers
479 views

Why HTTP/2 does multiplexing altough tcp does same thing?

As far as i know, TCP break down a message into segments. So, Why is multiplexing again on HTTP2? What are the benefits of multiplexing twice?
1
vote
4answers
106 views

Efficient one-liner to subsample `i`th `n` elements out of every `m` elements on a list

I am looking for a memory/cpu efficient one-liner to subsample n out of every m elements on a list. So far I have got: sb = [11,12,21,22,31,32]*4 #stream buffer, e.g. 4 identical frames ci = 1 #1-...
1
vote
1answer
40 views

Does http2 include a demux mechanism?

As I simply understands HTTP2 is m:1 pattern where you put m logical connections into 1 TCP stream Is it possible to do m:n pattern in http2? m streams are demuxed into n connections for better ...
1
vote
1answer
84 views

4x4 membrane keypad giving unexpected signals

I am working on a project where I try to code my own function for a membrane keypad. I want the 16 key states to be stored in a uint16_t variable, so I have only one variable. The code compiles. The ...
0
votes
1answer
330 views

How to multiplex channel output in go

I'm looking for a solution to multiplex some channel output in go. I have a source of data which is a read from an io.Reader that I send to a single channel. On the other side I have a websocket ...
1
vote
0answers
71 views

Perform ~500 queries from PHP using all the modern features of HTTP/2

I develop some middleware (actually scraping tool) and need send ~500 POST requests to one server for receiving answers. Server supports HTTP/2. I'm using PHP 7.1 with libcurl/7.53.1, i.e. all ...
2
votes
1answer
412 views

DTS and PTS are different, despite not having B-frames (ffmpeg)

Just a quick question in regards to video encoding/muxing a video file with ffmpeg. Basically, I have my muxer functioning and I'm trying to have my packets output the correct PTS/DTS. This is a ...
0
votes
1answer
238 views

how does pselect blocks signal using signal mask in network programming

I am currently studying the concepts of network programming in which I came across one of the functions pselect() which resolves the issue of select ie. with select(), there is a chance of problem ...
0
votes
0answers
354 views

UDP sockets Multiplexing/Demultiplexing

There are already some questions regarding this, but I want to ask something very specific that does not seem to be covered by the others. So, I'm aware that the same UDP port (server) can be used by ...
1
vote
1answer
81 views

Write a list demultiplexer

I'm trying to process the channels of an audio signal. I get the signal as list of frames where each frame has a sample for each channel. Now I would like to process the streams independently then ...
2
votes
2answers
906 views

Google Chrome does not do multiplexing with http2

I am building a webapp and serving it over http2. However when I analyze network in Google Chrome (Version 59.0.3071.115 (Official Build) (64-bit))'s developers tools, it is clear that multiplexing ...
0
votes
1answer
383 views

Is it possible to use JMeter to make multiple HTTP/2 requests in one connection (multiplexing)?

I am trying to run RESTful API performance test against a web app using JMeter. In the actual case, a web site would make 4-5 asynchronous API calls to the web app under HTTP/2 in one connection using ...
0
votes
1answer
953 views

Reusing the same socket connection for multiple requests

This question may be slightly off topic but I didn't know where else to ask. I was reading this https://github.com/msgpack-rpc/msgpack-rpc/blob/master/spec.md and saw that the specification included ...
0
votes
1answer
216 views

How can I mimic reading multiple RFID readers through Softwareserial library in a loop?

I am working on a project that requires reading from six ID-12LA RFID readers simultaneously. I’ve tried setting up readings from six channels through the Sparkfun Analog/Digital MUX Breakout board (...
0
votes
1answer
141 views

Client-server echo-chat (multiplexing I/O + threads)

I just started learning C language and I'm trying to get deal with Windows Sockets. The problem is the server can accept and send message only once. I used debug mode and saw that work stops in ...
0
votes
1answer
880 views

What are server resources?

I am reading about Priority concept of HTTP/2 but I'm not sure how it can be implement in a real server-client system. As I can see, Priority informs server what stream should be sent to client ...
1
vote
2answers
317 views

why http/2 stream id must be ascending?

in RFC 7540 section 5.1.1. (https://tools.ietf.org/html/rfc7540#section-5.1.1), it specifies as following: The identifier of a newly established stream MUST be numerically greater than all streams ...
0
votes
0answers
66 views

Python 7 segment multiplexing buggy with making stopwatch

I need to make stopwatch on a 7 segment display. But when I try it, it blinks. I don't want this effect, but I don't know how to write code for a stopwatch that doesn't blink the whole time. I tried ...

http://mssss.yulina-kosm.ru