Home > Net >  C # to tackle the problem of article 5000 of the JSON bosses to guide it
C # to tackle the problem of article 5000 of the JSON bosses to guide it

Time:10-05

This project can't use the multithreading (unity WEBGL, WEBGL support multithreaded), 0.2 seconds to refresh data at a time, three public a set of data objects, that is each update 15000 data, this how to optimize. The bosses have better method

CodePudding user response:

More than 1 w data, people do not see out, use data paging read less as far as possible

CodePudding user response:

0.2 seconds 15000 data.. Come, and the data? The socket or HTTP? What kind of program?

CodePudding user response:

Three items public a data, the game?

So my question is, are you all these 15 k data needs to be saved? Should not need to, is webgl, is showing, outdated data is out of date,

So I say so, you really have a limitation or the data of the 5000 article, this can MVVM, anyway, is always the article 5000, the updated refresh the 5000 refresh data as a also not is what big things, the key is to take 0.2 seconds, 0.2 seconds also does not need to refresh,

Basic is, after all, 200 milliseconds was too fast, "blink", so, I must need "blink" data? No, even a fry a software, the whole great China's hundreds of millions of people in the operation of the data, he will be in normal operation interface for 200 seconds brush a UI, you should brush, so also meaningless,

CodePudding user response:

In fact if analogy for fry a software, the operation of the stock exchange to set one hundred million, then cleaning, synthesis, and give you

So if that's the case, he will do in the outside, to your UI operation is actually very few

So now, will have the spark, storm, flink the value of such things exist, these things outside in the batch batch give you wash good, good synthesis, to the front end is just a small number of tasks

CodePudding user response:

refer to the second floor 711 glaciers response:
0.2 seconds 15000 data.. Come, and the data? The socket or HTTP? What kind of program?
WebSocket, article 5000 of the data

CodePudding user response:

reference wanghui0380 reply: 3/f
3 items public a data, the game?

So my question is, are you all these 15 k data needs to be saved? Should not need to, is webgl, is showing, outdated data is out of date,

So I say so, you really have a limitation or the data of the 5000 article, this can MVVM, anyway, is always the article 5000, the updated refresh the 5000 refresh data as a also not is what big things, the key is to take 0.2 seconds, 0.2 seconds also does not need to refresh,

Basic is, after all, 200 milliseconds was too fast, "blink", so, I must need "blink" data? No, even a fry a software, the whole great China's hundreds of millions of people in the operation of the data, he will be in normal operation interface for 200 seconds brush a UI, you should brush, so also meaningless,
feel very reasonable, party a's requirements are not refused to capital, we just can think of some way to increase the speed. Three public a data object is the 15000 data. I had a careful analysis of the 5000 data is a must to refresh (these are directly to refresh, not calculated). There are 5000 data to compute a (calculate a result). With a one page about 10 data to update, is stood 0.2 seconds at a time, you feel data? No thread processing data. In the main thread for processing

CodePudding user response:

reference wanghui0380 reply: 3/f
3 items public a data, the game?

So my question is, are you all these 15 k data needs to be saved? Should not need to, is webgl, is showing, outdated data is out of date,

So I say so, you really have a limitation or the data of the 5000 article, this can MVVM, anyway, is always the article 5000, the updated refresh the 5000 refresh data as a also not is what big things, the key is to take 0.2 seconds, 0.2 seconds also does not need to refresh,

Basic is, after all, 200 milliseconds was too fast, "blink", so, I must need "blink" data? No, even a fry a software, the whole great China's hundreds of millions of people in the operation of the data, he will be in normal operation interface for 200 seconds brush a UI, you should brush, so also meaningless,
which is for update to refresh the model, what kind of data structure is right. I first think of the dictionary, but don't feel right, variable dictionary is too time consuming

CodePudding user response:

You should make a program first, and then according to actual condition choose tuning, in fact it is not necessary to consider the c # the processing data, this data of a few millimeters is done, you should consider is unity rendering optimization,

CodePudding user response:

reference glacier 711 eighth floor response:
you should make a program first, and then according to actual condition choose tuning, in fact it is not necessary to consider the c # the processing data, this data of a few millimeters is done, you should consider is unity rendering optimization,

Not ah, I WWW request data is now, 2.9 MB of GC
  •  Tags:  
  • C#
  • Related