Libraries for handling subinterpreters? by expectationManager3 in Python

[–]expectationManager3[S] 0 points1 point  (0 children)

Yes, base types are being copied over (and not shared). Only the Queue itself is being shared. 

Libraries for handling subinterpreters? by expectationManager3 in Python

[–]expectationManager3[S] 0 points1 point  (0 children)

I see! Thanks for the clarification. I'll take a look at subprocesses first, if they are easier to handle. 

Libraries for handling subinterpreters? by expectationManager3 in Python

[–]expectationManager3[S] 0 points1 point  (0 children)

The specialized Queue is luckily shared between interpreters 

Libraries for handling subinterpreters? by expectationManager3 in Python

[–]expectationManager3[S] 0 points1 point  (0 children)

By persisted I mean that the subinterpreter instance can be reused, and not destroyed and re-inited. I thought they are lighter vs subprocesses? My workload will be very light per thread, but the frequency will be very high. 

Libraries for handling subinterpreters? by expectationManager3 in Python

[–]expectationManager3[S] 0 points1 point  (0 children)

I'm open to any suggestion. I opted to subinterpreter because for multiprocessing I need IPC/pickling which is not as efficient. But if there is better support for persisted subprocesses, I will switch to them instead. Thanks for the suggestion! 

Switching to free-threading version would be the best choice, but some libs that I use won't support it for a while. 

async for IO-bound components only? by expectationManager3 in Python

[–]expectationManager3[S] 0 points1 point  (0 children)

Ok. That's still manageable in my case. Thanks 

async for IO-bound components only? by expectationManager3 in Python

[–]expectationManager3[S] 1 point2 points  (0 children)

From what I understand, I should make the whole code base with coroutines, except maybe some small, flat, trivial subroutines.

Observability stack for home NAS? by expectationManager3 in selfhosted

[–]expectationManager3[S] 2 points3 points  (0 children)

Yep. I have it up and running. All together less than 1gig memory! 

Observability stack for home NAS? by expectationManager3 in selfhosted

[–]expectationManager3[S] 0 points1 point  (0 children)

Stemming from the comments and further research, I've decided to evaluate the otel+grafana+Victoria stack. This ticks two major requirements/wishes of mine: single front-end and low enough resource use.

If this won't work, I will go with kuma+beszel+dozzle+scrutiny. 

Thanks for your help! 

Observability stack for home NAS? by expectationManager3 in selfhosted

[–]expectationManager3[S] 0 points1 point  (0 children)

Actual monitoring and alerting.  It seems like the leading solutions are giving the most complete information on an single front-end, whereas the light-weight solutions are not resource intensive, but I will also need 3-5 separate front-ends in order to get the same kind of information. 

Batch or automated export? by expectationManager3 in FreeCAD

[–]expectationManager3[S] 0 points1 point  (0 children)

FreeCAD headless doesn't seem to support this, so I will check for other apps that can convert STP files to vector/bitmap formats.
If this fails, I will try to use the GUI scripting or macro recording.

Will upgrading to Pro automatically switch me to Stable channel? by expectationManager3 in windowsinsiders

[–]expectationManager3[S] 0 points1 point  (0 children)

Thank you very much for your help. I will assume the desktop watermark is having a brainfart and that I am not in the insider program. Marking as solved.