The following are some situations in which it may be preferable to work on your own server, rather than with shared hosting:
If you are using specific languages or libraries: such as back-end languages that go beyond the standard or more advanced third-party libraries and need more detailed configuration or requirements.
If you need to upload large files.
When working in the background, large jobs are usually sent to a queue that executes them in due time.
When a specific work flow is made for a project.
For pipeline installation.
When domains require many resources to ensure optimal project speed.