bandwidth

AWS EC2 Elastic IPs bandwidth usage and charges

[亡魂溺海] 提交于 2019-11-28 15:54:51
I have a little questions regarding Elastic IPs and its charge. Some blogs says that Elastic IP will charge you by the bandwidth you use Elastic IP addresses charge by bandwidth and have an hourly price when they are not attached to a running instance From http://things.zarate.org/scaling-a-single-ec2-instance-and-downsizing From my understanding after reading some blogs and the documentation, you will only be charged if you use the elastic IPs in communicating between instances and if you have elastic IPs standing there idle on your account without being associated to your instance If you

Do certain characters take more bytes than others?

回眸只為那壹抹淺笑 提交于 2019-11-28 11:36:36
I'm not very experienced with lower level things such as howmany bytes a character is. I tried finding out if one character equals one byte, but without success. I need to set a delimiter used for socket connections between a server and clients. This delimiter has to be as small (in bytes) as possible, to minimize bandwidth. The current delimiter is "#". Would getting an other delimiter decrease my bandwidth? It depends on what character encoding you use to translate between characters and bytes (which are not at all the same thing): In ASCII or ISO 8859, each character is represented by one

Get ping latency from host

北城以北 提交于 2019-11-28 09:24:43
I'm trying to get the latency from host for a pretty good time and I'm stuck in. Already tried Simple Ping , but seems it doesn't return the latency. The closest I've done was when I use the TKC-PingTest for MAC OS. That works perfect but only in the iPhone Simulator because when use the iPhone I get an error due the patch "/sbin/ping" TKC uses. Besides these two, I already tried many others and got nothing. You can easily extend simple ping to calculate the latency. Simpleping.h defines the SimplePingDelegate protocol. There are two methods of interest - didSendPacket and

One big query vs. many small ones?

牧云@^-^@ 提交于 2019-11-28 07:51:57
问题 I'd like to know, which option is the most expensive in terms of bandwith and overall efficiency. Let's say I have a class Client in my application and a table client in my database. Is it better to have one static function Client.getById that retrieves the whole client record or many ( Client.getNameById , Client.getMobileNumberById , etc.) that retrieve individual fields? If a single record has a lot of fields and I end up using one or two in the current script, is it still better to

Check the bandwidth rate in Android

时光怂恿深爱的人放手 提交于 2019-11-28 07:00:18
We have an option to check the network connection types in Android (whether it is 3G, edge or gprs). I need to check the the bandwidth rate. I need to initiate a call. For that I need to check the bandwidth rate. Above a particular bandwidth only I need to make visible an option for a call (to initiate a call). I need to find the connection speed programmatically (connection speed for Mobile Data Link, EDGE). You can download a known-size file from your server, and calculate how long did it take to download it. Then you have your bandwidth. Simple but works :) Sample, not tested : //Download

Implications of using many USB web cameras

烈酒焚心 提交于 2019-11-28 01:40:23
I'm looking into connecting multiple low resolution USB webcams to a single computer. What implications might this have on performance? How does, for example, four 320x240 cameras fare against a single 640x480 camera? I'm not well versed in the architecture of the USB interface, what are the performance caveats? By performance I mean how would it affect the time to read the image data from multiple cameras compared to a single one. Each webcam is connected to a different USB port? If so, its good. Even if its just 1 port with 4 connected webcams. I dont think 4 320x240 will have any problem

Ajax chat polling bandwidth efficiency

雨燕双飞 提交于 2019-11-28 01:00:08
问题 I've written a small web application which is basically a JQuery powered chat client within the browser, to get the posts I'm polling the server with an AJAX request and then appending any new replies, I'm worried about making this as efficient as possible while not losing the realtime feel. http://darklightweb.co.uk/RealTime/ I can't see any way that interrupts are possible so I am polling a page every 5 seconds that returns nothing if no new posts are available to keep data-transfer down if

Tools for degrading my network connection? [closed]

独自空忆成欢 提交于 2019-11-27 19:08:13
I've written some applications than heavily use network, and I would like to test it over a slow network. I'm looking for a tool to simulate these kind of connections. I'm only interested in Windows tools. I've used Traffic Shaper XP on my XP dev box at work. It seems to handle any connection (not just HTTP). It wasn't perfect, but worked well enough for the tests I was doing. If you're on Windows maybe it'll do enough for you. Try dummynet . You will find lots of resources on the web, including this tutorial . Throughput, latency, jitter, and packet loss can all impact user experience.

Predict how much data will be pushed in a git push

 ̄綄美尐妖づ 提交于 2019-11-27 13:55:36
I am occasionally on an expensive Internet connection and I would like to know (at least approximately) how much data will be pushed to the remote in a git push . Actually, I think I like my comment enough to post it as an answer! When you push, git creates a pack of all the necessary objects and uploads that to the remote. This means we're looking for a way to predict that pack size. Since the packs are compressed, that makes it very difficult to do anything based on diffs or object sizes; what we really want to do is just see how big that pack will be. It'd be nice if you could interrupt the

Bandwidth throttling in C#

懵懂的女人 提交于 2019-11-27 12:49:37
I am developing a program that continually sends a stream of data in the background and I want to allow the user to set a cap for both upload and download limit. I have read up on the token bucket and leaky bucket alghorhithms, and seemingly the latter seems to fit the description since this is not a matter of maximizing the network bandwidth but rather being as unobtrusive as possible. I am however a bit unsure on how I would implement this. A natural approach is to extend the abstract Stream class to make it simple to extend existing traffic, but would this not require the involvement of