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.

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.

The aim is to share an expensive resource. For example, in telecommunications, several telephone calls may be carried using one wire. Multiplexing originated in telegraphy in the 1870s, and is now widely applied in communications.

In telephony, George Owen Squier is credited with the development of telephone carrier multiplexing in 1910.

243 questions
108
votes
3 answers

FFMPEG mux video and audio (from another video) - mapping issue

I would like to place the audio from a video to another video without an audio (in one command): ffmpeg.exe -i video1_noAudio.mov -i video2_wAudio.mov -vcodec copy -acodec copy video1_audioFromVideo2.mov I guess "-map" is the correct way to do it…
Mark
  • 1,540
  • 2
  • 13
  • 21
53
votes
1 answer

Difference between HTTP pipeling and HTTP multiplexing with SPDY

Thanks to Google and Stack Overflow, I think I understood the difference between regular HTTP pipelining and HTTP multiplexing (e.g., with SPDY), so I made the diagram below to show the differences between pipelining and multiplexing based on three…
qualle
  • 1,347
  • 3
  • 14
  • 29
45
votes
2 answers

What is an http request multiplexer?

I've been studying golang and I noticed a lot of people create servers by using the http.NewServeMux() function and I don't really understand what it does. I read this: In go ServeMux is an HTTP request multiplexer. It matches the URL of each…
hermancain
  • 1,452
  • 2
  • 18
  • 24
42
votes
3 answers

What is the difference between HTTP/1.1 pipelining and HTTP/2 multiplexing?

Is it because it requires the responses to be made to client in the order of request that causes the head of line blocking problem in HTTP 1.1? If each request takes exactly an equal amount of time, then there won't be head of line blocking and…
prasun
  • 7,073
  • 9
  • 41
  • 59
27
votes
2 answers

What is low latency access of data?

What do you mean by low latency access of data? I am actually confused about the definition of the term "LATENCY". Can anyone please elaborate the term "Latency".
Debashisenator
  • 1,621
  • 4
  • 17
  • 16
22
votes
1 answer

Delay function execution

What is the simplest way to delay function execution in Scala, something like JavaScript's setTimeout? Ideally without spawning thread per delayed execution, i.e. sequential execution. The closest that I was able to find was Akka's Scheduler, but…
Oleg Mikheev
  • 17,186
  • 14
  • 73
  • 95
21
votes
2 answers

What's a file descriptor's "exception"?

When one calls select() asking which file descriptors have "exceptions" waiting, what does that mean? How does one trigger one of these "exceptions"? If anyone can point me to a nice explanation, that'd be awesome. I've been googling and can't find…
Verdagon
  • 2,456
  • 3
  • 22
  • 36
18
votes
1 answer

What are the underlying differences among select, epoll, kqueue, and evport?

I am reading Redis recently. Redis implements a simple event-driven library based on I/O multiplexing. Redis says it would choose the best multiplexing supported by the system, and gives the following code: /* Include the best multiplexing layer…
Min Fu
  • 789
  • 1
  • 6
  • 16
17
votes
3 answers

What does the term multiplexing mean in computer science?

What does multiplexing mean (in it's abstract form)? I understand you have 'multiplexers' in hardware and 'muxing' in networks. What would a good high-level definition be?
Ritwik Bose
  • 5,889
  • 8
  • 32
  • 43
12
votes
4 answers

Multiplex on queue.Queue?

How can I go about "selecting" on multiple queue.Queue's simultaneously? Golang has the desired feature with its channels: select { case i1 = <-c1: print("received ", i1, " from c1\n") case c2 <- i2: print("sent ", i2, " to c2\n") case i3,…
Matt Joiner
  • 112,946
  • 110
  • 377
  • 526
11
votes
3 answers

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() { return…
mnpr
  • 325
  • 4
  • 8
9
votes
2 answers

How to get calling button from a clicked event

I'm trying to make an small gui to deploy .ear and .war files on my local glassfish installation. SO i have made five rows containing a file name field, a checkbox and a button to bring up a file dialogbox to locate the war/ear file. It would be…
Buzzzz
  • 887
  • 3
  • 11
  • 18
9
votes
2 answers

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 does not work as there are only 6 active…
Kirill G.
  • 910
  • 1
  • 14
  • 24
9
votes
2 answers

Multiplexing channels in a websocket

I'm developing an application where I need real-time communication and file upload. I'd preferably like to do it over a single connection with multiplexed channels. I see there is a an extension to the websocket protocol to allow multiplexing but I…
B3NW
  • 163
  • 1
  • 2
  • 8
8
votes
0 answers

React Native Image requests over a single HTTP/2 connection

We have many React Native components rendering per screen and are witnessing performance issues due to many simultaneous http requests. Opening and closing a connection is expensive, and having too many simultaneous connections can hit…
sgarza62
  • 5,998
  • 8
  • 49
  • 69
1
2 3
16 17