Tuesday, 2019-04-16

*** tosky has quit IRC00:01
*** jamesmcarthur has joined #storyboard01:37
*** whoami-rajat has joined #storyboard01:53
*** jamesmcarthur has quit IRC02:08
*** jamesmcarthur has joined #storyboard02:39
*** jamesmcarthur has quit IRC02:46
*** jamesmcarthur has joined #storyboard03:02
*** jamesmcarthur has quit IRC03:39
*** jamesmcarthur has joined #storyboard03:40
*** diablo_rojo has quit IRC03:41
*** jamesmcarthur has quit IRC03:45
*** jamesmcarthur has joined #storyboard04:11
*** jamesmcarthur has quit IRC04:18
*** hogepodge has quit IRC06:32
*** johnsom has quit IRC06:32
*** dangtrinhnt has quit IRC06:44
*** johnsom has joined #storyboard06:55
*** hogepodge has joined #storyboard06:56
*** tosky has joined #storyboard07:23
*** jpich has joined #storyboard08:03
*** johnsom has quit IRC08:04
*** johnsom has joined #storyboard08:05
*** dtantsur|afk is now known as dtantsur09:35
*** lxkong has left #storyboard09:47
*** jpich has quit IRC10:58
*** jpich has joined #storyboard10:59
*** jpich has quit IRC11:12
*** jpich has joined #storyboard11:13
*** jpich has quit IRC11:14
*** jpich has joined #storyboard11:30
*** jpich has quit IRC11:30
*** dtantsur is now known as dtantsur|brb11:45
*** jamesmcarthur has joined #storyboard12:21
*** jpich has joined #storyboard12:25
*** jamesmcarthur has quit IRC12:30
*** scherbatsky has quit IRC12:44
*** jamesmcarthur has joined #storyboard12:48
*** jamesmcarthur has quit IRC12:58
*** mkarray has quit IRC13:20
*** dtantsur|brb is now known as dtantsur13:24
*** jpich has quit IRC13:25
*** jpich has joined #storyboard13:26
*** scherbatsky has joined #storyboard13:30
*** mkarray has joined #storyboard13:35
openstackgerritMalek Karray proposed openstack-infra/storyboard-webclient master: Allowing the user to choose what Columns are seen  https://review.openstack.org/65127013:41
*** ericbarrett has quit IRC14:16
*** dtantsur has quit IRC14:27
openstackgerritMalek Karray proposed openstack-infra/storyboard-webclient master: Allowing the user to choose what Columns are seen  https://review.openstack.org/65127014:29
*** dtantsur has joined #storyboard14:31
*** jamesmcarthur has joined #storyboard14:56
*** jpich has quit IRC16:04
*** jamesmcarthur has quit IRC16:04
*** jamesmcarthur has joined #storyboard16:13
*** jamesmcarthur_ has joined #storyboard16:48
*** jamesmcarthur has quit IRC16:52
*** diablo_rojo has joined #storyboard17:21
*** dtantsur is now known as dtantsur|afk17:36
*** jamesmcarthur_ has quit IRC18:25
*** jamesmcarthur has joined #storyboard18:26
*** jamesmcarthur has quit IRC18:35
*** irclogbot_0 has quit IRC18:39
*** jamesmcarthur has joined #storyboard18:40
*** irclogbot_0 has joined #storyboard18:42
*** Rou has joined #storyboard19:12
RouHola!19:12
RouI want to ask about something concerning SB API19:12
RouThe database side is all handled using SQLAlchemy, which doesn't use SQL precisely, rather some built-in functions19:14
RouI don't see much optimization would happen using their same queries19:14
RouI mean, it always follows this way, to select ALL data in a table first, then start filtering, and this is definitely not the best approach for retrieving data from a db.19:15
RouIt'd be better if I can start filtering from the very initial query, which will make the retrieved data much less, and hence the query would be faster19:16
RouBut there's no way to use mere SQL queries instead of functions of SQLAlchemy, is there?19:17
*** mkarray has quit IRC19:43
*** Rou has quit IRC19:45
*** tsmith_ has joined #storyboard19:51
*** tsmith2 has quit IRC19:54
*** tsmith_ is now known as tsmith219:54
diablo_rojoRou, I think the main way to speed things up would be better indexing?19:55
*** jamesmcarthur has quit IRC20:00
*** jamesmcarthur has joined #storyboard21:01
*** Rou has joined #storyboard21:21
Roudiablo_rojo, could you explain what you mean more?21:27
diablo_rojoRou, basically instead of getting everything all at once and not showing results until that all comes back, you would index it so a chunk at a time would come back/be processed and get added to the resutls.21:31
RouLike getting one page at a time?21:52
RouOf the list21:52
RouI have an offset and limit for each page21:52
diablo_rojoYeah something like that could help21:54
diablo_rojoI would do some benchmarking of how slow it is right now21:55
RouGreat21:56
diablo_rojoEasier to show improvement when you know how bad it used to be21:57
RouHow can I do so, though??22:02
diablo_rojoRou, if I knew the answer to that right now I probably would have made the changes myself already ;)22:06
RouHuh22:08
RouYou've a point XD22:08
RouI'll try to see how can I limit the retrieval queries so data would be less & hence operates faster22:09
Rouand whenever I go on to the next page, only the range of the page is processed or sent to the the web-client anyway22:09
diablo_rojoHaha yep :)22:11
diablo_rojoSounds like a good start22:11
*** Rou has quit IRC22:31
*** scherbatsky has quit IRC22:56
*** whoami-rajat has quit IRC23:02
*** jamesmcarthur has quit IRC23:06
*** jamesmcarthur has joined #storyboard23:07
*** jamesmcarthur has quit IRC23:11
*** tosky has quit IRC23:19

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!