Questions tagged [scheduling]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1
votes
3answers
58 views

Using a separate desktop application for handing scheduled tasks in an ASP.NET MVC Application

I have an ASP.NET MVC application and I will need to execute a task every one minute. The task is: -> Go to database -> Check from Table 1 if a record has value = "something" -&...
-3
votes
2answers
122 views

Help Developing a Season Schedule?

I am trying to create a season schedule for our Knowledge Bowl league (middle school trivia). I am NOT very mathematical nor a "techie". Here are my constraints: There are seven schools ...
0
votes
1answer
33 views

Is there a best practice for scheduling forecast notifications?

Let's say we write an application that can use multiple forecasts from different sources. It does not really matter what type of data we are talking about, ofc. it can be weather forecast, stock price ...
0
votes
0answers
11 views

Distribute processing load across multiple nodes of same Web Application

We have an application deployed across multiple nodes. There is a scheduled job inside this application that would be run on any one of the nodes. When the job is triggered it is supposed to read ...
1
vote
1answer
120 views

Background job in microservices

I have a basic java Dropwizard service within cluster of microservices. It manages user resources with restful api styles. Let's call it user-app Then there is a new operation / api endpoint that ...
-2
votes
1answer
327 views

How to create a league scheduling algorithm?

Our requirement was to create an auto fixture generation tool that creates fixtures for a league with any number of teams, and where they have a fair distribution of home and away games so that: ...
1
vote
2answers
121 views

UML sequence diagram for a peridoc operation

I have a scheduled operation in my spring boot application using spring boot scheduler. this operation executes every period of time(30 minutes) and adds data in the database if conditions are met. I ...
0
votes
0answers
90 views

Algorithm for finding optimal appointment times

There are multiple types of appointments, each with their own length. The goal is to find 'optimal' placements for a given appointment type on a given day - optimal meaning leaving as little 'wasted ...
2
votes
1answer
164 views

Writing Requirements for Batch Processes

I'm tasked with the redevelopment of an existing application and ran into the following problem. The application includes batch processing, e.g. scheduled processes that run on data without user ...
1
vote
3answers
243 views

Modelling recurring events

I am in the process of writing a web app to track expenses and which will be multiuser. Everything is fine with a single expense, but I am struggling to find the best way to represent recurring ...
3
votes
0answers
71 views

What're the necessary considerations when developing Cron Jobs (Scheduled Tasks)

I'm working on a website that has a section that shows the company's stock details and investor-related data. This data is retrieved through scheduled SOAP API calls. I created two scheduled tasks ...
0
votes
2answers
166 views

Keep channels online, even though underlying systems are offline?

We have six very old systems where the newest one is built 1995. All these systems have batch jobs running from midnight to 6 AM every night, and these systems are offline. On top of these six systems ...
2
votes
1answer
123 views

How to design a parents evening scheduling algorithm

I am working on a project to create a school parents evening booking system. This system needs to be able to generate the best order of appointments based on availability of teachers and the priority ...
0
votes
1answer
685 views

How to solve a Constraint Satisfaction Problem for Scheduling

This presentation describes several algorithms for solving a CSP for scheduling. Say I have a few processes with some constraints: a before c c before b b after d c 50% more important than e give d ...
6
votes
2answers
825 views

Fair distributed task scheduling with RabbitMQ

Problem: A single client of our system can completely flood all available resources with a massive workload. You can consider we have only one queue, and anyone can schedule any amount of work in it. ...
2
votes
1answer
177 views

Calendar scheduling: home field constraints

I am working on a round-robin scheduling algorithm for sports. The goal of the algorithm is to schedule all given games across different weeks, in the given fields and given game times. These are ...
1
vote
1answer
101 views

Scheduling Rules and Complexity in Coding Lots of rules respect to time?

We have some fields (age, visit type, insurance type, city) and some rules: Some doctors that define weekly schedule template like as: Doctor D1 works on Monday 7-9 pm , Thursday 7-9 pm. Some type ...
2
votes
1answer
118 views

Calendar scheduling: wait time between games

I am working on a sports scheduling algorithm with several different constraints, one (two) of them being a minimum and/or maximum wait time between games. Of the same team, that is. So if Team Blue ...
3
votes
1answer
410 views

Implementing CalDav server vs. sending iCals around

I need to implement a Google-Calendar-like scheduling web app. One of the requirements is synchronization with other scheduling applications, like Google Calendar, Microsoft Exchange, Office 365 and ...
1
vote
1answer
159 views

Should I containerize Python 'job' scripts?

We have a python scheduling solution which, at the moment dynamically loads python modules to run each job in a separate process. The jobs are pretty heavy containing some Tensorflow models which ...
-2
votes
2answers
6k views

Algorithm for scheduling shifts

I am trying to write a program to help scheduling shifts for the employees of a small business. There are 28 shifts that needs to be assigned to 28 employees (so this means that each person gets a ...
2
votes
1answer
359 views

Some questions about implementing a preemptive scheduler in C: Context switching and execution time of the dispatcher

I am trying to implement a preemptive scheduler in C, but I have some understanding problems: When the scheduler is called by an interrupt, a context switch may occur. The context switch can only be ...
2
votes
2answers
528 views

Finding a solution to a real world assignment/routing problem

I'm currently working with a window cleaning company that uses it's own set of heuristics for scheduling its small set of cleaners for jobs - basically a huge spreadsheet with dates and human assigned ...
0
votes
2answers
247 views

How handling CPU-bound tasks can be implemented?

I understand task as task in C#, but this questions is not related to C#. Let's say I have single thread and two tasks (both CPU-bound). I would like to run them concurrently, without running one of ...
4
votes
2answers
1k views

Algorithm to determine optimal availability for scheduling appointments with several resources

I’m working on a system where several resources are scheduled (users, rooms, and equipment). Each appointment is scheduled for a user, and may also take a room and/or equipment. Appointments are ...
1
vote
1answer
932 views

Calendar Scheduling Algorithm?

I may be misusing "scheduling" in this context, but here it goes: I'm trying to build a simple calendar scheduling algorithm/routine, the purpose of which is to determine if a particular Time-Span is ...
-3
votes
3answers
161 views

Design a system to send email at various times periodically? [closed]

I am working on a feature that will allow the user to configure an email to be sent a time he chooses. Once he has saved this configuration, email will be delivered at his chosen time (or around that ...
4
votes
1answer
471 views

How to set up a recurring job server in a Kubernetes cluster

My current task is to set up a system that pushes out notifications to specific users based on a set schedule. Having tackled the push notifications issue, I am now trying to put together a system ...
1
vote
1answer
3k views

Creating a (System.Threading.Tasks.)Task scheduler

I'm working on rearchitecting a game engine in which multiple concurrent scripts run in parallel threads, which unfortunately occasionally gives rise to race conditions. I'm trying to set it up so ...
0
votes
1answer
1k views

Scheduling notifications reminders for users

I am trying to design the best way to send reminders to users for events they are registered for: reminders should be sent 72, 48 and 24 hours before the event reminders cannot be sent twice (so user ...
5
votes
2answers
3k views

Scheduling: balanced home/away round-robin tournament algorithm

I am trying to achieve a round-robin algorithm for sports scheduling that also guarantees a fair or balanced home/away rotation. I based my algorithm on the round-robin scheduling algorithm: def ...
3
votes
0answers
194 views

Weighted job scheduling algorithm to minimize load

I have a set of jobs that start by querying an external server for a payload. On receiving the payload, the internal server takes a variable amount of time to complete the job, hence the 'weight'. ...
2
votes
1answer
289 views

Dynamic Scheduling Algorithm

Recently I got interested in scheduling problems or rather dynamic scheduling problem. The problem is that I want to develop some kind of layer in my application which will be polling circa about 50-...
4
votes
2answers
1k views

GO - Goroutine and Concurrency

Background: pthreads follow pre-emptive scheduling, whereas C++ fibers follow cooperative scheduling. With Pthreads: the current execution path may be interrupted or preempted at any time This ...
13
votes
2answers
329 views

Are there any build systems that incorporate relative expected task times into the schedule?

Here's a small illustration of my question: Assume a build job that consists of 4 independent tasks named A-D. D takes longer than A-C do in sum. A build system that cannot incorporate the relative ...
2
votes
2answers
1k views

Scheduling of parallel I/O-bound tasks (Backup solution)

I want to implement a backup solution in Python where a Backup-Server initiates backups on a number of virtual and physical servers (one server = one backup task). Disregarding the details of the ...
3
votes
1answer
609 views

How to “model” shortest/longest processing time first on machines in parallel and series

I'm not sure if I am in the right place to ask this question. Please tell me if I'm not. I have the following problem: I have a production process, where a product first has to be produced, it is ...
1
vote
2answers
1k views

How to implement notifications for expiring items?

I am working on a Java / Spring web application. The application issues licenses on demand. Each license has an expiry date. Licenses can be renewed by the admin. I want to send an email notification ...
1
vote
3answers
853 views

Processing queued tasks in parallel?

We have a system that publishes requests for processing into a database table. We also have a scheduled task that runs every minute and looks for pending requests in that table. If a request is found, ...
7
votes
2answers
2k views

Advanced Job Shop Scheduling Algorithm Question

I've looked into numerous solutions for the simple version of this problem, but I've found no solutions for advanced cases, short of sorting through all possible permutations. I don't know where to ...
0
votes
1answer
911 views

Most elegant way to execute a AWS lambda function with preloaded parameters on a specific time

I am looking for the following workflow: Add an entry to a table of my Postgres database with a end_date and state (with the following values: active or done) columns. Execute a lambda at the exact ...
1
vote
2answers
1k views

Ordering 'Tasks' for execution based on their dependencies

Let's say I have a set of Tasks that they have dependencies. These tasks are not in order, but the execution of tasks should be in the proper order. Each task has two properties: Before and After. ...
1
vote
0answers
144 views

Implementing an algorithm for parallel task scheduling

Problem Given a set of applications "A[]" with execution cost "Ex" ,Arrival Time "t", Resource requirements "R" and the system having free resources "Fr", calculate the finishing time of all of the ...
0
votes
1answer
148 views

Mapping match-up combinations into an integer

First of all, I want to say I wasn't sure if I should post this here or in math.stackexchange but I think the question is too programming-related to belong to the latter community. Definetly not a SO ...
5
votes
2answers
134 views

Job Scheduling, Stored Procedures

I am working on a polyglot web app project that has functionalities that can be separated, but that rely on each other. I am unfamiliar with the following (what key words to even search for, what ...
0
votes
1answer
178 views

What if a task waits for a resource in STCF algorithm?

I am a computer science student and I have an exam tomorrow on operating systems. I have the exam questions of past years and there is one scenario in a question. There are two tasks in the ready-to-...
6
votes
2answers
2k views

Pthread scheduling (System and Process)

I've read the operating system concepts 8th edition written by abraham silberschatz. However, I don't understand Pthread Scheduling. Thread-library schedules user-level-threads on LWP(Lightweight ...
3
votes
2answers
3k views

Alternatives to cron jobs or other ways of improving scheduled task performance

I'm working on a social networking website where users gain ratings after specific actions taken and proper conditions are met on the tables. The ratings are calculated depending on 'total hours ...
4
votes
4answers
2k views

Failover for High Frequency Jobs

I have a job that runs at a fairly high frequency (~1x every second). This job needs to be executed constantly as long as the web app is running. However, I really only want 1 instance of the job ...
1
vote
1answer
2k views

What is Weighted Round Robin Arbitration

In NVMe Protocol, NVMe Controller uses Weighted Round Robin Arbitration to select the Submission Queue, from which commands can be taken. So what is exactly Weighted Round Robin Arbitration? My ...