Escaping the Tyranny of the GC: std.rcstring, first blood
Ola Fosheim Grostad via Digitalmars-d
digitalmars-d at puremagic.com
Sun Sep 21 14:42:02 PDT 2014
On Sunday, 21 September 2014 at 19:28:13 UTC, Kagamin wrote:
> Only isolated cluster can safely migrate between threads. D has
> no means to check isolation, you should check it manually, and
> in addition check if the logic doesn't depend on tls.
This can easily be borked if built in RC does not provide
threadsafety.
If you want low latency, high throughput and low memory overhead,
then you gotta use available threads. Otherwise the load
balancing will be wonky.
Most requests in a web service will wait for network traffic from
memcaches. So a requeston a fober will have to be rescheduled at
least once on average.
More information about the Digitalmars-d
mailing list