It depends on how much traffic at a time comes on ur site , also how good your script is coded.
Good coded scripts consumed less resouces from server so can manage to run in shared hosting too but depends on how many active users comes at a time.
Thanks.
So, it depends on number of active users at a time. Do u have idea how the popular traffic exchanges choose the webhosting?