OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Using XML (or JSON) for inter-thread communication

On 19 March 2012 14:34, Pete Cordell <petexmldev@codalogic.com> wrote:
> One of the problems is sharing state across threads and getting race
> conditions etc.
> However, systems like web services are effectively multi-process /
> multi-threaded and seem to scale well.  Quite often web services (and
> systems like them) use XML or JSON to communicate between the various
> systems.
> Does anybody have any thoughts on this?

Since a few years already, the web apps designed to scale to million
of users seems to use stuff like "memcache" to share data.

The format of the data shared is normally the native of the language,
probably often serialization of objects.  The data don't have to live
longer than the execution of the program, so is ok ( Is not like a
lazy java programmer saving a serialized object to a database).

ℱin del ℳensaje.

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS