Instruments and servers.
Open
Nobody has claimed this yet.
discussion
- Dominant language
- Python
- Stars
- 459
- Forks
- 359
- Avg merge
- 3d 6h
- Merged PRs (30d)
- 73
Description
@qdev-dk/qcodes
I would like to hear your opinion on the following.
But first, let's define things :
- A server is just a piece of software than can listen/answer to something
- note: this has nothing to do with threads/processes
- A process provides the resources needed to execute some code . A process has a virtual address space, executable code, open handles to system objects, a security context, a unique process identifier, environment variables, and at least one thread of execution.
- A thread is an entity within a process that can be scheduled for execution. All threads of a process share its virtual address space and system resources.
- GIL, because of this python can't use more than 1 core using threads.
- note: this means that CPU bound tasks can be only and only possibly creating a new python interpreter on a new OS process.
- note: creating new OS processes is expensive both in term of speed and memory.
Questions
- Why should an instrument be its own server ?
- Why should two or more instruments sit in one server?
- Does an instrument need to live in its own process ?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Start by reviewing the current instrument and server architecture, then seek a maintainer decision on the three deployment questions; the issue is complete only when the intended architecture and scope are agreed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100