scalability

What are the main disadvantages of Windows pipes for inter-process communication?

◇◆丶佛笑我妖孽 提交于 2019-12-03 13:34:31
问题 Say you are splitting a monolithic Windows program into reusable components which could communicate with each other using some sort of inter-process communication (IPC), and, for whatever the reason, you choose anonymous pipes (e.g. starting a number of Process-es and connecting Console.Out to Console.In of the next process, or just using "|" in the command prompt). A Dr. Dobbs article with an example with named pipes: What would be the performance penalty compared to other IPC methods within

How to scale MongoDB?

我怕爱的太早我们不能终老 提交于 2019-12-03 13:29:43
问题 I know that MongoDB can scale vertically. What about if I am running out of disk? I am currently using EC2 with EBS. As you know, I have to assign EBS for a fixed size. What if the MongoDB growth bigger than the EBS size? Do I have to create a larger EBS and Copy & Paste the files? Or shall we start more MongoDB instance and each connect to different EBS disk? In such case, I could connect to a different instance for different databases. 回答1: If you're running out of disk, you obviously need

case studies or examples of high throughput services with highly dynamic data

血红的双手。 提交于 2019-12-03 13:04:14
问题 I'm looking for some architecture ideas on a problem at work that I may have to solve. the problem. 1) our enterprise LDAP has become a "contact master" filled with years of stale data and unused and unmaintained attributes. 2) management has decided that LDAP will no longer serve as a company phone book. it is for authorization purposes only. 3) the company has contact type data about people in hundreds of different sources. we need to scrub all the junk out of LDAP and give the other

Scalability of variadic templates

喜欢而已 提交于 2019-12-03 10:57:39
I am working on a large-scale software infrastructure in C++11 that makes extensive use of variadic templates. My question is the following: what is the scalability of this approach? First, is there an upper limit in the number of arguments that variadic templates can take? Second, is code bloat a major issue with state-of-the-art compilers when many arguments are used (and, by extension, many combinations of these arguments that would yield to many different implementations of the templated methods)? I thought I'd have a go at finding out whether there is any limit on the number of template

Downsides of storing binary data in Riak?

非 Y 不嫁゛ 提交于 2019-12-03 10:14:22
What are the problems, if any, of storing binary data in Riak? Does it effect the maintainability and performance of the clustering? What would the performance differences be between using Riak for this rather than a distributed file system? Elad Adding to @Oscar-Godson's excellent answer, you're likely to experience problems with values much larger than 50MBs. Bitcask is best suited for values that are up to a few KBs. If you're storing large values, you may want to consider alternative storage backends, such as innostore . I don't have experience with storing binary values, but we've a

Searching Natural Language Sentence Structure

淺唱寂寞╮ 提交于 2019-12-03 10:10:14
问题 What's the best way to store and search a database of natural language sentence structure trees? Using OpenNLP's English Treebank Parser, I can get fairly reliable sentence structure parsings for arbitrary sentences. What I'd like to do is create a tool that can extract all the doc strings from my source code, generate these trees for all sentences in the doc strings, store these trees and their associated function name in a database, and then allow a user to search the database using natural

Are static methods good for scalability?

余生长醉 提交于 2019-12-03 10:03:29
问题 Does static methods and class are good for scalability ? I think so static class/method improves scalability of application and instance methods doesn't scales much. So is it good programming practice to write static method where ever it is possible ? 回答1: It depends on WHY the method is static. If it's static because it truly does not need context, then it will probably scale very well compared to something of similar complexity that is not static because it requires context. However, if it

Why are Azure Resource Groups associated with a specific region?

我的梦境 提交于 2019-12-03 09:36:55
I'm new to Azure architecture and am trying to understand why Azure Resource Groups, which are logical deployment buckets for applications built on Azure, are associated with a region when they are defined. At first I thought it was to provide global distribution for disaster recovery or geographic redundancy, but then I realized that a single Resource Group can contain web apps in different regions, which can provide those features via Traffic Manager. I suppose that using separate Resource Groups would help better identify which resources are in which region, but other than for

How does Node.js perform compared to Apache?

▼魔方 西西 提交于 2019-12-03 09:30:18
问题 Is Node.js quicker and more scalable than Apache? Are there any performance figures to back up Node.js's performance for a web application over Apache? UPDATE: Ok maybe my question (above) is confusing because I am a little confused as to how Node.js sits within a web stack. Under what circumstances should I consider using Node.js instead of a more traditional stack like PHP, MySQL and Apache - or does Node.js play it's part in this stack? 回答1: Node.js is a framework particularly well suited

ElasticSearch setup for a large cluster with heavy aggregations

纵饮孤独 提交于 2019-12-03 08:58:24
问题 Context and current state We are migrating our cluster from Cassandra to a full ElasticSearch cluster. We are indexing documents at average of ~250-300 docs per seconds . In ElasticSearch 1.2.0 it represents ~8Go per day. { "generic": { "id": "twi471943355505459200", "type": "twitter", "title": "RT @YukBerhijabb: The Life is Choice - https://m.facebook.com/story.php?story_fbid=637864496306297&id=100002482564531&refid=17", "content": "RT @YukBerhijabb: The Life is Choice - https://m.facebook