From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: location@lists.ipfire.org Subject: Re: Reduced AS/route visibility Date: Fri, 22 Mar 2024 16:55:18 +0000 Message-ID: <45D286ED-FC8B-4F88-8CA2-8C3B42C39E06@ipfire.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7991740086219062389==" List-Id: --===============7991740086219062389== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hey, > On 22 Mar 2024, at 16:54, Jordan Savoca wrote: >=20 > On Fri Mar 22, 2024 at 9:34 AM MST, Michael Tremer wrote: >> Very cool. >>=20 >> Any reason why you are parsing the text file instead of using our Python b= indings? >=20 > No reason beyond a highly unproductive preference for few dependencies > and regrettable fondness for quick parsing scripts. :P >=20 > 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. >=20 >> The text file isn=E2=80=99t flat so you cannot only search to the first ma= tch, 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 = couple of others. >>=20 >> If you want to have all networks that belong to a specific AS, there is a = way to search for them having the library walk through the entire tree. That = should be super fast. >=20 > 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. Yeah, I have spent a lot of time to make the search really really fast. So it= would be good to see that code in hefty use :) >> No worries. As mentioned we had a couple of outstanding issues and I belie= ve that they are now all solved which will help us pave the way for a 1.0 rel= ease. >>=20 >> Great to see that the database is making its way into projects everywhere = :) >=20 > Definitely! Looking forward to the 1.0 release. :) Thanks again. >=20 > -- > Jordan --===============7991740086219062389==--