I want to create a service that will work constantly, it interacts with the database, which will sooner or later be filled. What can I do to avoid this?