Questions tagged [scheduling]
The scheduling tag has no usage guidance.
123
questions
1
vote
0
answers
85
views
Cache aware job placement algorithm
I am looking for an advise on selecting or building a job placement algorithm.
In my company we have a simple computing platform built on top of kubernetes. Multiple clients, send compute jobs to a ...
0
votes
2
answers
200
views
Fault tolerance in aggregated distributed state
I have a scheduling system that is horizontally scaled, and stores shared state in a redis key.
The purpose of the system is to implement something similar to classic rate limiting, but a bit ...
0
votes
0
answers
86
views
Event based update of In memory Hashmap in multiple pods of kubernetes
I have a service (S1) that is deployed on kubernetes having multiple replicas (pods).
S1 requires some data from database (Cosmos Cassandra Api) for calculation.
This data is constantly updated by ...
2
votes
2
answers
427
views
Scheduling Algorithm that Maximizes Gaps Between Participants’ Appearances
I’m currently tackling a programming challenge to schedule a series of “performances” (a set of dancers together on a stage for a period of time, concretely) that each involve a set of “participants” (...
0
votes
0
answers
42
views
Design pattern for scheduling method calls (open-loop control) [duplicate]
I have an ERP-style system that needs to allow users to orchestrate an Entity.action() on a variety of objects that implement the Entity interface, at different datetimes. Calling action() would ...
0
votes
1
answer
1k
views
Scheduling asynchronous jobs with efficient round-robin algorithm using Redis
We are trying to redesign our microservice architecture-based application to support multiple tenants. We have a simple queue service that will be utilized by other services to queue any asynchronous ...
0
votes
2
answers
122
views
How to convert vehicle schedule time window calculation algorithm to FP
I am working on an algorithm that optimizes utilitization of a vehicle. What I have is a list of paths the vehicle is planned to take and between which times (time windows) it has to be at a certain ...
2
votes
3
answers
132
views
Should a process be responsible for scheduling itself?
I need to create a very small service which will programmatically make a database insertion once a day. As our stack primarily uses Node.js, we’re going to write a JS script responsible just for ...
0
votes
1
answer
56
views
How to design an application for stalling file processing?
I have an application that is receiving a live stream of files, I am using active MQ for listening to the file arrival in s3. As soon as the file arrives in s3 my application downloads the file and ...
0
votes
1
answer
243
views
Help architect a timer-based scheduler
I am writing a timer-based scheduler to accomplish the task of informing a certain process of what to do and when.
The Idea:
Inform an X process of certain requests to perform at timed-intervals. So ...
0
votes
1
answer
158
views
Postgres: Storing a task instruction to be run on a schedule, with multiple workers
As a prerequisite I will say that we are wedded to postgres to provide this solution.
This is a very broad problem, and I think it must be solved many times over, but unfortunately as it's so general ...
-1
votes
1
answer
307
views
Implementation strategies for dynamically scheduled tasks
This question was completely reedited to be fully in line with the SE guidelines and builds on top of already given comments.
I'll try to introduce some vocabulary to better describe the generic terms ...
-1
votes
1
answer
306
views
What's the best architecture to run scheduled jobs (max. every hour) and jobs initiated by users, both of which do same processing?
I own a library that reads a file (large or small) and converts it to a special format that one of our vendor's application needs. This conversion can take anywhere between 5 seconds to 10 minutes ...
4
votes
1
answer
386
views
Mentorship schedule matchmaking algorithm
A while ago, I tried to help a fella to develop a mentorship matchmaking program given the answers of a questionnaire to match mentors and mentees according to their respective skills and available ...
-2
votes
1
answer
1k
views
What Is A Good Default Exponential Backoff Setting For Making Http Calls
I am writing a HTTP client and am trying to decide what would be the correct time to wait before retrying the HTTP request in case the downstream service is for some reason not responding. I intend ...
4
votes
1
answer
265
views
PowerShell performance when running Excel macros
I run on a daily basis a set of VBA-rich Excel files. Most of them include MS Office application cross-talk, but also employ third-party applications and MySQL. Due to the fact of running those files ...
1
vote
2
answers
444
views
Fire aws lambda at a specific time
Let's say I have a booking system where I want to fire an aws lambda function to send an email or message to users, 10 minutes before their booking starts. I have looked online and found few solutions....
-1
votes
3
answers
600
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
2
answers
135
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
1
answer
54
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
3
answers
2k
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 ...
3
votes
2
answers
9k
views
UML sequence diagram for a periodic 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
0
answers
480
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
1
answer
806
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 ...
2
votes
3
answers
655
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
0
answers
83
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
2
answers
179
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
1
answer
341
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 ...
1
vote
1
answer
1k
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 ...
9
votes
2
answers
2k
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
1
answer
372
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
1
answer
165
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
1
answer
250
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 ...
6
votes
1
answer
2k
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
1
answer
423
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 ...
-1
votes
2
answers
10k
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
1
answer
735
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
2
answers
739
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
2
answers
351
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 ...
5
votes
2
answers
3k
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
1
answer
2k
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 ...
-2
votes
3
answers
2k
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
1
answer
603
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
1
answer
4k
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
1
answer
2k
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 ...
6
votes
2
answers
5k
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
0
answers
229
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
1
answer
459
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-...
5
votes
2
answers
3k
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
2
answers
348
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 ...