[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs