jhthorsen / net-isc-dhcpd

Perl module that interacts with ISC DHCPd
http://search.cpan.org/perldoc?Net::ISC::DHCPd
11 stars 6 forks source link

Investigate persistent objects #14

Closed rfdrake closed 6 years ago

rfdrake commented 9 years ago

Most of the speed issues with parsing come from loading a dhcpd.conf or dhcpd.leases file. Once it's parsed it's easy to keep it in memory (at least for dhcpd.conf where changes don't happen every second)

I tried using Storable, but the objects are too complicated for it, or something else goes wrong. It's been a long time since I tried this and I forgot about it. I pretty much decided it was a user issue and not a library issue, but I still want to be compatible with libraries that help users do the right thing.

Something like http://kiokudb.github.io/ would allow objects to be stored in DBI, Couchdb or Berkeley.

jhthorsen commented 6 years ago

Closing this because it's old.