Commit Graph

94 Commits

Author SHA1 Message Date
2cd32805d9 show better error message when there are too many parallel requests 2018-03-25 18:03:20 +02:00
540b6c79f4 restart waiting game 2018-03-25 17:59:51 +02:00
5343c0d427 reduce memory usage
Reduce memory usage by storing the filename as string instead of
individual tags.
2018-03-19 19:21:57 +01:00
ahr
181fce805d do not run a gc after creating a plot
the gc often takes a second or more, which slows down the rendering a
lot
2018-03-11 16:25:52 +01:00
ahr
caf400343e remove time measurements
For each entry we executed two calls to System.nanoTime().
The resulting numbers aren't very reliable and calling nanoTime
that often (160k - 300k per second) is quite expensive.
2018-03-09 08:46:09 +01:00
ahr
5a9aae70af handle corrupt json
Entries must be separated by a newline. This allows
us to handle corrupt json entries, because we know
that entries only start at a line beginning.
2018-03-03 09:58:50 +01:00
ahr
9d4eb660a5 update gradle and spring
gradle to 4.6
spring to 1.5.10.RELEASE
2018-03-03 08:34:38 +01:00
ahr
6b60fd542c add percentile plots 2018-03-03 08:19:26 +01:00
8f15aba0d5 replace individual percentile aggregates with a single one for all 2018-01-21 10:54:13 +01:00
ahr
d98c45e8bd add index for tags-to-documents
Now we can find writer much faster, because we don't have to execute
a query for documents that match the tags. We can just look up the 
documents in the map.
Speedup: 2-4ms -> 0.002-0.01ms
2018-01-14 09:51:37 +01:00
ahr
c5c7c03c66 add example logger 2017-12-30 10:09:19 +01:00
ahr
cc70f45c12 add different plot types
Step 1: 
Added PlotType enum and a drop down to the UI.
Extracted the code for scatter plots.
2017-12-29 08:57:34 +01:00
ahr
fd1479760a use same log format for console and file 2017-12-16 19:20:24 +01:00
ahr
d63fabc85d prevent parallel plot requests
Plotting can take a long time and use a lot of resources. 
Multiple plot requests can cause the machine to run OOM.

We are now allowing plots for 500k files again. This is mainly to
prevent unwanted plots of everything.
2017-12-15 17:20:12 +01:00
ahr
eb1f026c2f update spring-boot to 1.5.9 2017-12-11 08:28:21 +01:00
ahr
f17bc55a8f hide prev/next image buttons when splitBy is not active 2017-12-10 17:28:29 +01:00
ahr
f2dfa92966 add refresh button 2017-12-10 17:21:59 +01:00
ahr
8e3213e2fc split by field 2017-12-10 17:00:45 +01:00
ahr
84084c3e08 remove logo 2017-12-10 09:34:10 +01:00
ahr
159c5ff371 write logs to logfile 2017-12-10 09:22:49 +01:00
a6a2236d18 do not compute counts when proposing all keys 2017-11-18 13:03:45 +01:00
14d1367c4a remove duplicate enums 2017-11-18 12:30:45 +01:00
0555691864 update gradle to 4.3.2 and spring boot to 1.5.8 2017-11-18 09:32:49 +01:00
995558588a add median and 90% percentile 2017-11-18 09:28:41 +01:00
ahr
64db4c48a2 add plots for percentiles 2017-11-06 16:57:22 +01:00
ahr
92dde94443 preparation to add plots for percentiles 2017-11-05 09:21:34 +01:00
ahr
870ff492d9 enable logging of metrics 2017-11-05 08:52:33 +01:00
ahr
27db9f934d increase entry buffer 2017-11-05 08:52:10 +01:00
11b3610971 make invaders better
add kill count
do not move all invaders at once
2017-10-01 19:08:59 +02:00
08f1961f51 replace spinner with a little game 2017-10-01 17:23:59 +02:00
386f211377 make it possible to draw the legend outside of the plot area 2017-09-30 17:51:33 +02:00
e0655f66fa skip invalid entries 2017-09-24 17:21:20 +02:00
4b53baacae add scrollbar for proposals, again 2017-09-24 13:32:51 +02:00
9d66c9e0da zoom in/out 2017-09-23 20:20:56 +02:00
70e586b7e9 limit by max/min value 2017-09-23 18:56:02 +02:00
347f1fdc74 update 3rd-party libraries 2017-09-23 18:24:51 +02:00
4360944683 remove keyhandler for enter key again
It didn't work with autocomplete.js when selecting a proposal.
2017-09-23 13:27:53 +02:00
d797a3c9ec send form when pressing enter 2017-09-23 12:56:32 +02:00
79d860cee7 make computation of mean value optional 2017-09-23 12:42:22 +02:00
adbde57d95 add hours as valid time range 2017-09-23 10:55:40 +02:00
b7dc22275d trigger garbage collection periodically
This reduces the memory usage, because the old generation can be made
smaller and we don't have to wait until max heap usage has been reached.
2017-09-23 10:54:28 +02:00
9e3dd27eb0 use a default date of seven days ago instead of last year 2017-09-23 10:52:33 +02:00
c783fd2830 add aria-hidden="true" to some icons 2017-04-22 10:49:19 +02:00
c758cee428 add validation pattern for the date offset 2017-04-22 10:47:23 +02:00
8ed64a4c0e add navigation buttons
Added buttons to shift left/right, so that you do not have to
edit the date offset.
I decided to replace icons.css with font-awesome.min.css,
because I am too lazy to add the CSS for the icons every
time I use a new icon.
2017-04-22 10:34:43 +02:00
fb40139d75 use available space for image 2017-04-20 19:03:17 +02:00
0ebd657b99 add placeholder into the search box
The placeholder should help a little bit with the syntax.
2017-04-19 20:20:11 +02:00
a99f6a276e fix missing/wrong logging
1. Log the exception in PdbFileIterator with a logger instead
   of just printing it to stderr.
2. Increase log level for exceptions when inserting entries.
3. Log exception when creation of entry failed in TcpIngestor.
2017-04-17 18:27:25 +02:00
bcb2e6ca83 add query completion
We are using ANTLR listeners to find out where in the
query the cursor is. Then we generate a list of keys/values
that might fit at that position. With that information we
can generate new queries and sort them by the number
of results they yield.
2017-04-17 16:25:14 +02:00
44f30aafee add a new facade in front of DataStore
This is done in preparation for the proposal API.
In order to compute proposals we need to consume the
API of the DataStore, but the code does not need to
be in the DataStore. 
Extracting the API allows us to separate these concerns.
2017-04-16 10:11:46 +02:00