Discussion:
[Netdot-devel] psgi?
Matt Zagrabelny
2016-09-09 16:35:11 UTC
Permalink
Carlos and other devs,

There seems to be a couple issues that may be buried deep with respect
to Netdot. I'm wondering if it would be alleviated by leaving mod_perl
and moving to a FastCGI + PSGI solution.

I know that proposal isn't free, but wondering if it would be worth
migrating towards it.

Here are a few of the issues that we experience that may be related to
the mod_perl solution:

- We're hitting a cache issue every once in a while - and it makes
Netdot throw stack traces when trying to create new ipblocks. I've
traced it to the data in the datacache table not accurately
representing the rest of the database. The cached Patricia tree is
incorrect and causes parent ipblock info wrong and then database
insert fails.

- Perhaps related to the above, there are database misses when
creating/updating an ipblock/dns and then immediately searching for
those changed values - Netdot doesn't find the records, but searching
for the preceding name works.

- I cannot enable mod-shib with the apache 2.4 configs for Netdot.

I've searched the mailing lists and have seen DB inconsistency mentioned before.

Just trying to get some dialogue going among the group about these issues.

Thanks!

-m
Carlos Vicente
2016-09-14 13:48:02 UTC
Permalink
Hello Matt,

Netdot is currently very tied to Mason and thus mod_perl. It would be a
major endeavor to switch to a different framework at this point.

I also do not experience the issues that you are describing, but if you
find a fix that does not involve a major rewrite of the user interface, I
would gladly incorporate it.

cv
Post by Matt Zagrabelny
Carlos and other devs,
There seems to be a couple issues that may be buried deep with respect
to Netdot. I'm wondering if it would be alleviated by leaving mod_perl
and moving to a FastCGI + PSGI solution.
I know that proposal isn't free, but wondering if it would be worth
migrating towards it.
Here are a few of the issues that we experience that may be related to
- We're hitting a cache issue every once in a while - and it makes
Netdot throw stack traces when trying to create new ipblocks. I've
traced it to the data in the datacache table not accurately
representing the rest of the database. The cached Patricia tree is
incorrect and causes parent ipblock info wrong and then database
insert fails.
- Perhaps related to the above, there are database misses when
creating/updating an ipblock/dns and then immediately searching for
those changed values - Netdot doesn't find the records, but searching
for the preceding name works.
- I cannot enable mod-shib with the apache 2.4 configs for Netdot.
I've searched the mailing lists and have seen DB inconsistency mentioned before.
Just trying to get some dialogue going among the group about these issues.
Thanks!
-m
_______________________________________________
Netdot-devel mailing list
https://osl.uoregon.edu/mailman/listinfo/netdot-devel
Loading...