Hi Ulrik

> Are there any performance advantages? I am particularly thinking about
memory usage: are the tid-files in the node.js read as needed or are they
all read in at start up, making it not much different from the single HTML
file variant?

Under Node.js all tiddlers are loaded into memory at startup, so there is
little difference in terms of performance.

But of course you can run TW under Node.js to generate a static,
JavaScript-less version of a wiki; in practice that can often give much
better performance in the browser.

> I am interested, because it seems I will be generating a large file - for
now it is just 3mb, but when I add some long tables, it may become close to
10mb. And I will keep adding. I have seen posts that tiddlywiki starts to
slow down dramatically at some point (20mb if my memory serves me well). Is
there any way to avoid that?

We've had reports of people being able to run TW5 documents of 50-100mb.
There are some functions of TW5 that get slower with more tiddlers (mainly
the sidebar lists), but it's straightforward to adapt the UI to avoid them.

Best wishes

Jeremy





On Mon, Jun 23, 2014 at 9:29 PM, Ulrik Stervbo <ulrik.ster...@gmail.com>
wrote:

> Hello list,
>
> What are the advantages of running the tiddlywiki as a node.js app rather
> than a single file? Other than the wiki is being run as a server and can be
> accessed from outside.
>
> Are there any performance advantages? I am particularly thinking about
> memory usage: are the tid-files in the node.js read as needed or are they
> all read in at start up, making it not much different from the single HTML
> file variant?
>
> I am interested, because it seems I will be generating a large file - for
> now it is just 3mb, but when I add some long tables, it may become close to
> 10mb. And I will keep adding. I have seen posts that tiddlywiki starts to
> slow down dramatically at some point (20mb if my memory serves me well). Is
> there any way to avoid that?
>
> Thanks for any comments.
>
> Cheers,
> Ulrik
>
> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to tiddlywiki+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> Visit this group at http://groups.google.com/group/tiddlywiki.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Jeremy Ruston
mailto:jeremy.rus...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to