Questions tagged [design-consideration]

12 questions
34
votes
4 answers

zmq vs redis for pub-sub pattern

redis supports pub-sub zmq also supports pub-sub via a message broker What would be the architectural pros\cons for choosing between them? I'm aiming at points which are beyond the obvious use-case specific performance benchmarking that should be…
Jonathan Livni
  • 101,334
  • 104
  • 266
  • 359
4
votes
2 answers

What is rationale behind _PTR_?

I am working with a source base with a unclear for me rule on pointer types definition: using _PTR_ macro instead of *. So, all the function prototypes and typedefs look like: extern FILE_PTR _io_fopen(const char _PTR_, const char _PTR_); I…
pmod
  • 10,450
  • 1
  • 37
  • 50
4
votes
6 answers

Wordpress limits - system design consideration

I am designing a system for a customer. We are thinking about using Wordpress as a main platform (instead of writing our custom software), and customize it using addons or hiring developers to write some custom modules. We need to have an ability to…
smok1
  • 2,940
  • 26
  • 35
3
votes
2 answers

What URI should I expect HTTP DELETEs at?

This is more of a conceptual integrity question for something that's been bothering me. HTTP's DELETE method is supposed to be idempotent, and REST's URIs are supposed to actually represent things. But it seems to be only defined in the reverse…
quodlibetor
  • 8,185
  • 4
  • 35
  • 48
3
votes
1 answer

Can NoSql be used for reporting in this situation?

The Situation I am considering building a NoSQL-based application as an alternative to an existing Excel based financial risk management reporting tool. In short, my question revolves around the suitability of using NoSQL considering the…
Ahmad
  • 22,657
  • 9
  • 52
  • 84
3
votes
2 answers

Programming considerations for virtualized applications

There are lots of questions on SO asking about the pros and cons of virtualization for both development and testing. My question is subtly different - in a world in which virtualization is commonplace, what are the things a programmer should…
Jazza
  • 1,042
  • 1
  • 9
  • 22
3
votes
3 answers

When is custom enumerable/collection useful?

I am dropping this line after having visited different websites to try understand real time example of using custom enumeration. I got examples. But they lead me to confusion. Example Take 1 class NumberArray { public int[] scores; public…
user193276
  • 3,931
  • 3
  • 19
  • 14
2
votes
1 answer

How big is too big (for NTFS)

I have a program and as it's done now, it has a data directory with something like 10-30K files in it and it's starting to cause problems. Should I expect that to cause problems and my only solution to tweak my file structure or does that indicate…
BCS
  • 75,627
  • 68
  • 187
  • 294
1
vote
1 answer

Is there a reason why not to store encrypted data as binary in a database?

I have to store AES-GCM encrypted data in a database. Currently we use MariaDB but with the option to later change to PostgreSQL. (however other databases should be considered as well) Since the algorithm does not actually encrypt strings, but bytes…
Holly
  • 1,305
  • 2
  • 15
  • 30
0
votes
0 answers

Facet search guideline for using unique attribute as facet attribute

What does the facet search design guide line say about using an unique attribute of the indexed item as configured one of the facet attribute? I am looking for some documented proof. In my opinion, this does not make sense. Facet on unique attribute…
0
votes
1 answer

Webserver for a desktop application – design consideration

We are moving our Delphi application to a new environment – it will be .NET. Some parts of an app will be moved to distributed processing, some will be moved to web servers. Therefore, this is an architecture shift from monolith desktop application…
smok1
  • 2,940
  • 26
  • 35
-1
votes
7 answers

In Java, why are class members accessible to members of the same package by default?

I understand that unlike in C++, if I don't specify "public" or "private" when declaring a data member, it can be accessed from anywhere in the same package. The designers of the Java language could have chosen the opposite, but instead they…
an00b
  • 11,338
  • 13
  • 64
  • 101