unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Daniela Lura <danielaluraa@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>, guix-devel@gnu.org
Subject: Re: [Guix Website] A Search Page for Packages
Date: Tue, 14 Jul 2020 11:19:21 +0200	[thread overview]
Message-ID: <CA+JNs+L776EeWBZn2=ZsvWY3H9tuP3pUKRecXc=kseNyz4GmtQ@mail.gmail.com> (raw)
In-Reply-To: <878sfnpl9j.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 2208 bytes --]

Hi Ludo,

> To be clear, guix-website-test actually makes a search query on a
Data Service instance, right?
That's right. I'm currently learning how to read and understand query
plans:
https://www.postgresql.org/docs/10/using-explain.html#USING-EXPLAIN-ANALYZE
so that the query can hopefully be optimized.

> Ideas on how to mitigate that, either in the Data Service, or
nginx at guix.gnu.org?
To be honest, I'm not that familiar with nginx, so my opinion on that
wouldn't be that valuable.

Thank you for the feedback!

Best,
Danjela

On Mon, 13 Jul 2020 at 16:00, Ludovic Courtès <ludo@gnu.org> wrote:

> Heya Danjela,
>
> Daniela Lura <danielaluraa@gmail.com> skribis:
>
> > Taking into consideration the suggestion made in this thread:
> > https://lists.gnu.org/archive/html/guix-devel/2020-05/msg00096.html, my
> > mentor, Christopher Baines suggested me to write a script that serves a
> > search page for packages using the search functionality within the Guix
> > Data Service,
> >
> https://data.guix.gnu.org/repository/1/branch/master/latest-processed-revision/packages?search_query=git&field=version&field=synopsis&after_name=&limit_results=100
> > .
> >
> > The prototype page can be accessed through a test version of the Guix
> > website that Chris deployed:
> > http://guix-website-test.cbaines.net/packages/search
>
> Cool!  To be clear, guix-website-test actually makes a search query on a
> Data Service instance, right?  I guess that explains part of the
> slowness, but maybe we could tweak nginx to keep search results in cache
> for a few hours.
>
> Florian raised an important issue regarding the possibility of denial of
> service.  Ideas on how to mitigate that, either in the Data Service, or
> nginx at guix.gnu.org?
>
> > I'd like to know if you find the page useful so that I can hopefully
> start
> > working on incorporating the search functionality into this page:
> > https://guix.gnu.org/packages/.
>
> I’d be happy to see that happen!  We would need the changes against
> guix-artwork.git as well as (maybe) changes to the nginx config in
> maintenance.git.  How should we proceed?
>
> Thanks!
>
> Ludo’.
>

[-- Attachment #2: Type: text/html, Size: 3643 bytes --]

  parent reply	other threads:[~2020-07-14  9:20 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-08 18:49 [Guix Website] A Search Page for Packages Daniela Lura
2020-07-08 20:31 ` Cook, Malcolm
2020-07-08 21:00   ` pelzflorian (Florian Pelz)
2020-07-10 10:15   ` Daniela Lura
2020-07-09  0:53 ` Bengt Richter
2020-07-09  6:17 ` Pierre Neidhardt
2020-07-10 10:26   ` Daniela Lura
2020-07-09  7:47 ` Hartmut Goebel
2020-07-09  8:50 ` zimoun
2020-07-09  9:32 ` YP
2020-07-13 13:56   ` Ludovic Courtès
2020-07-13 14:00 ` Ludovic Courtès
2020-07-13 20:10   ` Christopher Baines
2020-07-13 22:04     ` Marius Bakke
2020-07-14 13:24     ` Ludovic Courtès
2020-07-14 19:47       ` Marius Bakke
2020-09-06 14:19         ` Daniela Lura
2020-09-07 10:20           ` Ludovic Courtès
2020-09-08 16:50             ` Daniela Lura
2020-09-08 16:38           ` Hartmut Goebel
2020-07-14  9:19   ` Daniela Lura [this message]
2020-07-14 13:23     ` Ludovic Courtès
  -- strict thread matches above, loose matches on Subject: below --
2022-11-05 16:53 Luis Felipe
2022-11-05 18:53 ` Christopher Baines
2022-11-05 19:59   ` Luis Felipe
2022-11-09 16:43     ` Luis Felipe
2022-11-13  8:46       ` Christopher Baines
2022-11-15 13:30         ` Luis Felipe
2022-11-16 16:25           ` Christopher Baines
2022-11-16 18:46             ` Luis Felipe
2022-11-16 14:55       ` Luis Felipe
2022-11-16 16:32         ` Christopher Baines
2022-11-16 18:50           ` Luis Felipe
2022-11-18 19:03           ` Luis Felipe
2022-11-19 10:51             ` Christopher Baines
2022-11-19 12:03               ` Luis Felipe
2022-11-19 13:53                 ` Luis Felipe
2022-11-21 11:06                   ` Ludovic Courtès
2022-11-19 16:07               ` John Kehayias
2022-11-19 16:13                 ` Christopher Baines
2022-11-21 20:30                   ` John Kehayias
2022-11-20 22:33               ` zimoun
2022-11-21  8:57                 ` Christopher Baines
2022-11-21 17:03                   ` zimoun
2022-11-22  8:23                     ` Christopher Baines
2022-11-21 12:57             ` Ludovic Courtès
2022-11-21 13:21               ` Christopher Baines
2022-11-21 19:11                 ` Luis Felipe
2022-11-21 19:00               ` Luis Felipe
2022-11-21 20:42                 ` Julien Lepiller
2022-11-07  9:18   ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+JNs+L776EeWBZn2=ZsvWY3H9tuP3pUKRecXc=kseNyz4GmtQ@mail.gmail.com' \
    --to=danielaluraa@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).