stackoverflow.com stackoverflow.com

Is it bad to run cron jobs to poll from a huge table of scheduled job records?

I've a table which a cron job would poll at every minute to send out messages to other services. The records in the table are essentially activities that are scheduled to run at a certain time. The cron job simply checks to see which of those activities are ready to be run and send a message of that activity through SQS to the other services. When an activity is found to be ready to run by the cron job, that record will be marked as...

stackoverflow.com stackoverflow.com

Best PHP Webserver design [closed]

Hello experienced developers, I have looked online to not find simple breakdown of a modern PHP site. I'm currently planning on designing a web application from the ground up using PHP. I am familiar with WordPress structure which is little more advanced (And too much overhead) than I need. The website goal: Project management site. Login in only. Rest URL capable. Expandable. Mobile friendly I have never built a full website from...

stackoverflow.com stackoverflow.com

Split huge ViewModel into multiple pieces

It's not a repetitive question. Please read carefully. I just got this new project and i happily started working on it but as this project is growing bigger & bigger due to regular Clients requirements, i'm afraid that i may run into performance issues. I've 10 pages. View of each page is similar but with minor changes like different images,boxes,color for each page.I'm using MVVM pattern.So, the architecture i designed is as...

stackoverflow.com stackoverflow.com

Exceptions, interrupts and pipeline flushing

This is I think, a general processor architecture question, but, I would be more interested in ARM specifics. Question is on basics, but I'm stuck un-sure on it. Do interrupts/exceptions always flush the pipeline? If we are executing "main" (non ISR/exception) code, will any internal exception or external interrupt always have to flush what's in the pipeline, start executing ISR code / fill pipeline with ISR instructions,...

stackoverflow.com stackoverflow.com

How to organize a Nuxt.js project so that it can act as a "constructor" for multiple websites?

We are rewriting an existing project and we want to organize the new one in the same way as the old one, but a few questions arose. How we want it to work: One project for all these "subprojects" In it there are components, layouts, assets and pages for multiple different websites It builds the website that was specified by the build command For example, we have projects a, b, c. The example of a desired file...

stackoverflow.com stackoverflow.com

DDD: many-to-many relationship between two different aggregates

I have two "big" entites or aggregates, which have their own business logic - they are saved, updated and destroyed in separate transactions. They have their own child entities, which are manipulated through these aggregate roots. But the problem is, these two aggregates must be in many-to-many relationship to each other. From user interface point of view, there is a kind of UI, where one already existing instance of the...