Questions tagged [lag]

Lag is a common word meaning to fail to keep up or to fall behind. In real-time applications, the term is used when the application cannot keep up with performance demand or user input. In other words, it refers to when the application is not keeping up with it's "real-time" concept, due to problems related to poor rate of cycles-per-second, a (possibly cumulative) lateness of response to user input, or other problems.

Lag is a common word meaning to fail to keep up or to fall behind.

In the software context, it usually refers to when a real-time application fails to keep up with demand or input.

The most common cases of lag are:

  • The application fails to respond in a timely fashion to inputs, usually due to a slow internet connection, server latency or overworked hardware.
  • The application fails to keep a good rate of Frames-Per-Second (FPS), which is very important for media playing (mainly video) and in real-time-rendering (mainly games).

Reference and further reading: Lag - Wikipedia

2078 questions
0
votes
1 answer

SQL average of all weeks by month

I am trying to get the average of all weeks for each month. How can I do this in MySQL? Below is what I have and also what I need: SELECT   date_part(year, date_of_act) AS CALENDAR_YEAR,  …
0
votes
1 answer

Creating Grid in as3

I am trying to make to grid to squares using as3. I am using nested for loops to create the grid. import flash.display.Shape; import flash.display.MovieClip; var n=10; var myClip = new MovieClip; stage.addChild(myClip); for (var i = 0; i < n…
user5260525
0
votes
1 answer

Create a new variable using dplyr where, based on whether one variable has a specific value AND the previous or next value has a different value in R

I have data which looks like this df <- data.frame( ID = c(rep("A12345",5), rep("A23456",10), rep("A34567",5), "A45678", "A67891", rep("A78910",8), "A91011", rep("A10111",4), rep("A11121",3), "A12131", "A16731"), medication =…
Laura
  • 499
  • 5
  • 13
0
votes
1 answer

SQL LAG IN CASE STATEMENT

I would appreciate any pointers on what is wrong with my case statement, if the Current CLUSTERn = Previous CLUSTERn Then add the Previous PRODCAT to the current line as PREVCAT... ORA-30484: missing window specification for this function 30484.…
Gavin
  • 147
  • 2
  • 3
  • 13
0
votes
2 answers

Incremental count

I have a table with a list of Customer Numbers and Order Dates and want to add a count against each Customer number, restarting from 1 each time the customer number changes, I've sorted the Table into Customer then Date order, and need to add an…
Gavin
  • 147
  • 2
  • 3
  • 13
0
votes
2 answers

Android Studio game running slower on newer devices and faster on older devices

When testing my app on my Samsung A5 phone, it runs significantly slower than when I run it on my friend's Samsung S3 phone. Both phones had no other apps running in the background and are running the exact same app. How come my newer phone ran much…
Niko
  • 45
  • 6
0
votes
0 answers

Apache Login Slow or 502 Error

MISP (Malware Information Sharing Platform) is built with Apache. Previously I had a publicly facing instance on Digital Ocean. No log in lag time at all. I've now moved behind an Apache reverse proxy which is managed by our network team. When…
0
votes
2 answers

What are the possible reasons for Lag in an iphone cocos2d game?

I am making a game similar to bust-a-move for the iphone. I am using cocos2d. I am encountering lag sometimes during the game. I have 6 different types of balls. I am creating 30 instances of each type and I reuse them. The problem comes when I…
0
votes
0 answers

Loading a lot of Mesh on Visual Studio C++ lagging

Right now im making a bowling game for school project with visual studio C++ directx 9, the problem is, i tried to load a lot of bowling pins, and its make the game very lag. is there any way to makes the game optimized(not lagging)? Im doing it…
0
votes
1 answer

Use of LAG - SQL Server 2014

I need to calculate a column (Transparencia) as the sum of the previous row's Transparencia and Dif values. Initially, only the first row has a value in the Transparencia column: Account ------ Year_ ---- Month_ ---- Transparencia ---- Dif …
Andrew8902
  • 23
  • 4
0
votes
2 answers

DB2 SQL: fastest way to get lagged value of many columns

There are many ways to get a lagged value of a certain column in SQL, e.g.: WITH CTE AS ( SELECT rownum = ROW_NUMBER() OVER (ORDER BY columns_to_order_by), value FROM table ) SELECT curr.value - prev.value FROM CTE cur INNER JOIN CTE…
Helen
  • 533
  • 12
  • 37
0
votes
1 answer

Compensating for latency (MORE THAN NETWORK LAG)

First, this is a question not only about network lag, but delay from wireless controllers and delay to TVs/Monitors. For a fast-paced action game, how do you compensate for these things? Has anyone come up with a reusable way to do this? If so, I…
Caleb Jares
  • 6,163
  • 6
  • 56
  • 83
0
votes
0 answers

Logging Kafka Partition and offset from Apache Storm Trident

Where are Kafka Partitions and corresponding Offsets stored while consuming messages from Kafka using Apache Storm Trident ? I could find something in Storm Zookeeper under ls /transactional//coordinator/meta. But I am unable to…
phaigeim
  • 729
  • 13
  • 34
0
votes
1 answer

TableView gets laggy with data

So I am facing a problem A table view gets slower (responses slower to scrolling, tapping) after reloading/adding rows for a couple of times So after the user logs in, the app downloads 10 "WorldMessages". It is loaded into this table view. If the…
Kárpáti András
  • 1,221
  • 1
  • 16
  • 35
0
votes
1 answer

Minifilter cause lag on disk management and system restore

I am trying to determine why my filter causes diskmanagement, diskmgmt.msc, to lag. It gets stuck for a lengthy period until it shows or not at all. My investigation and conclusion has narrowed the problem down quite a lot. I will write some code…
Alex
  • 365
  • 4
  • 17
1 2 3
99
100