onyx

FYI: alternative Onyx :onyx: chat is at <https://gitter.im/onyx-platform/onyx> ; log can be found at <https://clojurians-log.clojureverse.org/onyx/index.html>
kwladyka 2019-01-09T09:29:24.004600Z

What are downsides of onyx? Do you recommend to use it? I am thinking about it in the context of generating dynamic PDF (labels). But response needs to be ASAP. Not sure if processing in onyx add too long delay? How long? Do you recommend onyx for such case?

kwladyka 2019-01-09T09:31:56.005200Z

I see in repository there are plugins like onyx-seq which don’t exist. Is onyx still well supported ?

👍 1
kwladyka 2019-01-09T09:33:52.005700Z

I see there is not a lot of commits, but 76 issues not resolved

2019-01-09T09:51:59.006300Z

Operations are tricky, but in my experience it was plenty fast

2019-01-09T09:53:25.006600Z

Are you sure you need all the functionality that onyx provide? Using onyx can be worth it for complex stream processing , but for simple use cases it is overkill IMO

kwladyka 2019-01-09T09:54:10.006800Z

So what is the delay using onyx vs do operations immediately on API request?

kwladyka 2019-01-09T09:54:27.007Z

I am not sure 🙂

kwladyka 2019-01-09T09:54:35.007200Z

That is why I am here.

kwladyka 2019-01-09T09:55:31.007400Z

I am thinking about onyx not as solution for complex processing, but as solution to scale number of workers to convert data to PDF.

kwladyka 2019-01-09T09:56:15.007600Z

But maybe better idea is to run more instances of service in kubernetes.

kwladyka 2019-01-09T09:56:32.007800Z

I don’t feel confidence about scaling up

kwladyka 2019-01-09T10:01:48.008Z

steps for precessing are probably simple: 1) fetch data every X minutes / manually by UI / by API request 2) use this data with template to generate PDF 3) return / send / save PDF

2019-01-09T10:17:54.008200Z

I don't thinks onyx suits your use case

2019-01-09T10:19:50.008400Z

How are you running this? on AWS/GCP/Azure?

kwladyka 2019-01-09T10:20:58.008600Z

I will use Google Cloud (at least this is a plan)

2019-01-09T10:21:04.008800Z

I'd either put the fetched data on a queue (RabbitMQ, or something similar) and create workers that read from this queue, generate the pdf and save / send it

2019-01-09T10:22:04.009Z

this way you can add more worker nodes if you need more capacity

kwladyka 2019-01-09T10:23:43.009200Z

Could be why queue system, but not onyx?

2019-01-09T10:24:27.009400Z

It's easier to setup and operate

2019-01-09T10:28:14.009600Z

With onyx you will need to run a zookeeper cluster, a likely some queue as well to get your data into onyx

kwladyka 2019-01-09T10:29:09.009800Z

Oh I though onyx is more independent solution

kwladyka 2019-01-09T10:30:04.010Z

Why there is no work about that in readme?

kwladyka 2019-01-09T10:32:28.010200Z

so it looks like onyx environment is maybe unnecessary complex for me

kwladyka 2019-01-09T10:32:41.010400Z

thanks for that info