question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Change naming conventions for cores and memory

See original GitHub issue

Currently cluster objects in this project take in keywords like the following:

cluster = FooCluster(threads=4, processes=8, memory="16GB")

Where threads means threads-per-process and memory means memory-per-process.

However, I suspect that changing the meaning of these terms to the following might be more intuitive for users and administrators:

cluster = FooCluster(cores=32, processes=8, memory="128GB")

This would be a breaking change, but given how small and well connected the current user base is this seems doable.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
lestevecommented, May 18, 2018

Also a bit tangential but I have to say that when reading the dask-worker --help about --memory-limit, I would have guessed that --memory-limit is about the dask-worker memory limit and not a per-process memory limit.

0reactions
guillaumeebcommented, Jul 31, 2018

Closed thanks to #86.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What naming conventions do you follow with functions that ...
Routines that allocate, manage, or take responsibility for storage have special names and abide by the following guidelines: Routines that make ...
Read more >
Intel® Processor Names, Numbers and Generation List
Understanding Intel® Processor Naming Conventions: The processor number is just one of several factors—along with processor brand, system configurations, ...
Read more >
Naming Standards - The Philosophy of FileMaker
Core Solutions has published naming conventions since 1999, even predating FileMaker, Inc., in an effort to share the efficiencies they've realized over the ......
Read more >
Assign CPU Resources to Containers and Pods - Kubernetes
This page shows how to assign a CPU request and a CPU limit to a container. Containers cannot use more CPU than the...
Read more >
Naming convention (programming) - Wikipedia
In computer programming, a naming convention is a set of rules for choosing the character sequence to be used for identifiers which denote...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found