Click here to Skip to main content
15,888,351 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: JSON size Pin
Gerry Schmitz2-Dec-17 10:42
mveGerry Schmitz2-Dec-17 10:42 
GeneralRe: JSON size Pin
Eytukan30-Nov-17 20:30
Eytukan30-Nov-17 20:30 
GeneralRe: JSON size Pin
Gerry Schmitz30-Nov-17 22:12
mveGerry Schmitz30-Nov-17 22:12 
GeneralRe: JSON size Pin
jschell1-Dec-17 7:52
jschell1-Dec-17 7:52 
GeneralRe: JSON size Pin
Gerry Schmitz1-Dec-17 8:22
mveGerry Schmitz1-Dec-17 8:22 
GeneralRe: JSON size Pin
jschell5-Dec-17 10:30
jschell5-Dec-17 10:30 
GeneralRe: JSON size Pin
Gerry Schmitz5-Dec-17 11:11
mveGerry Schmitz5-Dec-17 11:11 
AnswerRe: JSON size Pin
Eddy Vluggen1-Dec-17 0:50
professionalEddy Vluggen1-Dec-17 0:50 
"Adding" is cheaper than updating (or inserting) variable-sized chunks. You can "add" two files to become a single file with the DOS copy-command; it would open the first file at EOF, and then start writing the other file.

Vunic wrote:
For calcs, Load the whole data in memory, run the aggregate function to parse through the document and produce the metrics.
That's an option, and a reasonable one. I would be running queries on my aggregated DB, mayhaps even using a fancy reporting engine.

Vunic wrote:
The document gets updated for the count, when old users make another post.
In the worst case, the first entry needs to be updated (due to an extra character). Means that the rest of the file will be rewritten. If it is 5Mb then this should be quick enough (unless writing on floppies).

Vunic wrote:
(Single Document sounds like a Big-Fat approach. I think I'd rather keep them as monthly chunks and make it handy to handle the documents.)
A single document makes life easier for those who need to work with them. Would you prefer big-fat Word documents, or would you prefer Websites as saved by IE? A file, with an accompanying folder and all the files that are linked.
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]

AnswerRe: JSON size Pin
Nathan Minier1-Dec-17 1:38
professionalNathan Minier1-Dec-17 1:38 
AnswerRe: JSON size Pin
jschell1-Dec-17 7:56
jschell1-Dec-17 7:56 
QuestionDelima - User Enum or Allow User To Define Pin
Kevin Marois28-Nov-17 6:51
professionalKevin Marois28-Nov-17 6:51 
AnswerRe: Dilemma - User Enum or Allow User To Define Pin
Richard Deeming28-Nov-17 7:22
mveRichard Deeming28-Nov-17 7:22 
AnswerRe: Delima - User Enum or Allow User To Define Pin
Mycroft Holmes28-Nov-17 12:12
professionalMycroft Holmes28-Nov-17 12:12 
GeneralRe: Delima - User Enum or Allow User To Define Pin
Kevin Marois28-Nov-17 12:13
professionalKevin Marois28-Nov-17 12:13 
QuestionGeneral "design patterns" usage questions Pin
MikeTheFid13-Nov-17 12:39
MikeTheFid13-Nov-17 12:39 
AnswerRe: General "design patterns" usage questions Pin
Pete O'Hanlon13-Nov-17 19:55
mvePete O'Hanlon13-Nov-17 19:55 
AnswerRe: General "design patterns" usage questions Pin
Eddy Vluggen13-Nov-17 23:03
professionalEddy Vluggen13-Nov-17 23:03 
AnswerRe: General "design patterns" usage questions Pin
Gerry Schmitz14-Nov-17 4:14
mveGerry Schmitz14-Nov-17 4:14 
GeneralRe: General "design patterns" usage questions Pin
Eddy Vluggen14-Nov-17 5:12
professionalEddy Vluggen14-Nov-17 5:12 
GeneralRe: General "design patterns" usage questions Pin
Gerry Schmitz15-Nov-17 5:54
mveGerry Schmitz15-Nov-17 5:54 
GeneralRe: General "design patterns" usage questions Pin
Eddy Vluggen15-Nov-17 7:26
professionalEddy Vluggen15-Nov-17 7:26 
GeneralRe: General "design patterns" usage questions Pin
jschell15-Nov-17 7:43
jschell15-Nov-17 7:43 
GeneralRe: General "design patterns" usage questions Pin
Eddy Vluggen15-Nov-17 8:57
professionalEddy Vluggen15-Nov-17 8:57 
GeneralRe: General "design patterns" usage questions Pin
jschell16-Nov-17 11:18
jschell16-Nov-17 11:18 
GeneralRe: General "design patterns" usage questions Pin
Eddy Vluggen17-Nov-17 0:14
professionalEddy Vluggen17-Nov-17 0:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.