大约有 9,700 项符合查询结果(耗时:0.0340秒) [XML]
Why are joins bad when considering scalability?
...em through de-normalisation but if used correctly (joining on columns with appropriate indexes an so on) they are not inherently slow.
De-normalisation is one of many optimisation techniques you can consider if your well designed database schema exhibits performance problems.
...
Why use JUnit for testing?
...put" (LMFAO). (See note below)
Any time you change code, you must run the app and LMFAO for all code affected by those changes. Even in small projects, this is problematic and error-prone.
Now scale up to 50k, 250k, 1m LOC or more, and LMFAO any time you make a code change. Not only is it unpleasa...
How to use Elasticsearch with MongoDB?
...node Elasticsearch "cluster" to index MongoDB for use in a NodeJS, Express app on a fresh EC2 Ubuntu 14.04 instance.
Make sure everything is up to date.
sudo apt-get update
Install NodeJS.
sudo apt-get install nodejs
sudo apt-get install npm
Install MongoDB - These steps are straight from Mon...
Generating an Excel file in ASP.NET [closed]
I am about to add a section to an ASP.NET app (VB.NET codebehind) that will allow a user to get data returned to them as an Excel file, which I will generate based on database data. While there are several ways of doing this, each has its own drawbacks. How would you return the data? I'm lookin...
EJB's - when to use Remote and/or local interfaces?
...aces come in? Are you supposed to use Remote interfaces if you expect your application to have different components on different servers? And use Local interfaces if your application is only going to reside on one server?
...
How do you configure logging in Hibernate 4 to use SLF4J
...for logging. Hibernate 4.x uses jboss-logging . I am writing a standalone application which uses Hibernate 4, and SLF4J for logging.
...
What are the key differences between Apache Thrift, Google Protocol Buffers, MessagePack, ASN.1 and
... especially tutorial levels -- and to my (admittedly brief) glance doesn't appear to add anything that other, previous efforts don't already do (and in some cases better). To be fair to it, it has a rather impressive number of languages it supports out of the box including a few of the higher-profi...
Should services always return DTOs, or can they also return domain models?
I'm (re)designing large-scale application, we use multi-layer architecture based on DDD.
9 Answers
...
How to configure MongoDB Java driver MongoOptions for production use?
...ctions a single Mongo instance (it's singleton so you usually have one per application) can establish to a mongod/mongos process. At time of writing the java driver will establish this amount of connections eventually even if the actual query throughput is low (in order words you will see the "conn"...
How to securely save username/password (local)?
I'm making a Windows application, which you need to log into first.
The account details consist of username and password, and they need to be saved locally.
It's just a matter of security, so other people using the same computer can't see everyone's personal data.
What is the best/most secur...