[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] Using XML (or JSON) for inter-thread communication
- From: Tei <oscar.vives@gmail.com>
- To: xml-dev@lists.xml.org
- Date: Mon, 19 Mar 2012 15:21:30 +0100
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]