Schedules on a large scale

Asked

Viewed 15 times

1

I have a service that will be used on a large scale, and one of its specifications is to perform a database change after 10 minutes of the HTTP request coming to the server.

I could use a setTimeOut, but due to the expected amount of accesses I believe I would reach the memory limit of Node eventually.

I need suggestions on how to implement this requirement efficiently.

  • Queue requests and maintain a set of local processes (threads) or remote (another server) that will meet these queued requests in the first case by unblocking the process of your application and in the second case by unblocking the host processor of your application. Either approach depends on the magnitude of your operation.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.