redline depends on many things like;
1: valve springs
2: cam profile
3: valve size and material
4: lifter type and weight
5: pushrods
6: intake
7: heads
8: exhaust
9: compression ratio
the above determines horsepower and torque curves, and the ability to control valvetrain motion and weight. you can have a cam profile, intake, heads, and exhaust that will allow an engine to turn 9k rpm, but if the valve springs are weak, the engine wont rev that high. we need alot more information before we can give an accurate estimate. that said however, if this is a street engine, and you have the right valve spring for the cam you choose, then i would say stay below 6500 rpm for a maximum rpm, and shift(when in a performance setting like at the track) at around 5500 rpm(dont take that as gospel, you need to experiment to see what works best for your combination. i just gave you a starting point). that should keep your engine healthy for a long time, assuming you take proper care of it.