Advertisement
Guest User

Untitled

a guest
Jul 16th, 2018
68
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:43:09.739] 1) Date check | From: 2018-03-16 16:02:13.000 | To: 2018-07-17 01:40:13.000
  2. [2018-07-17 01:43:09.739] ************************ 1. Rounding down the 'from' time to the nearest round period
  3. [2018-07-17 01:43:09.739] 2) Date check | From: 2018-03-16T16:00:00Z | To: 2018-07-17 01:40:13.000
  4. [2018-07-17 01:43:09.739] ************************ 2. Counting how many intervals exist in our to/from range
  5. [2018-07-17 01:43:09.739] Time range is from 2018-03-16T16:00:00Z to 2018-07-17T01:40:13Z
  6. [2018-07-17 01:43:09.740] Number of 1 hour periods in range: 2941
  7. [2018-07-17 01:43:09.740] ************************ 3. Generating an array with all of the potential time slots for bars that could exist in our period
  8. [2018-07-17 01:43:09.870] ************************ 4. Checking to see if each bar exists in Redis (cache) before we go to the DB
  9. [2018-07-17 01:43:10.381] ************************ Done getting elements from Redis
  10. [2018-07-17 01:43:10.381] No results found in cache
  11. [2018-07-17 01:43:10.381] ************************ 5. Calculating bars we need to get from the DB
  12. [2018-07-17 01:43:10.381] ********************************************************* 2018-07-17 01:40:13.000
  13. [2018-07-17 01:43:10.381] New time range is from 2018-03-16T16:00:00Z to 2018-07-17T01:40:13Z
  14. [2018-07-17 01:43:10.382] Number of 1 hour periods in new range: 2937
  15. [2018-07-17 01:43:10.382] ************************ Getting bars from DB
  16. [2018-07-17 01:43:10.382] From: 2018-03-16T16:00:00Z | To: 2018-07-17 01:40:13.000
  17. [2018-07-17 01:43:26.270] ************************ Done getting bars from DB
  18. [2018-07-17 01:43:26.271] ************************ Adding new bars to Redis & assembling final result
  19. [2018-07-17 01:43:26.574] ************************ Done adding elements to Redis
  20. ************************ Returning bars Result
  21. query: 16836.879ms
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement