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.

startup time with Client is long

See original GitHub issue

Creating a new Client without any arguments takes several seconds to start up. I suspect the reason for this may be related to the bokeh server since running dask-scheduler --no-bokeh boots the scheduler significantly faster than dask-scheduler --bokeh does. Is there a way to disable the bokeh server when creating a new Client? Or is there something else going on under the hood that is slowing things down?

The particular use case here would be prototyping with a local scheduler before scaling up data analysis on a cluster.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:18 (17 by maintainers)

github_iconTop GitHub Comments

1reaction
mrocklincommented, Oct 16, 2017

Pandas PR to reduce import time: https://github.com/pandas-dev/pandas/pull/17710

0reactions
vovavilicommented, Dec 23, 2021

On my working remote machine client = Client() takes about 15 seconds to start, so either my machine is peculiar or this issue did not deserve to be closed prematurely.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Forum - Client startup times very slow - VisualCron
Whenever we double-click on the client icon, it can take up to 2 minutes for the client to open, and over a minute...
Read more >
App startup time - Android Developers
App launch can take place in one of three states, each affecting how long it takes for your app to become visible to...
Read more >
Startup performance in Endpoint Analytics - Microsoft Learn
Client devices require a restart to fully enable all analytics. The retention period for device boot and sign-in events is 29 days. If...
Read more >
Improving Scala script startup time -- client mode?
The will give you a slower Scala compiler, and do little to improve the startup time of the compiler itself, if not Java....
Read more >
Tuning the AWS Java SDK 2.x to reduce startup time
With the default configuration, Apache HTTP client and Netty HTTP client are used for synchronous clients and asynchronous clients respectively.
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