latency

Amazon EC2 latency

孤街醉人 提交于 2019-12-24 01:15:55
问题 What's the expected latency for a simple connection between a pair of Amazon EC2 instances in the same region? Thanks! 回答1: The latency should be similar to the latency of two computers in the same LAN. Just make sure that you are using the private IPs when connecting the two images and not their public ones. 来源: https://stackoverflow.com/questions/4490168/amazon-ec2-latency

Is compaction really inevitable for all JVM GC implementations?

痞子三分冷 提交于 2019-12-23 15:27:10
问题 On this link it is said that: These pauses are the result of an inevitable requirement to compact the heap to free up space. Collectors use different strategies to delay these events, but compaction is inevitable for all commercial available collectors. I was under the impression that if you keep the memory footprint of your application constant then there is no need for GC compaction to occur, in other words, it will only happen if you keep adding and collecting objects. If you have a big

What are the latencies of GPU?

被刻印的时光 ゝ 提交于 2019-12-23 12:50:12
问题 I can find the latencies in terms of either ns or CPU cylces between CPU core and its cache, main memory, etc. But it seems so hard to find similiar information about modern GPU. Does anyone know about the latencies of GPU, esepecially the latencies between modern nvidia GPU (GF110 or later) and their memory, thanks. GPU memory do have a much larger bandwidth, but what about their latencies? I heard that the latencies for GPU are just as high as these for CPU, so basically make the larger

Go HTTP Server Performance Issue

帅比萌擦擦* 提交于 2019-12-23 03:21:47
问题 I am writing an event collector http server which would be under heavy load. Hence in the http handler I am just deserialising the event and then running the actual processing outside of the http request-response cycle in a goroutine. With this, I see that if I am hitting the server at 400 requests per second, then the latency is under 20ms for 99 percentile. But as soon as I bump the request rate to 500 per second, latency shoots up to over 800ms. Could anyone please help me with some ideas

Go HTTP Server Performance Issue

大城市里の小女人 提交于 2019-12-23 03:21:03
问题 I am writing an event collector http server which would be under heavy load. Hence in the http handler I am just deserialising the event and then running the actual processing outside of the http request-response cycle in a goroutine. With this, I see that if I am hitting the server at 400 requests per second, then the latency is under 20ms for 99 percentile. But as soon as I bump the request rate to 500 per second, latency shoots up to over 800ms. Could anyone please help me with some ideas

How can I specify the region of a Google Cloud Function?

白昼怎懂夜的黑 提交于 2019-12-22 08:33:54
问题 I'm currently using Google Cloud Function to build up my restful API. However, I've found that it's slow because the my Google-Cloud-Function server is on "us-central", whereas my service is in Asia. I tried to change the default region of my Google Project to "asia-west-1" and restart the cloud function—I followed the steps outlined here—but, unfortunately, it's still in "us-central". How can I change the function's region ? 回答1: It seems that Google Cloud Functions are currently available

Google Web-fonts vs Actual font files - For all devices

こ雲淡風輕ζ 提交于 2019-12-22 05:35:09
问题 I'm looking to use Joesfin Sans. It's listed on Google web fonts. I also have the .eot, .svg, .ttf and the .woff. This means full compatibility with the files (as far as I know). My main question is: which is better? Does Google Fonts load faster? Is it more compatible? Or should I stick with the files? 回答1: If you want the quick and easy solution, embed the font loader code and move on. Google is frequently adding more options/features to their service. Personally, I prefer to download the

Live streaming video latency

纵饮孤独 提交于 2019-12-21 17:24:23
问题 Trying to determine what's "most" responsible for latency - the round trip my video makes from my encoder, to my server, and back down to the player in my browser. I'm at about 12 seconds right now with a player I like. Is it buffering in my player? Buffering on the way out by FMLE? The reason I ask is I feel I've eliminated other culprits with my little test scenario outlined below. And also, all else equal, swapping other players in produces the greatest variance in the latency. One takes

Live streaming video latency

混江龙づ霸主 提交于 2019-12-21 17:22:08
问题 Trying to determine what's "most" responsible for latency - the round trip my video makes from my encoder, to my server, and back down to the player in my browser. I'm at about 12 seconds right now with a player I like. Is it buffering in my player? Buffering on the way out by FMLE? The reason I ask is I feel I've eliminated other culprits with my little test scenario outlined below. And also, all else equal, swapping other players in produces the greatest variance in the latency. One takes

How to use Android audio with low latency

a 夏天 提交于 2019-12-21 00:53:20
问题 Problem: As you might have heard, Android does not provide with low latency audio API. What I mean by low latency audio is that you should be able to get audio signals from microphone and play the sound without much time gap in-between (e.g., 5-7 ms) I've tried old java (with AudioRecord and AudioTrack) and "new" OpenSL ES. They are terrible and make app unusable.The issue was well documented here. BTW, iOS API can produce about 5-7 ms latency. Looking for Workarounds: But I am trying to do