Replies: 5 comments 4 replies
-
Thanks for opening this feature request, we're actually looking into creating a Backgrounds Jobs feature to be able to execute APIs or Commands using OrmLite, but we're only looking at supporting SQLite in order to avoid needing any external infrastructure dependencies and also to be able to create naturally archivable monthly databases. This will be a good thread to gather requirements for this feature for executing persistent background jobs.
Let me know if there's other specific features you would like in v1 and what use-cases you would intend to use this for. |
Beta Was this translation helpful? Give feedback.
-
That would be a solid v1. I’m not too concerned about archiving the SQLite DBs. I would probably have logic around the Background jobs to store the initial request and result. The push-based notifications are going to be great. Main use case is going to be offloading any long running process from the request: Features available to see or action in the Admin-ui: |
Beta Was this translation helpful? Give feedback.
-
Definitely on the right track. Are those archives viewable from the Admin-ui? Can I see the physical DBs and the past jobs? |
Beta Was this translation helpful? Give feedback.
-
In the past I've always used Hangfire with Servicestack for offline processing. Building something more integrated would be welcome. It might be beyond the scope here but being able to do some kind of rate limiting over a sliding time period would be awesome. An example would be If you think about sending email marketing across various clients you don't want one campaign or client to monopolize the sending in a given time frame. This could be applied to handing different scaling tasks so that competing work can be distributed in without having to handle it "manually". |
Beta Was this translation helpful? Give feedback.
-
This has now been implemented with our new Background Jobs Feature in ServiceStack v8.4 |
Beta Was this translation helpful? Give feedback.
-
Background MQ and the other MQ providers are really solid. However, it would be great if we could have an OrmLite MQ similar to Solid Queue from Rails. I know implementation wise this could be optimized for the different types of database providers supported by OrmLite but something simple would do and over a few iterations we could create optimized versions for Postresql etc.
Beta Was this translation helpful? Give feedback.
All reactions