Questions tagged [network-efficiency]

22 questions
14
votes
2 answers

React Native for small size apk with low internet bandwidth

I am planning to develop an app for emerging market with low internet bandwidth. The app heavily requires an internet connection to function. I need this app to have a small apk size (not more than 10mb) and work on 3G network. Based on my…
abeikverdi
  • 1,216
  • 3
  • 13
  • 25
5
votes
3 answers

Best way to move files of varying sizes across slow network using .NET

I'm building a .NET remoting client/server that will be transmitting thousands of files, of varying sizes (everything from a few bytes to hundreds of MB), and I'd like some feedback on the best method for achieving this. As I see it, there are a…
SqlRyan
  • 33,116
  • 33
  • 114
  • 199
4
votes
2 answers

Does GWT serialize java.lang.Longs efficiently?

I'm sending object IDs back and forth from client to server through the GWT RPC mechanism. The ids are coming out of the datastore as Longs (8 bytes). I think all of my ids will only need 4 bytes, but something random could happen that gives me a…
Riley Lark
  • 20,660
  • 15
  • 80
  • 128
3
votes
2 answers

mapping encoded keys to shorter identifiers in appengine

I want to send unique references to the client so that they client can refer back to specific objects. The encoded keys appengine provides are sometimes 50 bytes long, and I probably only need two or three bytes (I could hope to need four or five,…
Riley Lark
  • 20,660
  • 15
  • 80
  • 128
3
votes
5 answers

Network-efficient difference between two strings in Javascript

I have a web application where a client side editor is editing a really really large text which is known on the server side. The client can make any kind of modifications to this text. What is the most network-efficient way to transmit the result…
LiraNuna
  • 64,916
  • 15
  • 117
  • 140
2
votes
1 answer

Most Efficient Way To Query Firebase Firestore For Posts

I am currently creating a sort of social media app and like any social media app, it is almost crucial to display some sort of information from friends. I have tried various ways to display posts to users that their friends have posted but it can…
2
votes
2 answers

Is it better to have one always open connection or is it better to establish a connection each time something is needed?

Currently my program establishes a connection to the server each time it needs to and closes the connection after it grabs what it needs. Connection con = DriverManager.getConnection(url, user, pass); //grab data con.close(); Is…
2
votes
1 answer

Token ring protocol Efficiency and Cycle time?

I read Token ring protocol from a book Forouzon. According to book, Let N be the number of stations in the ring, THT the token holding time, Tt be the transmission time of packet, Tp be the propagation time of packet on Channel/ Link. Then Cycle…
sachinmanit
  • 89
  • 10
2
votes
7 answers

Is HTML too much text for fast web?

Does anyone know anything about the efficiency of HTML as a transmitted markup language? It seems to me that having closing tags rather than merely a closing curly brace (or just ) adds a lot of text to a file. Bandwidth is a valuable resource,…
exupero
  • 9,136
  • 8
  • 47
  • 63
2
votes
2 answers

Android - Efficient way to load multiple images from remote server

I have an Android application that would retrieve data (images+text) from a php remote server and display them in a GridView. I am doing the operation in the background using Loaders. I have separate connections for images and texts since retrieving…
1
vote
1 answer

How do I calculate the global efficiency of graph in igraph (python)?

I am trying to calculate the global efficiency of a graph in igraph but I am not sure if I using the module correctly. I think there is a solution that might make a bit of sense but it is in r, and I wasn't able to decipher what they were saying. I…
1
vote
2 answers

How can I calculate global efficiency more efficiently?

I have created some code to calculate weighted global efficiency, however, the code is taking too long to run. I need to either make the code a lot more efficient or I need to find a more efficient way of calculating it for large data sets (up to…
1
vote
1 answer

Computing graph efficiency metrics of a very large network

What are strategies for calculating the nodal and global efficiency of very large graphs in R? I'm attempting to calculate the global efficiency of a very large igraph with brainGraph::efficiency(my_graph, type = "global"). library(igraph);…
Rich Pauloo
  • 7,734
  • 4
  • 37
  • 69
1
vote
1 answer

Sending partial updates/additions for (potentially) very large text files

Let's say an UA has requested my 800kB amalgamated source code file, and cached it. Let's say I then added a new function to that file. How can I have the UA fetch only the added function, and update its cache, using standard HTTP headers? I…
SoniEx2
  • 1,864
  • 3
  • 27
  • 40
1
vote
1 answer

Decrease HTTP to HTTPS redirect time

I don't even know if this is possible, but I decided to ask. We are using an Apache2 server. There is a 301 permanent redirect set up from http to https. View Waterfall of Load Times of Our Site However, I notice that the actual redirect time for…
1
2