From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jordan Savoca <jsavoca@posteo.net> To: location@lists.ipfire.org Subject: Re: Reduced AS/route visibility Date: Fri, 22 Mar 2024 16:54:02 +0000 Message-ID: <D00FP7J0SB3M.1L3HLXY47RA1X@posteo.net> In-Reply-To: <A87F8A5C-89E4-4706-892B-0C884343F6B6@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6479570812481516184==" List-Id: <location.lists.ipfire.org> --===============6479570812481516184== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Fri Mar 22, 2024 at 9:34 AM MST, Michael Tremer wrote: > Very cool. > > Any reason why you are parsing the text file instead of using our Python bi= ndings? No reason beyond a highly unproductive preference for few dependencies and regrettable fondness for quick parsing scripts. :P My production systems are Alpine-based and I tend to use shared systems for development where there's considerable resistance to installing dependencies system-wide, so it's usually easiest to use the packages already available on the system or those easily installable in userland. > The text file isn=E2=80=99t flat so you cannot only search to the first mat= ch, but since the binary database is organised as a tree, a search will be a = lot faster and accurate. The bindings are packaged for Fedora, Debian and a c= ouple of others. > > If you want to have all networks that belong to a specific AS, there is a w= ay to search for them having the library walk through the entire tree. That s= hould be super fast. This is a good point, though. Ideally I wouldn't be systematically discarding swaths of announcement information and incurring performance costs during queries for more or less no reason. > No worries. As mentioned we had a couple of outstanding issues and I believ= e that they are now all solved which will help us pave the way for a 1.0 rele= ase. > > Great to see that the database is making its way into projects everywhere :) Definitely! Looking forward to the 1.0 release. :) Thanks again. -- Jordan --===============6479570812481516184==--