distributed

What are the best practices for a small distributed team which will work on a Drupal project?

醉酒当歌 提交于 2019-12-03 20:15:47
问题 after some research, we opted for working with Drupal on our next project and we are a distributed team. Since Drupal stores (based on what we saw until now) all it's content on a database, how can we, as a distributed team work together on this project? What are the best practices we should take? We thought about using a shared database server for this task, but it whould simply destroy the performance we should need to get this project going. Any suggestions about that? 回答1: Jeremy's answer

What distributed process registries are available for Erlang?

[亡魂溺海] 提交于 2019-12-03 17:07:31
问题 I'd like to compile a reasonably complete list of distributed process registry libraries for Erlang. Such libraries need to support basic operations like register_name(Pid, Name) and whereis_name(Name) (and ideally registered_names/0 ). Names shouldn't be restricted to atoms only, and these registration/lookup operations need to work reasonably reliably with multiple nodes participating in the registry (ignoring partitions for now). So far I've come up with global , gproc and nprocreg . What

Integration between various Domain Driven Design systems

∥☆過路亽.° 提交于 2019-12-03 13:51:34
问题 I have recently been adopting Domain Driven Design principles, but I'm having a bit of trouble implementing Bounded Contexts and the integration between the contexts and/or other systems. For example, take the following systems: Warehouse/Stock Keeping System Entities would include 'Product' which would have properties such as 'Quantity', 'Location' Online Ordering System Entities would include 'Order', 'OrderLine', and 'Basket'. Would it also have its own Product entity which would have

Task priority in celery with redis

感情迁移 提交于 2019-12-03 13:44:22
I would like to implement a distributed job execution system with celery. Given that rabbitMQ doesn't support priorities and I'm painfully needing this feature, I turned to celery+redis. In my situation, the tasks are closely related to hardware, for example, task A could only run on Worker 1 since only the PC of Worker 1 has got the necessary hardware. I set the CONCURRENCY of each worker to 1 so that a worker will only run one task each time. Each task takes about 2 minites. To implement the priority feature, first of all I tried adding priority argument when calling apply_async() , for

Solr/Lucene分布式搜索,Solr Integrate katta step1

情到浓时终转凉″ 提交于 2019-12-03 13:03:16
katta项目主页: http://katta.sourceforge.net/ Katta的介绍: http://blog.sina.com.cn/s/blog_43b8e6dd0100ne4b.html 关于Solr整合Katta的讨论 https://issues.apache.org/jira/browse/SOLR-1395 1.下载 katta: http://sourceforge.net/projects/katta/files/katta/ solr: http://lucene.apache.org/solr/ 在上面的讨论中似乎是使用的Lucene4.0,Katta0.6.2 我直接使用 katta:0.6.3 solr:3.6.1 2.分布式搜索是一个好的解决方案,自己动手开发是有很大难度的.我相信使用Lucene的人很多,并且也很多是直接使用Solr的.能把Lucene的索引文件放到Hadoop HDFS文件系统上我想是一个终极解决方案,但是最终要的是能做索引分片,并且能提供分布式搜索.Lucene的创始人 Doug Cutting 也是建议katta这个解决方案的.见: http://wiki.apache.org/hadoop/DistributedLucene 因为涉及的技术比较多,而且技术门槛也较高,鲜有人整合成功.其中涉及的技术包括:Lucene

Parallel debuggers

瘦欲@ 提交于 2019-12-03 12:36:58
I am trying to decide which parallel debugger to use. So far I found not many open sources ones so my choices are: https://www.arm.com/products/development-tools/server-and-hpc/forge/ddt http://www.roguewave.com/products/totalview-family/totalview.aspx Which one do you recommend? Are there anything else worthwhile? A colleague wrote a few years ago a short technical report comparing the two. Moral of the story: they're comparable, and the fact that there's competition in the market has improved the landscape considerably. We use DDT now; I prefer the interface, and it now scales to much larger

Spark Streaming Accumulated Word Count

坚强是说给别人听的谎言 提交于 2019-12-03 12:21:21
This is a spark streaming program written in scala. It counts the number of words from a socket in every 1 second. The result would be the word count, for example, the word count from time 0 to 1, and the word count then from time 1 to 2. But I wonder if there is some way we could alter this program so that we could get accumulated word count? That is, the word count from time 0 up till now. val sparkConf = new SparkConf().setAppName("NetworkWordCount") val ssc = new StreamingContext(sparkConf, Seconds(1)) // Create a socket stream on target ip:port and count the // words in input stream of \n

Distributed Cache/Session Solution for ASP.NET Web App

房东的猫 提交于 2019-12-03 12:20:15
I am looking for a distributed Cache/Session solution, below is what I found. I hope anyone could share information regarding pros and cons of using it: NCache Windows Server AppFabric MemCached as recommended by @TFD I am using ASP.NET 4 and SQL Server 2008. Any idea would be very much appreciated! You can also look at Redis (http://redis.io/), which is rumored to play very nicely with .NET applications thanks to an open source client for it written in C#: http://code.google.com/p/servicestack/wiki/ServiceStackRedis . Give Dache a go - an open source .NET distributed caching solution that is

Distributed Java Compiler

被刻印的时光 ゝ 提交于 2019-12-03 11:51:56
Is there a distributed compiler for Java, analogous to distcc for C/C++? The direct answer to your question is "no". However, it probably would not help you anyway… compiling Java is very fast. On a small project, the compilation is fast enough that you shouldn't really care. On a large project you would need to deal with throwing the file to compile over a network, and having to deal with potentially also throw across many megabytes of dependencies as well. One thing that you can do to improve your compilation speed is to use the eclipse compiler instead of the Sun javac. The Eclipse compiler

What is the difference between data-centric and object-oriented application models?

a 夏天 提交于 2019-12-03 11:06:41
What is a data-centric application and is there any difference with an object-oriented application model ? The two concepts are somewhat orthogonal, a Data Centric Application is one where the database plays a key role, where properties in the database may influence the code paths running in your application and where the code is more generic and all/most business logic is defined through database relations and constraints. OOP can be used to create a data centric application. Some of the large multi-tier architectures which people think of when they say OOP architecture implement business