[tor-bugs] #10815 [EFF-HTTPS Everywhere]: 4.dev.15 ruleset db is not a proper db?

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Feb 6 14:43:49 UTC 2014


#10815: 4.dev.15 ruleset db is not a proper db?
--------------------------------------+-----------------
     Reporter:  Faziri                |      Owner:  pde
         Type:  enhancement           |     Status:  new
     Priority:  normal                |  Milestone:
    Component:  EFF-HTTPS Everywhere  |    Version:
   Resolution:                        |   Keywords:
Actual Points:                        |  Parent ID:
       Points:                        |
--------------------------------------+-----------------

Comment (by Faziri):

 Allow me to rephrase:
 "This allows for lazy loading of the ruleset, so the problem was solved on
 the filesystem level, but it was not solved on the per-rule level since
 it's still just XML that needs to be parsed."

 It does solve the problem of having to parse a huge XML file at startup,
 thus fixing the RAM usage and startup slowdown, so thanks for that. But
 creating a db without normalizing it and restructuring the data to work as
 a proper db is kind of a hacky solution, it's not proper development. I
 understand it'd be a lot of work to replace the XML rule-parser by an sql
 equivalent, but not doing so is not a solution either.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/10815#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list