D
D
DenisVladimirovich2019-06-23 14:21:48
Python
DenisVladimirovich, 2019-06-23 14:21:48

How to handle BigData?

Good day dear gentlemen. Can you please tell me the best way to process a large amount of data in a Ract application and backend on Falcon (python)? I'm thinking of making a completely API in python, and then taking data for the frontend from it.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Robur, 2019-06-29
@Robur

no graph, and even more so a table on the screen, will not contain millions of values. even more than 100 is rare. You do not need to load all this and try to withdraw at once.
In order not to load more than necessary:
​​- filtering (for example, "data for today" or "for this person")
- pagination (next 50 records starting from 123849)
- aggregation (average income for each year over the past 10 years - you get 10 records in the answer)
- virtualized tables that render only what you need, and not all 100500 records that you fed it ( https://github.com/bvaughn/react-virtualized, google it further)
So that it does not slow down on the server:
- correct indexes
- Get the most out of SQL
- competent organization of data / work with them (if possible)

A
Alexander Pushkarev, 2017-08-20
@vetsmen

data.teg = ( !parseInt(data.teg) ? 'Нет' : 'Да' )
Work example:
3c7850fa03a544988276748be4be2d59.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question