My advice would be go with PP tubes like these:
You have elbows in different positions, different lengths, they are easy cuttable with saw.
I can build a 4 row system, about 0.8 x 1.4m of grow space (actual system is about 0.8 x 1.7m) for about 70€ + one high flow water pump 1200-3000L/h plus reservoir.
The system is easy to clean and because they are like legos can custom fit it easy in needed dimensions.
And every about 20cm i drill a hole and put a seedling that has rooted in rockwool and is in netpot.
At the end of the "snake" you have to build a dam that means a small peace that you weld or glue a part of plastic so it acts as a dam, when you want to clean the system you just turn around that little tube (the dam) and the system is empty...
So to recap 4 rows about 1.4m (1.7m with all elbows) and they are apart about 16 cm so each plant has plenty of room but if you wish you can drills holes closer.
P.S. PP plastic is the best plastic in the world because its the most inert of all plastics (Taperware uses PP plastic) and all food grade plastics are usally from PP