3 ms·
sure. as a side project there're nothing wrong with it :) I was just pointing out the pitfalls of lease parsing (i've been bitten by this over the course of ti
by mirceal 11y ago
sure. as a side project there're nothing wrong with it :)
I was just pointing out the pitfalls of lease parsing (i've been bitten by this over the course of time - it looks trivial to do until you look at what isc does under the covers)
side questions:
what happens with 50000 leases?
what about 50000 subnets - do you have support for hierarchically displaying subnets :)
how fast is the whole thing? can you handle malformed input?
- hnlmorg 11y agoIt's really basic at the moment so there's no support for hierarchical subnets, but it's something this that might suit this kind display. Performance wise, it's definitely not ready for any serious use. However there are some easy wins I didn't bother with that would dramatically speed things up (eg the leases file is read with each FUSE API request - which happens a lot. So I really should be running that as a separate thread that runs every x minutes and caches the object. if Im honest, scalability was a secondary concern. I was more interested in building a working proof of concept and sadly only had one afternoon to do it in. But I tried to keep the code clean enough (though you can be the judge of that) so it could be scaled up at a later date if needed.
- mirceal 11y agoit's cool. the leap from prototype to production-ready is always a big one.