What are the essentials of real-time distributed systems?

What are the essentials of distributed real-time systems? A distributed real-time system composes two challenging sets of properties which are imposed by the problem domain or the solution domain (or both.) Distributed A distributed system links a number of independent computing entities with local properties by way of a communication mechanism. As a consequence, algorithms … Read more

Why shared libraries between microservices are bad? [closed]

The evils of too much coupling between services are far worse than the problems caused by code duplication The author is very unspecific when he uses the generic word “coupling”. I would agree with certain types of coupling being a strict no-no (like sharing databases or using internal interfaces). However the use of common libraries … Read more

How to see progress of Dask compute task?

If you’re using the single machine scheduler then do this: from dask.diagnostics import ProgressBar ProgressBar().register() http://dask.pydata.org/en/latest/diagnostics-local.html If you’re using the distributed scheduler then do this: from dask.distributed import progress result = df.id.count.persist() progress(result) Or just use the dashboard http://dask.pydata.org/en/latest/diagnostics-distributed.html

Would Spark unpersist the RDD itself when it realizes it won’t be used anymore?

Yes, Apache Spark will unpersist the RDD when the RDD object is garbage collected. In RDD.persist you can see: sc.cleaner.foreach(_.registerRDDForCleanup(this)) This puts a WeakReference to the RDD in a ReferenceQueue leading to ContextCleaner.doCleanupRDD when the RDD is garbage collected. And there: sc.unpersistRDD(rddId, blocking) For more context see ContextCleaner in general and the commit that added … Read more

Best distributed filesystem for commodity linux storage farm [closed]

check also GlusterFS Edit (Aug-2012): Ceph is finally getting ready. Recently the authors formed Inktank, an independent company to sell commercial support for it. According to some presentaions, the mountable POSIX-compliant filesystem is the uppermost layer and not really tested yet, but the lower layers are being used in production for some time now. The … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)