Advertisement
Guest User

Untitled

a guest
Jul 16th, 2018
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.82 KB | None | 0 0
  1. [2018-07-17 01:42:22.668] 1) Date check | From: 2018-03-16 16:02:13.000 | To: 2018-07-17 01:40:13.000
  2. [2018-07-17 01:42:22.668] ************************ 1. Rounding down the 'from' time to the nearest round period
  3. [2018-07-17 01:42:22.672] 2) Date check | From: 2018-03-16T16:00:00Z | To: 2018-07-17 01:40:13.000
  4. [2018-07-17 01:42:22.672] ************************ 2. Counting how many intervals exist in our to/from range
  5. [2018-07-17 01:42:22.673] Time range is from 2018-03-16T16:00:00Z to 2018-07-17T01:40:13Z
  6. [2018-07-17 01:42:22.674] Number of 1 hour periods in range: 2941
  7. [2018-07-17 01:42:22.674] ************************ 3. Generating an array with all of the potential time slots for bars that could exist in our period
  8. [2018-07-17 01:42:22.875] ************************ 4. Checking to see if each bar exists in Redis (cache) before we go to the DB
  9. [2018-07-17 01:42:24.044] ************************ Done getting elements from Redis
  10. [2018-07-17 01:42:24.044] No results found in cache
  11. [2018-07-17 01:42:24.045] ************************ 5. Calculating bars we need to get from the DB
  12. [2018-07-17 01:42:24.045] ********************************************************* 2018-07-17 01:40:13.000
  13. [2018-07-17 01:42:24.045] New time range is from 2018-03-16T16:00:00Z to 2018-07-17T01:40:13Z
  14. [2018-07-17 01:42:24.046] Number of 1 hour periods in new range: 2937
  15. [2018-07-17 01:42:24.047] ************************ Getting bars from DB
  16. [2018-07-17 01:42:24.047] From: 2018-03-16T16:00:00Z | To: 2018-07-17 01:40:13.000
  17. [2018-07-17 01:42:36.179] ************************ Done getting bars from DB
  18. [2018-07-17 01:42:36.179] ************************ Adding new bars to Redis & assembling final result
  19. [2018-07-17 01:42:36.320] ************************ Done adding elements to Redis
  20. ************************ Returning bars Result
  21. query: 13657.709ms
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement