Hacker Newsnew | past | comments | ask | show | jobs | submit | nicksaroha's commentslogin

Wouldn’t it be a huge overkill to run your own temporal or airflow instances just to run your cron jobs? Just curious.


There are certainly use cases for which it's more than is required. Like the most simple would be adding a cron string to a GitHub Action or Vercel function, but in most cases, and certainly Slack's case, you want more reliability, scalability, flexibility, and/or observability. And Temporal has extreme levels of those things, including pausing & editing schedules and seeing the current status of all triggered scripts/functions and all the steps a function has taken so far, and guaranteeing the triggered function completes, including ensuring that if the process or container dies, the function continues running on another one. Even if you don't care about all those things, you might care about some of them in the future, and it doesn't hurt to run a system that has capabilities you don't use.


Depends on how many cron jobs you have and what you need out of it?

Operating Temporal is not that hard -- you can start with `temporal --dev` on your own box. I have a "Nomad-Temporal" Terraform Module to stand one up on Nomad. [1] Temporal has Helm Charts for Kubernetes [2]. There is also Temporal Cloud [3].

That said, there is currently a chasm between "script in cronjob" to "scheduled task in Temporal". The focus of Temporal is more "Enterprise, get your Business Processes on Temporal", not "soloist, ditch your cron".

There's certainly space for somebody to a make DAG dataflow thing or lower-code product over Temporal. Airplane.dev [4] was built on Temporal and was approaching this; acquired by AirTable.

[1] https://github.com/neomantra/terraform-nomad-temporal [2] https://github.com/temporalio/helm-charts [3] https://temporal.io/cloud [4] https://www.airplane.dev


More overkill than writing your own system? Temporal is just plain quick to setup.


i mean... not for Slack? lol


One use-case comes to mind is messaging for activists and journalists wanting to keep things private.

How would this compare to https://briarproject.org/ ? Have you generalized their protocol for many other applications?


Another use case that comes to mind is US Air Force bomber drones having navigation and peer to peer capability through intermittent connectivity with central control

edit: turns out my guess was essentially correct! that general use case is indeed what the USAF is using Ditto for https://www.sbir.gov/node/1629457


Outlook makes sense because they use React Native in their app. If you look at their License sections they are using a ton of libraries which is common.


React Native is one cause. Another is that they ship a tremendous amount of cross-platform c++ Office code, which is not small.


What I also find very annoying is that the Outlook app even embeds a whole browser (with GUI; is it Edge?). It makes me furious to be forced to use the embedded browser when opening links in emails instead of a preferred, already installed browser. I mean... what advantage has it to use an embedded browser? I lose my cookies/sessions, browser extensions, passwords, and the usability is worse than of my preferred browser.


What context are you seeing an embedded browser in?


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: