aboutsummaryrefslogtreecommitdiff
path: root/guix-data-service/web
Commit message (Collapse)AuthorAge
* Fix starting with an empty databaseChristopher Baines2024-11-08
|
* Have the background resource pool users be very patientChristopher Baines2024-11-05
|
* Don't use the reserved pool for HTML/JSON responsesChristopher Baines2024-09-08
| | | | Just use it for providing substitutes.
* Include background pool metricsChristopher Baines2024-09-08
|
* Increase the resource pool default timeout a littleChristopher Baines2024-09-08
|
* Don't timeout waiting for background pool connectionsChristopher Baines2024-09-08
|
* Add a new background connection poolChristopher Baines2024-09-08
| | | | Mostly to constrain the build server event handlers.
* Timeout when trying to process build eventsChristopher Baines2024-09-03
| | | | | As if they relate to derivations that are currently being inserted, they'll have to wait until the job is processed.
* Use more threads for the serverChristopher Baines2024-08-14
| | | | Just in case this avoids writing responses blocking new requests coming in.
* Move the resource pools to a different threadChristopher Baines2024-08-14
| | | | As the server thread can block for a while when writing big responses.
* Tweak handling web server errorsChristopher Baines2024-08-14
|
* Name the resource poolsChristopher Baines2024-08-14
|
* Stream the render-revision-package-derivations JSON responseChristopher Baines2024-08-05
| | | | As it can be large.
* Fix the pool metricsChristopher Baines2024-07-29
|
* Try using 2 threads for the serverChristopher Baines2024-07-26
|
* Re-work the fibers schedulingChristopher Baines2024-07-16
| | | | | | | | Use a single thread for receiving and responding to requests, and delegate the processing of the requests to a separate set of threads. I'm hoping this will avoid the processing of requests affecting accepting new connections, or the sending of responses.
* Use a bigger buffer for requests/responsesChristopher Baines2024-07-16
| | | | As I'm hoping this will increase the data throughput for responses.
* Stream the package derivation page since it can be largeChristopher Baines2024-07-16
|
* Try and speed up large package derivation comparisionsChristopher Baines2024-07-12
|
* Remove the statistics pageChristopher Baines2024-06-30
| | | | As it's been broken for a long time now, there are too many rows to count.
* Fix the arguments to most-appropriate-mime-typeChristopher Baines2024-06-24
|
* Speed up querying for revision package derivationsChristopher Baines2024-06-21
| | | | By splitting it up by system.
* Don't compare across systems in one queryChristopher Baines2024-06-21
| | | | As the query seems to be super slow, and this allows parallelising it as well.
* Add a JSON error pageChristopher Baines2024-06-21
|
* Reduce max-age for the latest-processed-commit pageChristopher Baines2024-06-12
| | | | As this shouldn't be cached for a day.
* Fix package replacement handling on the revision packages pageChristopher Baines2024-04-28
|
* Instrument requestsChristopher Baines2024-04-26
|
* Instrument the resource pool checkout timeoutsChristopher Baines2024-04-15
|
* Guard against logging failingChristopher Baines2024-04-02
| | | | As I've seen this happening where there are errors writing to FD 1.
* Close unused PostgreSQL connectionsChristopher Baines2024-04-01
| | | | As they take up memory, so free some by closing them.
* Move backfilling in to the server module and use the connection poolChristopher Baines2024-04-01
| | | | To avoid using the old PostgreSQL connection per thread code.
* Make changes for the guile-prometheus updateChristopher Baines2024-03-30
|
* Report the size of the guix database and WAL fileChristopher Baines2024-03-05
| | | | Since the Guix daemon doesn't export these metrics, instrument it here.
* Copy the port monitoring fiber from the build coordinatorChristopher Baines2024-02-13
| | | | As the data service has the same issue where it stops listening on the port.
* Instrument resource pool checkout failuresChristopher Baines2024-02-10
| | | | As I've got no idea why the resource pools sometimes stop working.
* Have delete-duplicates/sort! take a equality procedureChristopher Baines2024-01-18
| | | | And change the default, as eq? doesn't always work.
* Fix some select-build-servers callsChristopher Baines2023-12-04
|
* Instrument handling build eventsChristopher Baines2023-11-24
|
* Remove hardcoding of builtin:downloadChristopher Baines2023-11-16
| | | | As this was causing problems with builtin:git-download.
* Set the names of more threadsChristopher Baines2023-11-16
| | | | To help with debugging.
* Try to avoid the metrics timing outChristopher Baines2023-11-09
| | | | As that makes debugging problems harder.
* Include output information in the package page responseChristopher Baines2023-11-05
| | | | | As this will be useful for QA to say whether the package builds reproducibly or not.
* Use fibers when processing new revisionsChristopher Baines2023-11-05
| | | | | | | | Just have one fiber at the moment, but this will enable using fibers for parallelism in the future. Fibers seemed to cause problems with the logging setup, which was a bit odd in the first place. So move logging to the parent process which is better anyway.
* Support polling git repositories for new branches/revisionsChristopher Baines2023-10-09
| | | | | | | | | | | This is mostly a workaround for the occasional problems with the guix-commits mailing list, as it can break and then the data service doesn't learn about new revisions until the problem is fixed. I think it's still a generally good feature though, and allows deploying the data service without it consuming emails to learn about new revisions, and is a step towards integrating some kind of way of notifying the data service to poll.
* Add metrics for ports and file descriptorsChristopher Baines2023-09-07
|
* URI encode some derivation names in linksChristopher Baines2023-09-07
| | | | To handle characters like +.
* Use the connection pool for build eventsChristopher Baines2023-08-23
| | | | | I'm not sure why this wasn't the way it worked previously. This should avoid unconstrained use of PostgreSQL connections.
* Fix issues with with-resource-from-poolChristopher Baines2023-07-26
|
* Fix some uses of select-build-server-urls-by-idChristopher Baines2023-07-20
|
* Fix the repositories pageChristopher Baines2023-07-19
|